Terms of Use For FixedByVonnie

By proceeding to access fixedByVonnie.com, you expressly acknowledge, and agree to, all of the following:

fixedByVonnie.com is a personal website and blog owned by Security Plus Pro LLC, which is being presented for informational purposes only. The views on this website are solely those of the website owner (and not those of any employer or of any professional associations affiliated with the website owner).  Any views expressed in this website and any information presented on this website, or in any of its blog entries, should not be relied on for any purpose whatsoever other than as the personal opinions of the website owner.  The website owner expressly disclaims any and all liability for any information presented on this site.  The owner of this website and its blog posts shall not be held liable, and shall be held harmless, for any errors or omissions in any information or representations contained in this website, or in any of its blog entries.  The website owner also expressly disclaims any liability for the current or future availability of any such information. The website owner makes no representations as to the accuracy or completeness of any information on this website or which may be found by following any link on this website. The website owner shall not be held liable for any losses, injuries, damages, claims, or causes of action, from the display or use of any information on this website or in any of its blog entries. If you use the information on this website, or on any of its blog entries, you do so solely at your own risk.

How to shutdown or restart Windows over a Remote Desktop connection - fixedByVonnie

How to shutdown or restart Windows over a Remote Desktop connection

I would love the world to think of me as an industrious, prolific IT director and blogger; however, I’ve finally avowed this one truth:

I’m lazy.

Yep.  Why hide it.  It’s true.

I like to take the easy way out, the path of least resistance, and I have a propensity to be dormant unless someone lights a flame under my butt.

My indolence is precisely what makes programs like Remote Desktop such a joy to use.  Why should I get up and walk over to a server when I can remotely connect to it from the comfort of my desk?  Remote Desktop lets me access almost any Windows computer on my network and gives me the feeling of sitting right there in front of the box.

A bunch of smart people at Microsoft concocted the Remote Desktop Protocol (RDP), and with the advent of Windows XP,  Microsoft began bundling the Remote Desktop Connection (RDC) with ever OS since.

The RDC client is great because it supports cool features like 24-bit color, audio, and file system redirection. So, for example, you can open a Youtube video on the remote computer and hear the audio on your local machine. Or you can access the files on your local machine from the remote machine.  All this magic is made possible through the RDP and what Microsoft calls the Terminal Services client (mstsc.exe).

Whenever you connect to a Microsoft Server, the Shutdown and Restart buttons are visible in the little arrow immediately to the right of the lock icon.

Logoff and Restart Buttons

But you might be wondering how to do the same thing when opening a remote connection on a Windows 7 box.

As you can see, there’s only a Lock and Disconnect option but no Shutdown or Restart function.

Windows 7 Pro missing shutdown buttons

To restart the remote computer, click the Start button and enter this command in the search box:

shutdown /r /t 0

The /r switch tells the machine to reboot and the /t option sets the number of seconds to execute the command. Since we set /t to zero, the restart should initiate immediately.

To shutdown the machine just enter:

shutdown /s

The other option is to just to click the Desktop and press Alt + F4 to bring up the shutdown menu.

Finally, if you execute the shutdown command but then suddenly realize you made a mistake type:

shutdown /a

This will attempt to abort the shutdown sequence.


Connect with Vonnie on Twitter

Posted in How To, Windows 7, Windows 8, Windows 8.1 Tagged with:
  • Eugene

    Ammyy Admin is also good
    It doesn’t require installation and registration. Easy and fast app.

    • GatoCat

      Why would you want an app when you can do this?

  • To avoid having to remember this and type it every time, create a shortcut on the remote computer’s desktop, and set the target to “shutdown.exe /r /t 0”.

    If that doesn’t work, try the full path of: “C:WindowsSystem32shutdown.exe /r /t 0”

  • Bishop Clark

    shutdown is a noun. You may have been looking for ‘to shut down’

  • Shoumen Biswas

    Thanks. It was helpful

  • Razi M

    Restart / shutdown windows machine ALT + F4 is the best option to restart / shutdown
    windows machine when connected from remote desktop session.

  • kidjedi

    alt+f4… perfect. Thanks so much!

  • Juliet Bell

    The above steps are too technical. Instead, I would recommend use of remote support apps like R-HUB remote support servers, logmein, teamviewer etc. for shutting down or restarting windows over remote desktop connection.

    • Julie Hancock Snapp

      Two steps are definitely way more technical than going through a sign-up/verification/payment process to do the same thing. That’s sarcasm, by the way.

      • Omendata

        lol she does bang on about R-Hub!
        Nice tits though!
        Thats also sarcasm by the way…just by the way!

  • Pingback: Terminalserver, Remote desktop reboot | couperus.nl()