Theimon Posted October 28, 2004 Posted October 28, 2004 So I finally got my Unattended Install going (I think), I bump into this minor but necessary little thing.When the runonceex.cmd is done installing all wanted programs, I want it to restart the computer. Otherwise some programs won't function (properly or at all). I've been searching the forum but I can't find an answer. What's the entry in runonceex to get it to reboot?TIA.
titou2k Posted October 28, 2004 Posted October 28, 2004 shutdown.exe -r -f -t xxxx = time in second before reboot-r = reboot-f = force application to close without warning
Dynaletik Posted October 28, 2004 Posted October 28, 2004 Just put the following commandline into your RunOnceEx.cmdREG ADD %KEY%\085 /VE /D "Restart" /fREG ADD %KEY%\085 /V 1 /D "%systemdrive%\apps\cleanup.cmd" /fIn the cmd file that is started with this just put the following linescmdow @ /HIDshutdown.exe -r -f -t 30 -c "Windows XP will restart in 30 seconds..."EXITI would use this method if i wouldn't use WPI 2.9.3.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now