Script a restart at the end of oobeSystem pass? How To know when Setup finished?


New Member
Is it possible to have the system automatically restart after the oobeSystem pass is completed?

Alternatively, is there a way for a service to tell when oobeSystem pass has completed? Is there a file or a registry entry that can be monitored that will change in some way when the system setup is finished?

I have a set of scripts that need to run once windows unattended setup is finished. At the moment, they tend to interfere with oobeSystem pass, as they run after sysprep /generalize has restarted the system, and the scripts are not aware that setup is still in progress with specialize and oobeSystem stages...


Last edited:
This website is not affiliated, owned, or endorsed by Microsoft Corporation. It is a member of the Microsoft Partner Program.