Download Shutdown command line tool
Shutdown is a free utility that will let you shutdown, logoff, turn off or restart your computer immediately with a single click or a keyboard shortcut. It is easy to use and does not require installation. By default (with no command line options), Shutdown will simply shutdown Windows. With the command line options, you can manipulate it further. There is no user interface for this program, just command line options you can pass to an executable file.
For example, shutdown.exe 4 would restart the computer. shutdown.exe 4 FORCE would restart the computer forcefully.
If you prefer an easier shutdown – Restart – Log Off utility, working also on Windows 8, check Windows Rule.