setupcomplete.cmd

Discussion in 'Windows 10' started by YOUNEEDTOLOGINTOVIEWTHIS, Jun 17, 2018.

  1. YOUNEEDTOLOGINTOVIEWTHIS

    YOUNEEDTOLOGINTOVIEWTHIS MDL Junior Member

    Joined:
    Feb 18, 2018
    Messages:
    89
    Likes Received:
    5
    Trophy Points:
    0
    I'm trying to include registry changes in my iso after it goes through ntlite. The built-in registry feature isn't working.

    AFAIK I can just put "reg add ..." in the setupcomplete.cmd file and it will be executed during the first logon, so I'm going to try putting my registry changes there.

    But where is setupcomplete.cmd? I didn't find it in the iso.
     
  2. ZerOx16x

    ZerOx16x MDL Member

    Joined:
    Oct 28, 2013
    Messages:
    161
    Likes Received:
    243
    Trophy Points:
    10
    https://forums.mydigitallife.net/th...etupcomplete-firstlogon-silent-install.73131/
     
  3. YOUNEEDTOLOGINTOVIEWTHIS

    YOUNEEDTOLOGINTOVIEWTHIS MDL Junior Member

    Joined:
    Feb 18, 2018
    Messages:
    89
    Likes Received:
    5
    Trophy Points:
    0
  4. s1ave77

    s1ave77 Has left at his own request

    Joined:
    Aug 15, 2012
    Messages:
    16,130
    Likes Received:
    24,279
    Trophy Points:
    340
    You'll have to create the folder(s) and the CMD file yourself. It's only present in original OEM ISOs (with all the bloat).

    It's a normal batch file that runs with highest privileges during the setup process.
     
  5. YOUNEEDTOLOGINTOVIEWTHIS

    YOUNEEDTOLOGINTOVIEWTHIS MDL Junior Member

    Joined:
    Feb 18, 2018
    Messages:
    89
    Likes Received:
    5
    Trophy Points:
    0
    Oh ok!

    So I open the iso file, go to sources, make the "$OEM$" directory, go in there, make the "$$" directory, go in there, make the "Setup" directory, go inside, make the "Scripts" directory, go in there, make a plain textfile with my commands, and save that file as setupcomplete.cmd, right?
     
  6. s1ave77

    s1ave77 Has left at his own request

    Joined:
    Aug 15, 2012
    Messages:
    16,130
    Likes Received:
    24,279
    Trophy Points:
    340
    Positive. Make sure to disable the 'hide extensions for known file types' option in Folder Options to avoid generating setupcomplete.cmd.txt :cool2:.