+ Post New Thread
Results 1 to 14 of 14
Windows Thread, Scheduled WOL in Technical; Hey Guys, What do you all use the schedule WOL . Would like to power up machine overnight to coincide ...
  1. #1

    Join Date
    Jan 2008
    Posts
    172
    Thank Post
    18
    Thanked 10 Times in 9 Posts
    Rep Power
    10

    Scheduled WOL

    Hey Guys,

    What do you all use the schedule WOL. Would like to power up machine overnight to coincide with WSUS updates being installed.

    Of course, it has to be free

    Thanks

    Jon

  2. IDG Tech News

  3. #2
    CESIL's Avatar
    Join Date
    Nov 2006
    Location
    Hampshire
    Posts
    977
    Thank Post
    49
    Thanked 165 Times in 135 Posts
    Rep Power
    109
    I use this http://www.depicus.com/wake-on-lan/wake-on-lan-cmd.aspx

    My asp inventory system writes the neccessary batch file if I want to change the list of affected systems.

  4. #3
    sharkster's Avatar
    Join Date
    Nov 2007
    Location
    Middlesbrough
    Posts
    149
    Thank Post
    23
    Thanked 26 Times in 21 Posts
    Rep Power
    14
    i use this it works well
    WOL uttility - attached file

    just use a batch file and set it to run using task schedualer and this is how use set the batch file

    WOL.exe type-the-mac-adress-here
    Attached Files Attached Files

  5. Thanks to sharkster from:

    Alis_Klar (29th September 2011)

  6. #4
    Joedetic's Avatar
    Join Date
    Jan 2006
    Location
    Walsall
    Posts
    1,318
    Thank Post
    6
    Thanked 13 Times in 13 Posts
    Rep Power
    17
    Dragging up an old post but it's going to save writing a new one.

    I've got to do this but I need to get lists of MAC addresses for about 10 rooms so am not really wanting to go round and fetch the MACs individually.

    I'd like a script to do it on it's own so that if we swap machines out we don't have to edit the script etc, but going from a list of machine names to mac addresses via a script is seemingly quite hard.

    Any ideas anyone?

  7. #5
    Quackers's Avatar
    Join Date
    Jan 2006
    Location
    Staffordshire
    Posts
    961
    Thank Post
    28
    Thanked 59 Times in 52 Posts
    Rep Power
    33
    Quote Originally Posted by Joedetic View Post
    Dragging up an old post but it's going to save writing a new one.

    I've got to do this but I need to get lists of MAC addresses for about 10 rooms so am not really wanting to go round and fetch the MACs individually.

    I'd like a script to do it on it's own so that if we swap machines out we don't have to edit the script etc, but going from a list of machine names to mac addresses via a script is seemingly quite hard.

    Any ideas anyone?
    Use the attached file, it will scan the IP range you give it, then you just right click on each PC, show MAC address, Copy and paste to your file. Its what i do.
    Attached Files Attached Files

  8. #6

    powdarrmonkey's Avatar
    Join Date
    Feb 2008
    Location
    Alcester, Warwickshire
    Posts
    4,855
    Thank Post
    412
    Thanked 774 Times in 647 Posts
    Rep Power
    168
    Quote Originally Posted by Joedetic View Post
    Dragging up an old post but it's going to save writing a new one.

    I've got to do this but I need to get lists of MAC addresses for about 10 rooms so am not really wanting to go round and fetch the MACs individually.

    I'd like a script to do it on it's own so that if we swap machines out we don't have to edit the script etc, but going from a list of machine names to mac addresses via a script is seemingly quite hard.

    Any ideas anyone?
    Joe, PM me. I have some software in development to do this which you're welcome to try out.

  9. Thanks to powdarrmonkey from:

    Joedetic (10th November 2008)

  10. #7
    matt40k's Avatar
    Join Date
    Jun 2008
    Location
    Ipswich
    Posts
    3,130
    Thank Post
    218
    Thanked 368 Times in 313 Posts
    Rep Power
    87
    I just use AMD magic packet. Picks up details and WOL.

  11. #8
    Joedetic's Avatar
    Join Date
    Jan 2006
    Location
    Walsall
    Posts
    1,318
    Thank Post
    6
    Thanked 13 Times in 13 Posts
    Rep Power
    17
    I've found angry IP scanner which has given me the MAC addresses for the machines I want (I think!) but it's given me them in a hyphenated format when the wol.exe thing I'm using wants them in without hyphens :@ Some funky nonsense with ExHELL coming up I feel.

    powdarrmonkey consider yourself PM'd

  12. #9
    tonyd's Avatar
    Join Date
    Mar 2006
    Location
    Kent (Sometimes), UK
    Posts
    154
    Thank Post
    17
    Thanked 41 Times in 30 Posts
    Rep Power
    20

    Look in DHCP

    Assuming you're machines get their IP's from a DHCP server, you should be able to access and export a list of the MAC addresses from there.

    If you need to change formats then you could simply use a search / replace in wordpad to change ':' to '-' or remove spaces....

  13. Thanks to tonyd from:

    Joedetic (10th November 2008)

  14. #10
    Joedetic's Avatar
    Join Date
    Jan 2006
    Location
    Walsall
    Posts
    1,318
    Thank Post
    6
    Thanked 13 Times in 13 Posts
    Rep Power
    17
    I've produced a script that's just tonnes of the following for MACs for the IT Suites.

    c:\wol.exe MAC_ADDY

    Obviously if we get a motherboard swapout (so NIC changes) or new machines etc then we've gotta edit the script...which is a pain.


    @tonyd I just said to the rest of the team that we could have just exported the DHCP leases for the MACs (in the correct format aswell) we all just groaned and said "why didn't we think of that." Just not switched on in the head today

  15. #11

    Join Date
    Aug 2005
    Location
    London
    Posts
    3,117
    Blog Entries
    2
    Thank Post
    111
    Thanked 513 Times in 444 Posts
    Rep Power
    114
    There's some stuff here that I used at my last job.

    Basically, you give it the name of an OU in active directory and it will find the list of machines under that OU (including any sub-OUs). It then uses DHCPcmd to query the DHCP servers and get the MAC addresses for the appropriate machines.

    You need to put dhcpcmd and wolcmd on a server share and define that at the start of the script and you need to add the IP addresses of your DHCP servers in these bits:
    Code:
    BuildMacList "10.128.0.1","10.128.0.0"
    BuildMacList "10.160.0.1","10.160.0.0"
    - basically, you're querying server at 10.128.0.1 for machines in the subnet starting 10.128.0.0 - change as appropriate, delete any un-needed lines.

  16. Thanks to srochford from:

    Joedetic (11th November 2008)

  17. #12
    Joedetic's Avatar
    Join Date
    Jan 2006
    Location
    Walsall
    Posts
    1,318
    Thank Post
    6
    Thanked 13 Times in 13 Posts
    Rep Power
    17
    Thanks for all the help guys. What it's looking like now is that we're running into problems with one room where there's the odd machine that supports WOL and the rest that don't come on.

    The other problem is that the isolators for the IT suites are turned off of an evening so WOL isn't working of a morning without the machines being powered up first :s

  18. #13
    Gibbo's Avatar
    Join Date
    Feb 2008
    Location
    Cheshire
    Posts
    1,895
    Thank Post
    143
    Thanked 294 Times in 196 Posts
    Rep Power
    78
    Quote Originally Posted by matt40k View Post
    I just use AMD magic packet. Picks up details and WOL.
    Me too, works very well.

  19. #14
    Joedetic's Avatar
    Join Date
    Jan 2006
    Location
    Walsall
    Posts
    1,318
    Thank Post
    6
    Thanked 13 Times in 13 Posts
    Rep Power
    17
    I had a look at the AMD magic packet and it doesn't like lots of our kit for some reason so just fails over at the first problem when you generate the list.

SHARE:
+ Post New Thread

Similar Threads

  1. Looking for a little help with scheduled tasks
    By cromertech in forum Windows Vista
    Replies: 1
    Last Post: 8th February 2008, 05:28 PM
  2. Deploy a scheduled task!
    By Ste_Harve in forum How do you do....it?
    Replies: 2
    Last Post: 14th September 2007, 02:04 PM
  3. ntbackup B2D scheduled job problems
    By randle in forum Windows
    Replies: 2
    Last Post: 2nd July 2007, 02:05 PM
  4. Sophos 6.5 and scheduled scan there but not running
    By Oops_my_bad in forum Windows
    Replies: 1
    Last Post: 25th June 2007, 11:03 AM
  5. Restore scheduled tasks
    By Jobos in forum Windows
    Replies: 1
    Last Post: 22nd June 2007, 12:07 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •