Ways to shutdown/restart your computer via Remote Desktop.
I don't how many times I've needed to reboot a machine while accessing it over Remote Desktop. I usually just open a command prompt and type shutdown -t 0 -r to reboot. However, Raymond provides four ways to do this.
When you are connected to a workstation via Remote Desktop, the "Turn Off Computer" option changes to "Disconnect". But what if you really want to turn off the computer, hibernate it, or put it on stand-by?
Note: These tips work on Windows XP, but there is no guarantee that they will work in future versions of Windows.
One way to do this is to run Task Manager and select your shutdown option from the "Shut Down" menu.
Another trick is to click on the desktop and type Alt+F4. This will call up the shutdown dialog, where you get the usual shutdown options like "Shut down", "Shut down without installing updates", "Restart", "Stand by", and "Hibernate".
These next two tricks are documented and will continue to work in future versions of Windows:
If you're a command line person, you can run
shutdown.exe
, but that program supports only shutdown and restart; it doesn't do stand-by or hibernate. But theshutdown.exe
program has a serious flaw: It requires you to have administrator privileges. If you are a limited user with shutdown privileges, theshutdown.exe
program will complain. (Which means that I don't use it.)Finally, if your computer isn't using Fast User Switching, you can type the Ctrl+Alt+End hotkey, which is the Remote Desktop version of Ctrl+Alt+Del and consequently takes you to a dialog where you can do various system-type things, among them logging off and shutting down.
I wonder about the shutdown.exe requiring admin privileges. I'm running as non-admin on my Vista machine and I know I've used the shutdown.exe to reboot the computer a number of times, then again maybe this has been fixed in Vista. Anyway I'm going to keep all these ideas in mind the next time I need to reboot a computer over Remote Desktop. Thanks Raymond.