FAQ for Shutdown v1.02   

What are the command line options for Shutdown?

SHUTDOWN.EXE {command option} {force}

Pass the option you wish to perform on the command line.

1 = Shuts down the system to a point at which it is safe to turn off the power. All file buffers have been flushed to disk, and all running processes have stopped.
2 = Shuts down all processes running and then it logs the user off.
3 = Shuts down the system and turns off the power. NOTE: the system must support the power-off feature.
4 = Shuts down the system and then restarts the system.

FORCE = Forces processes to terminate. Instead of bringing up the "application not responding" dialog box for the user, this value forces an application to terminate if it does not respond.


shutdown.exe 4
This would restart the computer.
shutdown.exe 4 FORCE
This would restart the computer forcefully.