Unattended installation + /NoReboot

c7aesa7r

New Member
Messages
3
Reaction score
0
Is it possible to have an unattend installation and force the setup to not reboot after the installation finishes?

I tried addin a setupconfig.ini to the `setup.exe` folder with
INI:
[SetupConfig]
NoReboot=1
But it still reboots.

Also tried modifying the autoruninfo file:
INI:
[AutoRun.Amd64]
open=setup.exe /NoReboot /Unattend:D:\notautounattend.xml
icon=setup.exe,0

[AutoRun]
open=sources\SetupError.exe x64
icon=sources\SetupError.exe,0
But it doesnt start the unattended installation.

I'm trying to have the unattended installation being auto executed as usually but at that point stop it from rebooting.
 
I think if you stop it there it wont do the last clean so if its so you can install things you would be better off with a script adding at this stage
 
This question was cross-posted to Elevenforum.

In short the answer is no, because Setup's /NoReboot option only applies to in-place Windows upgrades (which is why there's an AutoRun file) and has no impact for a clean install. To stop installation after WinPE's pass is done, you would have to not use Setup.exe and write your own script which duplicates Setup's work.

The automatic restart is hard-coded into the program, and neither can you automate skipping the 10 second delay before it reboots.
 
Back
Top