Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

Remotely sleep/hibernate networked computers

  • 09-07-2010 12:14PM
    #1
    Registered Users, Registered Users 2 Posts: 331 ✭✭


    Hi all,

    We are trying to implement a system in work where you can remotely sleep/hibernate a large number of computers from a centralised location.

    My searching online I've found http://www.rshut.com/ which is quite good but unfortunately not freeware which we could ideally look for.

    Have anyone used something that can do something like this? I know you can run a batch file to shutdown a PC but not sure if this will work for sleeping PCs.

    Any thoughts?

    Cheers


Comments

  • Registered Users, Registered Users 2 Posts: 7,606 ✭✭✭Jumpy


    What are your specifics?

    Do you need to do this at any time? Or is a specific time of day enough?


  • Registered Users, Registered Users 2 Posts: 7,606 ✭✭✭Jumpy


    Also how many systems are we talking about?


  • Registered Users, Registered Users 2 Posts: 7,606 ✭✭✭Jumpy


    Secondly do you need to wake them again?


  • Registered Users, Registered Users 2 Posts: 241 ✭✭fcrossen


    Have you looked at Wake-on-LAN? http://en.wikipedia.org/wiki/Wake-on-LAN

    Here is a nice little tutorial with PHP code (from 2006):
    - http://www.hackernotcracker.com/2006-04/wol-wake-on-lan-tutorial-with-bonus-php-script.html

    Added 13/07:

    Sorry I see the hibernation has been answered by corkcomp. I just scanned the original question. You can use the 'swsusp' command in more recent Linux kernels.

    The usual sticky is restarting the machine hence my pointers to WOL.


  • Registered Users, Registered Users 2 Posts: 5,114 ✭✭✭corkcomp


    peustace wrote: »
    Hi all,

    We are trying to implement a system in work where you can remotely sleep/hibernate a large number of computers from a centralised location.

    My searching online I've found http://www.rshut.com/ which is quite good but unfortunately not freeware which we could ideally look for.

    Have anyone used something that can do something like this? I know you can run a batch file to shutdown a PC but not sure if this will work for sleeping PCs.

    Any thoughts?

    Cheers

    I presume your talking client PC's rather than servers?

    do you need to be able to wake again remotely also?

    no prob having a batch file - use this command
    "%windir%\system32\rundll32.exe powrprof.dll,SetSuspendState Hibernate"


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 331 ✭✭peustace


    Sorry guys, just getting back to this.

    Ideally we would like to be able to remotely sleep/hibernate/shut down about 30 client machines. Not a huge number.

    If we could remotely wake them again that would be nice but not a deal breaker. Just reading up on the links provided, cheers for the help


  • Moderators, Recreation & Hobbies Moderators, Science, Health & Environment Moderators, Technology & Internet Moderators Posts: 95,988 Mod ✭✭✭✭Capt'n Midnight


    psexec is great to run commands remotely
    like shutdown.exe - both on the microsoft site
    not a remote hiberate though


    to wake up - you need to send a magic packet to the MAC address of the card amd do a utility for this
    dhcp should have a list of MAC address and IP's
    DNS will have a list of IP's



    don't forget to setup wake on lan in the BIOS
    also set power save to the correct level , the one that uses a little more power in standby
    also set wake up on lan on the network card in windows power management too

    http://en.wikipedia.org/wiki/Wake-on-LAN

    http://www.depicus.com/wake-on-lan/wake-on-lan-gui.aspx
    http://www.amd.com/us-en/assets/content_type/utilities/magic_pkt.exe


  • Registered Users, Registered Users 2 Posts: 8,814 ✭✭✭BaconZombie


    If they are all on a Windows Domain you can push this via GPO.

    You can also disable the screensaver and put the monitor into standby after a set period of time {after 15mins of inactivate}.


Advertisement