Reboot or Shutdown from Remote Desktop Connection
If you have ever feel frustrated because you have been unable to reboot a machine from a remote location (using Microsoft’s own RDC), here’s a solution. While I recall having the option to send a Ctrl+Alt+Del to the remote machine that doesn’t seem to be available in most recent versions of the software, or at least not in the obvious places.
So, what you are left with right now is disconnect and log off options. To be able to reboot or shutdown the remote system you can call up the Command Prompt (cmd.exe) or just type the following in XP’s Run or in Vista’s search line that also serves the purpose of launching programs:
“shutdown -f” to shutdown
“shutdown -r -f” to reboot
“shutdown -i -f” to get a GUI
“shutdown -l -f” to logoff

I don’t recall where I recently read this, but you can try Ctrl+Shift+Esc to get the Task Manager on the remote machine. It worked for me! Another way is to use the remote “Run” box, from the Start menu, and type ‘taskmgr.exe’ (without quotes, of course). For some reason, I’ve found it works more reliably with the ‘.exe’ on the end, but, theoretically, it should work without it.
OzzieH
16 Feb 08 at 10:58 pm
Hi!
A friend of mine (nickname SurZer) made this Java app for me.
Downloadable here:
http://www.banankassen.com/rdcshutdown.jar
You need to have the Java Runtime Environment installed in order to make the app work on a XP machine. Search for “java runtime environment” on Google and you will find some links from where you can download JRE. After that, the previous mentioned app that my friend made ill work.
Njoy :)
StrAngel
3 May 08 at 7:15 pm
Here’s a simple method: Right-click the task bar and select Task Manager from the popup menu. On the main menu, click Shut Down / Restart or whatever you want.
Ian Crane
11 Mar 09 at 5:04 pm
Ian, nice trick, but not possible on some versions of Vista or 7.
TheWorld
19 May 09 at 4:16 pm
The easiest way is to create yourself a good old fashion DOS file called a batch file. Here is how you do it.
Steps
1)Open notepad
2)type in the desired command shown below
3)Use ’save as’ to save the file with a .bat extension. Example: Reboot.bat
(Some versions of notepad will require that you change the ’save as type’ to all files to save it with this extension.
4)Thats it!
Commands:
shutdown -f Shutdown
shutdown -r -f Reboot
shutdown -i -f GUI Change
shutdown -l -f Logout
Good Luck!
M
TheWorld
19 May 09 at 4:49 pm
Yes, I have since encountered remote desktops where I couldn’t use the task bar trick. I’ve resigned myself to memorizing the shutdown command. I was impressed when doing this on a remote desktop connection to a Vista Business machine because it implemented a one-minute delay, which gave me time to log out gracefully. That was a nice touch.
The batch file approach is nice if you only work with a few known machines. I’m all over the place, so the fastest method for me is to memorize the command prompt text. I admit that I resent having to give up space in my brain for that information. There’s only so much I can retain and the darn thing’s been full for years now.
“There is not enough avaialable free space for brain defragmenter to run effectively…”
Ian Crane
19 May 09 at 8:04 pm