O/S Deployment Thread, Putting a Second Reboot intruction into SysPrep in Technical; Afternoon All
Right, I have my SysPrep image set to do it's thing, then it's set to log on as ...
5th June 2013, 01:19 PM #1
Putting a Second Reboot intruction into SysPrep
Right, I have my SysPrep image set to do it's thing, then it's set to log on as the administrator once, clear up the various files, activate windows / office etc, then it runs a reboot. Now, 9/10 this catches all the other installs that didn't happen during the initial setup, however, to be sure, I'm wanting to add a second reboot in there (i.e. computer does a second Admin logon, then reboots).
I'm just wondering the best way of going about doing this as I use the first run commands for the first reboot.
5th June 2013, 03:13 PM #2
You could try adding this to your run once command in the answer file:
It'll add that value to RunOnce for the user you have set for automatic logon. As long as the same account is used for the second logon that event will fire and reboot the machine.
reg add HKCU\Software\Microsoft\Windows\CurrentVersion\RunOnce /v Reboot /t REG_SZ /d "shutdown -t 0 -r"
Thanks to Duke5A from:
soveryapt (5th June 2013)
5th June 2013, 03:19 PM #3
Thanks for that. I'll give it a whirl.
Originally Posted by Duke5A
By PICNIC in forum Jokes/Interweb Things
Last Post: 19th March 2012, 11:58 AM
By reggiep in forum Windows 7
Last Post: 2nd March 2012, 08:25 AM
By JJonas in forum Windows 7
Last Post: 22nd March 2010, 12:25 PM
Last Post: 10th March 2009, 07:44 PM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)