mkmaddin
New member
- Local time
- 11:14 PM
- Posts
- 4
- OS
- W10, W11, Debian 12, MacOS 15, Ubuntu 22.04.5 LTS
Hey,
during my setupcomplete.cmd I am performing some windows updates etc. (stuff which requires a restart).
Microsoft clearly states not to include a reboot command within setupcomplete.cmd as the windows install process might be interrupted.
So what are my options to automatically trigger a restart as soon as windows install process is complete?
Current idea would be within setupcomplete.cmd to start a separated, not waited powesrshell which checks if windeploy process is still running and if not fires a shutdown /r /t 60
different ideas with benefits?
during my setupcomplete.cmd I am performing some windows updates etc. (stuff which requires a restart).
Microsoft clearly states not to include a reboot command within setupcomplete.cmd as the windows install process might be interrupted.
So what are my options to automatically trigger a restart as soon as windows install process is complete?
Current idea would be within setupcomplete.cmd to start a separated, not waited powesrshell which checks if windeploy process is still running and if not fires a shutdown /r /t 60
different ideas with benefits?
- Windows Build/Version
- 10.0.26100.X
My Computer
System One
-
- OS
- W10, W11, Debian 12, MacOS 15, Ubuntu 22.04.5 LTS