Shutdown within RDP

Posted On 2010-04-06 by FortyPoundHead
Keywords: remote desktop shutdown reboot RDP terminal services
Tags: Tip Windows Server 2003 Windows 2000 Windows
Views: 2092

Ever wonder how to reboot a machine from within an RDP session? Can't find the shortcut off the Start menu? Use the CLI version of Shutdown.exe to get your machine rebooted.

If you use RDP to administer remote servers, you have probably noticed that on Windows Server 2003 and prior, there is no shutdown shortcut on the start menu. Sure, there is Log Off and disconnect, but no shutdown or restart.

This is so you don't accidently kick off any other user that might be attached to the server. Basically, Windows is saving the world from your mad reboots.

There is a way, however. Simply bring up a run dialog, or a command prompt, and type one of the following commands, depending on what you want to do.

Shutdown:shutdown -f

Reboot:shutdown -r -f

Show the shutdown GUI:shutdown -i -f

Logoff:shutdown -l -f

About the Author

FortyPoundHead has posted a total of 1974 articles.

Comments On This Post

No comments on this post yet!

Do you have a thought relating to this post? You can post your comment here. If you have an unrelated question, you can use the Q&A section to ask it.

Or you can drop a note to the administrators if you're not sure where you should post.

Your IP address is:

Before you can post, you need to prove you are human. If you log in, this test goes away.

Recent Forum Posts

Advanced search added
dwirch posted on September 23, 2017 at about 13:44 in Site News

Job Spammer: Gaurav Mehta - AgreeYa Solutions
dwirch posted on September 22, 2017 at about 10:35 in Spammers

Job Spammer: Prutha Siri - Javelin Systems
dwirch posted on September 10, 2017 at about 6:15 in Spammers

New security implemented
dwirch posted on September 7, 2017 at about 7:16 in Site News

Malicious IP Checker Companion Tool
dwirch posted on August 12, 2017 at about 20:24 in Site News

Job Spammer: Steve Adams
dwirch posted on August 8, 2017 at about 7:44 in Spammers