Running the SetupComplete.cmd file between the audit and the OOBE mode

Discussion in 'Windows 7' started by balubeto, May 4, 2012.

  1. balubeto

    balubeto MDL Senior Member

    Dec 22, 2009
    465
    9
    10
    HI

    I want to know if during the switching between the audit and the OOBE mode with the sysprep /generalize /oobe /reboot command, the SetupComplete.cmd file is executed.

    If this file is executed, I would like to know how do I create it so that it contains the wmic /namespace:\\root\default path SystemRestore call Enable D:\ command and that, at the end of its execution, this file will be deleted automatically with its log file.

    THANKS

    BYE
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...