Thursday, April 19, 2012

Windows command line hook to restart shutdown

To immediately shutdown the system (0 second timeout), the command-line would be:

shutdown.exe -s -t 00

To reboot the system immediately, this command:

shutdown.exe -r -t 00

No comments:

Post a Comment