Shutdown Remote Windows

I have just too many Windows desktop laying around. I use the default Windows’ Remote Desktop Connectivity (RDC) client to connect to anyone of them. For the most part this works great, I even use the OS X version of RDC to connect to a Windows machine. One issue that I have had with RDC is that it allows me to log off from the machine but not shutdown the desktop.

To shutdown or restart a desktop which you are connected to via RDC you can use the shutdown command. From the command prompt, execute the following command.

shutdown -s -f

The -s option indicates that you want to shutdown. The -f option forces your request. You can also use an -r option to restart.

You can also hit Ctrl+Alt+End to pop up the Windows Security dialog box for the remote desktop. You can shutdown the remote RDC desktop from the Windows Security dialog. This is the same dialog that will open with you hit Ctrl+Alt+End.

Technorati Tags: , , , ,