nfora Posted October 3, 2004 Share Posted October 3, 2004 I've got my unattended install progressing nicely, but in order for things to clean up properly, I need the computer to restart immediately once it finishes its first boot. Since nlite added nlite.cmd to the first boot, it seemed like the ideal place to try to restart the machine with Shutdown.exe -r -t 10 Unfortunately, the nlite.cmd file runs, and the shutdown never occurs, leaving me at the desktop at the end of the install. The only possibility I can come up with would be missing RPC services, but would there be a functional alternative without them? Link to comment Share on other sites More sharing options...
kenedy Posted October 4, 2004 Share Posted October 4, 2004 Try this http://www.freewebtown.com/kenedy/Misc/RESTART.exeSyntax:"restart.exe seconds"Example:"restart.exe 60" will restart computer after 60 seconds Link to comment Share on other sites More sharing options...
nfora Posted October 4, 2004 Author Share Posted October 4, 2004 I'll give it a try when I get home this evening, thanks! Link to comment Share on other sites More sharing options...
tguy Posted October 12, 2004 Share Posted October 12, 2004 Make sure shutdown.exe is in a directory known to be in the Path variable, like C:\WINDOWS or C:\WINDOWS\SYSTEM32tguy Link to comment Share on other sites More sharing options...
RyanVM Posted October 12, 2004 Share Posted October 12, 2004 Are you using my pack? If so, it's probably because you're sending the wrong parameters to it.http://www.sysinternals.com/ntw2k/freeware/psshutdown.shtml Link to comment Share on other sites More sharing options...
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