RDP - how can I reboot remote machine Solved

  1.    16 Feb 2017 #1

    RDP - how can I reboot remote machine

    Hi there

    It's been AGES since I've done this - but is there any way of rebooting a remote Windows machine from RDP.

    The problem probably needs Windows login as it boots so how to connect ??

    I'm sure it's possible without having things like Network boot in a Nic.

    (I've seen people run Windows servers essentially headless so it must be possible).

    Easy enough in Linux - there's all sorts of daemons / processes that can start at boot so ssh and all sorts of other things possible but I'm a total stranger to most of Windows networking apart from basic home LANS.

      My ComputerSystem Spec

  2. Kari's Avatar
    Posts : 15,166
    Windows 10 Pro
       16 Feb 2017 #2

    I restart my Windows remote hosts in this simple way:

    Click image for larger version. 

Name:	image.png 
Views:	49 
Size:	53.1 KB 
ID:	121357

    Command: shutdown /r /t 0 -- OR -- shutdown -r -t 0

    You can then reconnect to remote host as soon as it has booted to Welcome / sign-in screen (network will be reconnected latest at this point).

      My ComputerSystem Spec

  3.    16 Feb 2017 #3

    Hi there

    Thanks !!!

    It's so easy to forget this type of stuff if you don't do it regularly

    Works fine -- I was thinking that I wouldn't get Logon screen and network connection - but it's working now.

      My ComputerSystem Spec

  4. Kari's Avatar
    Posts : 15,166
    Windows 10 Pro
       16 Feb 2017 #4

    You are welcome Jimbo :)
      My ComputerSystem Spec

  5. Barman58's Avatar
    Posts : 2,806
    Windows 10 Pro x64 1809 - 17763.134 XP/Vista/Win7/Win8.1 in VM for testing
       16 Feb 2017 #5

    I have moved from RDP to using Teamviewer for working with headless systems, just for the convenience, I have a group of systems at home and can switch to any or all at will. you just need to use the setup options for unattended access and make sure that Teamviewer is set to run at boot
      My ComputerSystem Spec

  6. Kari's Avatar
    Posts : 15,166
    Windows 10 Pro
       16 Feb 2017 #6

    Barman58 said: View Post
    I have moved from RDP to using Teamviewer for working with headless systems, just for the convenience
    I openly admit being a Microsoft and especially Windows 10 fan boy. I have no shame, no issues in admitting that, no reason to deny facts

    What it means to me in practical terms is that I never use third party solutions when native Windows apps, tools or features can do the same, even if using native Windows tools would require me to use a few more mouse clicks or an extra command or two. The only advantage I can think of in using TeamViewer is that when disconnecting a remote session it leaves local user signed in whereas RDP by default leaves remote host locked, showing the Welcome / sign-in screen. There might of course be other features in TeamViewer I do not know but as far as I know and what my needs are, I can do anything I need to / want to with RDP.

    Even that single advantage I can think of (as told above) is easy to fix in RDP. Here's a post of mine from another thread a year ago to show the fix:

    Kari said: View Post
    Hi Tom, welcome to the Ten Forums.

    The easiest solution to do would be to use the tscon command on the remote host, your HTPC, as told at the end of Part Three in the Ten Forums tutorial RDC - Connect Remotely to your Windows 10 PC - Windows 10 Forums

    Tip   Tip
    To unlock the remote host automatically when you finish the remote session, give this command in an elevated command prompt on the remote host:

    tscon 1 /dest:console

    This will end the remote session and unlock the remote host, restoring the current local user's desktop.

    Instead of disconnecting the remote connection as usual, run the tscon command on remote host. If you want to make it simpler you can create a shortcut for the tscon command on remote host desktop.

      My ComputerSystem Spec

  7.    17 Feb 2017 #7

    jimbo45 said: View Post
    It's been AGES since I've done this - but is there any way of rebooting a remote Windows machine from RDP.
    You simply RDP into the remote machine and issue a Reboot command the same way you'd do it on a physical machine. Nothing special about it.

    Older versions of Windows used to prevent direct access to Reboot and Shutdown commands from the GUI when logged in through RDP (so we had to work around it by manually issuing a command-line 'shutdown' command). However, this restriction is gone from Windows 10 - just open the menu, click the power icon and you will see the Reboot command right there. I don't know what is the reason behind this change (and I'd say that the former approach - no Reboot and Shutdown in GUI - made more sense).

    Of course, if you are talking about a LAN machine and you have the required credentials you can reboot it without RDP: just use the '/m \\computer' option of 'shutdown' command.
      My ComputerSystem Spec


Related Threads
OK so a user named Lorenco was logged into my machine today when I went to login. This user account should not exist and was connected remotely I believe I captured all the event logs, what do I need to verify this was a hack or a legit login?...
Have a crashed Win10 machine. Tried to "reset" it with a downloaded iso, but this didn't work--maybe the iso was NG. Anyway, now it won't boot at all. This machine was upgraded from Win 8.1 and I have no paid install disk for it. However, I do...
Hey Everyone, Today, I rebooted my machine and did a clean install of Windows 10 Pro. I installed all my apps etc and then tried to access onedrive and it gave me a sign in screen. I put in my correct information and it won't let me sign in at...
Hi. I just viewed Kari Finn's clearly explained Remote Desktop Connection on Win10 and how to connect to remote computer, thank you for that. Good job! In my case though, I use Win XP Home edition. Do I have to have Win XP Pro edition to connect on...
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 13:44.
Find Us