Windows – How do you shutdown or restart a Windows computer over a Remote Desktop connection

rebootremote desktopremote-shutdownwindows

When I connect to my Windows 7 desktop computer via Remote Desktop (MSTSC.exe), the options under the Start Menu are "Log Off" (the default), "Lock", and "Disconnect". How do I restart (or shutdown)?

Best Answer

Open a command window (or Windows Key + R) and type the following...

...to restart:

shutdown /r /t 0 

...to shutdown:

shutdown /s /t 0