Jump to content

Recommended Posts

Posted

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?


  • 2 weeks later...
Posted

Make sure shutdown.exe is in a directory known to be in the Path variable, like C:\WINDOWS or C:\WINDOWS\SYSTEM32

tguy

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...