Windows 8 and 8.1 Forums


How can I send sleep/restart commands remotely?

  1. #1

    How can I send sleep/restart commands remotely?


    Hi guys, I have a small Home network setup and I want a simple way of sending a command from my pc upstairs to a media pc downstairs which can shutdown/sleep/restart it remotely.

    FYI, both pc's have windows 8 pro 64bit and the media pc is is mostly in sleep-mode.

    Can you recommend any app or command methods?

      My System SpecsSystem Spec

  2. #2


    Posts : 2,627
    win8.1.1 enterprise


    hello, let first I have never had the need to do what you want to do ,so I have never used the program in the link I;m providing ,but it looks like it will do what you want to do .how to use it is fully explained on the site .good luck .
    WakeMeOnLan - Turn on computers on your network with Wake-on-LAN packet
      My System SpecsSystem Spec

  3. #3


    Thanks caperjack. Unfortunately I've already seen that app and I believe it only does WOL and not any of the other commands such as sleep or restart
      My System SpecsSystem Spec

  4. #4


    San Jose - California
    Posts : 2,847
    8.1x64PWMC Ubuntu14.04x64 MintMate17x64


    From the PC downstairs:
    1. Open registry: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System
      Add a DWORD: LocalAccountTokenFilterPolicy and set the value to 1
    2. Win+R->secpol.msc:
      Security Settings->Local Policies->User Rights Assignment-> Force shutdown from a remote system and Add Everyone to the list
    3. Open Device Manager and right click on the Network Adapter->Properties->Power Management and put a check mark on: Allow this device to wake up the computer.
    4. In the BIOS, enable Wake On Lan


    From the PC upstairs: Open Admin command prompt

    1. shutdown.exe /s /m \\COMPUTERNAME /t 00 =====>where COMPUTERNAME is the name of the PC downstairs or the IP can also be used. For example: shutdown /s /m \\192.168.1.2 /t 00
    2. To boot up the PC. Download the program from the link above given by Caperjack
      Type: WakeMeOnLan /wakeup COMPUTERNAME


    NOTE: you can create batch files and include these command and run them as needed.

    Use: shutdown /? to get other options

    Hope this helps !!!
    Last edited by topgundcp; 05 Nov 2014 at 13:16.
      My System SpecsSystem Spec

  5. #5


    Posts : 2,627
    win8.1.1 enterprise


    Quote Originally Posted by noobpc View Post
    Thanks caperjack. Unfortunately I've already seen that app and I believe it only does WOL and not any of the other commands such as sleep or restart
    maybe you could use TeamViewer along with the WOL app .to sleep and restart the downstairs computer .
    TeamViewer - Free Remote Control, Remote Access & Online Meetings
      My System SpecsSystem Spec

  6. #6


    Topgundcp - I'll give it a try and let you know. By the way, you've given me a command to shutdown, but what would the commands be for SLEEP and RESTART?

    Caperjack - I already run tightvnc which does better than teamviewer, but all I want to do is to double-click on an icon and something like a batch file runs to the pc downstairs to sleep.
      My System SpecsSystem Spec

  7. #7


    San Jose - California
    Posts : 2,847
    8.1x64PWMC Ubuntu14.04x64 MintMate17x64


    On the bottom of the previous post, Use: shutdown /? for other options. BTW, /r will restart.

    In addition, you can also download: PsShutdown from MS SysInternals that has more options.
    Last edited by topgundcp; 02 Nov 2014 at 09:53.
      My System SpecsSystem Spec

  8. #8


    Cheers buddy. Will let you know how I get on.

    Thanks again
      My System SpecsSystem Spec

  9. #9


    Posts : 2,627
    win8.1.1 enterprise


    Quote Originally Posted by noobpc View Post
    Topgundcp - I'll give it a try and let you know. By the way, you've given me a command to shutdown, but what would the commands be for SLEEP and RESTART?

    Caperjack - I already run tightvnc which does better than teamviewer, but all I want to do is to double-click on an icon and something like a batch file runs to the pc downstairs to sleep.
    Ok,got you now ,
      My System SpecsSystem Spec

  10. #10


    Hi again. Thank you very much for the helpful post topgundcp. I have successfully managed to shutdown the computer. I also removed the EVERYONE group for security issues as it's not needed because I only want an Administrator to have the rights to send any shutdown commands.

    However, I have a quick question:-
    1. I don't want to just shut it down, but actually put it to sleep. I can't find this option when I type shutdown /? as it seems it only allows either shutdown or restart....Is it possible to do this?

    EDIT: Ignore the above question as I have managed to resolve the above issue by using the psshutdown command:- psshutdown \\computer-name -d -m "COMPUTER GOING TO SLEEP IN 30 SECONDS". But the message is not being displayed in windows 8...Anyway of fixing this?
    Last edited by noobpc; 05 Nov 2014 at 04:50.
      My System SpecsSystem Spec

Page 1 of 2 12 LastLast
How can I send sleep/restart commands remotely?
Related Threads
OK, so I know it sounds simple, but this is the fun part... I'm the administrator of my home network, with 2 desktops on LAN, along with 2 wi-fi desktops and a laptop. ipconfig /all shows the laptop and one of the LAN desktops, but not the other residing on the network. The missing desktop...
Hello guys, I bought a new Dell XPS 15 l521x and replaced the HDD with an SSD. When I did the upgrade and installed windows 8 everything was fine, but since the laptop has a 32gb mSATA card I decided to try installing windows on it to utilize the space. After changing the SATA settings in the BIOS...
Hi there, I was running Windows 7 home premium on my pc on a 2TB hdd, and it was running fine, I had a 500GB as a separate hdd aswell, attached at the time. So I installed windows 8 on the 500GB hdd, activated it, tried to restart, I restarts, but now in both windows 8 and 7, I am having...
Sleep Mode Causes Restart in BSOD Crashes and Debugging
I'm having the problem with my PC restarting after trying to come out of sleep mode. I've followed the dump instructions and have attached my zip file. I think it's a driver issue but no idea which one. Thanks for you help.
Can't restart, shutdown, or sleep in BSOD Crashes and Debugging
Hi there I have a Samsung ATIV Smart PC and have been running into some trouble. Whenever the tablet goes into sleep mode, I can't get it to wake up like it normally would. I can't seem to shut it down or restart the machine either. Sorry I'm a bit of a noob when it comes to this stuff. I...
Got an issue where my PC won't restart or shutdown properly after windows 8 upgrade. If I try and restart or shutdown, windows shuts down the programs as normal, I loose signal from my graphics card, but never actually power cycles. I have to hold the power button in for 6 seconds to get it...
pls wheneva i try to sleep, and i try to restart again, it brings this blue screen and says error and i will have to shutdown and on before my laptop can work properly just like this same problem you guys are discusiing can somebody help this poor boy and describe this compatibility step to me....
Eight Forums Android App Eight Forums IOS App Follow us on Facebook