How to shutdown or restart Windows over Remote Desktop Connection

Open a Command Prompt:

shutdown -s -t 0 ::: Shutdown

shutdown -t 0 -r -f ::: Restart

That’s a “zero” after the -t option, indicating shutdown in zero seconds. 
The -r option indicates a restart, rather than shutdown.  (Don’t forget this one)! 
The -f option forces all applications to terminate.

Share

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *