Normal ShutdownTo perform a normal Shutdown, open Run (Start >> Run) and type in Shutdown –s . Your PC will shutdown just as it would when you click Shutdown from the Start menu
Force ShutdownTo perform a Force Shutdown, type in Shutdown –s –f. Notice a new parameter –f? This parameter is responsible for Fore Shutdown.
Force Shutdown with TimeTo perform a Timed Force Shutdown, type in Shutdown –s –f –t 00. This will Force Shutdown your PC in 00 seconds (waiting time). Setting it to 05 will shutdown your PC after 05 seconds i.e after waiting for 5 seconds.
To restart, simply replace –s with –r. If you are unsure, proceed reading.
Normal RestartTo perform a normal Restart, open Run (Start >> Run) and type in Shutdown –r . Your PC will reboot just as it would when you click Restart from the Start menu
Force RestartTo perform a Force Restart, type in Shutdown –r –f.
Force Restart with TimeTo perform a Timed Force Restart, type in Shutdown –r –f –t 00.
shutdown /r /fw /f /t 0
shutdown.exe /r /o