1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WOL and remote shutdown

Discussion in 'Hardware' started by AJ, Feb 19, 2007.

  1. AJ

    AJ Administrator Administrator

    The people in the know at my school are wanting to make us more environmentally friendly. The see all of the PC's still turned on all day and night and think "wouldn't be a good idea to turn these off when they are not being used".

    Guess who's got that job :eek:

    Need a solution to this so that at a certain time at night the computers turn themselves off and restart in the morning. I think the majority of machines have "Wake up on LAN" on the NIC's.

    Is anyone doing this with their network at the moment and how do you achieve it.

    Thanks a lot
    Certifications: MCSE, MCSA (messaging), ITIL Foundation v3
    WIP: Looking at doing ..................
  2. Sparky
    Highly Decorated Member Award

    Sparky Zettabyte Poster Moderator

    To shut them down you could use a batch file with the ‘shutdown’ command and run this as a scheduled task.

    I’ve never actually seen the ‘wake on LAN’ feature working before but it looks like it might help. Not sure it switches a PC on or just boots it up from ‘hibernate’ mode or something like that. :biggrin
    Certifications: MSc MCSE MCSA:M MCSA:S MCITP:EA MCTS(x5) Security+ Network+ A+
    WIP: Exchange 2007\2010
  3. zebulebu

    zebulebu Terabyte Poster

    Yep, batch file to shut down is the quickest way to implement the first part.

    WOL is definitely the way to go for your second problem too. If you're not familiar with it, basically, WOL works by reserving a small amount of power for the NIC. The NIC listens for a 'magic packet' containing the WOL instructions, sent to the broadcast address of the subnet that NIC sits on. When it receives the magic packet, the PC boots - its that simple.

    In order to get WOL working in your environment, you'll need to make sure of two things:

    Firstly, that the boxes you're trying to 'wake up' support WOL. This shouldn't be too much of an issue, as most modern Mobos support this feature - though you may need to enable it in the BIOS for older machines. If your machines are too old or just plain don't have WOL support, you;re out of luck :(

    Second thing, provided your machines support WOL is to either script a 'wake up call' in Perl or something similar, or to get some software that supports it (something like this)
    Certifications: A few
    WIP: None - f*** 'em
  4. Phil
    Honorary Member

    Phil Gigabyte Poster

    Certifications: MCSE:M & S MCSA:M CCNA CNA
    WIP: 2003 Upgrade, CCNA Upgrade
  5. AJ

    AJ Administrator Administrator

    Hey nice one mate, forget about that.
    Certifications: MCSE, MCSA (messaging), ITIL Foundation v3
    WIP: Looking at doing ..................

Share This Page