Sunday, April 12, 2015

Shutdown

Really? A blog on the shutdown command? Why's that then?

Because you can't remotely shutdown a Windows 8 PC over an RDP connection using the interface - you have to use shutdown. I know I know - leave it.



Force apps closed and Restart in 10 seconds ( use 0 for immediate) :
Remember this as Force a Restart in 10 seconds
shutdown /f /r /t 10 


Force apps closed and Shutdown in 10 seconds:
Remember this as Force a Shutdown in 10 seconds
shutdown /f /s /t 10


Get a nice remote shutdown GUI on the local machine for sending shutdown commands out to other machines:
shutdown /i

The shutdown command for a remote machine
shutdown /m \\machinename /f /s /t 10