+ Post New Thread
Results 1 to 13 of 13
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
    15

    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. #2

    CESIL's Avatar
    Join Date
    Nov 2006
    Location
    Hampshire
    Posts
    1,403
    Thank Post
    109
    Thanked 267 Times in 198 Posts
    Rep Power
    168
    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.

  3. #3
    sharkster's Avatar
    Join Date
    Nov 2007
    Location
    Middlesbrough
    Posts
    149
    Thank Post
    23
    Thanked 26 Times in 21 Posts
    Rep Power
    18
    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

  4. Thanks to sharkster from:

    Alis_Klar (29th September 2011)

  5. #4
    Joedetic's Avatar
    Join Date
    Jan 2006
    Location
    Walsall
    Posts
    1,316
    Thank Post
    6
    Thanked 13 Times in 13 Posts
    Rep Power
    22
    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?

  6. #5
    Quackers's Avatar
    Join Date
    Jan 2006
    Posts
    1,311
    Thank Post
    40
    Thanked 141 Times in 116 Posts
    Rep Power
    53
    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

  7. #6

    powdarrmonkey's Avatar
    Join Date
    Feb 2008
    Location
    Alcester, Warwickshire
    Posts
    4,859
    Thank Post
    412
    Thanked 777 Times in 650 Posts
    Rep Power
    182
    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.

  8. Thanks to powdarrmonkey from:

    Joedetic (10th November 2008)

  9. #7

    matt40k's Avatar
    Join Date
    Jun 2008
    Location
    Ipswich
    Posts
    4,392
    Thank Post
    368
    Thanked 637 Times in 519 Posts
    Rep Power
    158
    I just use AMD magic packet. Picks up details and WOL.

  10. #8
    Joedetic's Avatar
    Join Date
    Jan 2006
    Location
    Walsall
    Posts
    1,316
    Thank Post
    6
    Thanked 13 Times in 13 Posts
    Rep Power
    22
    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

  11. #9
    tonyd's Avatar
    Join Date
    Mar 2006
    Location
    Kent (Sometimes), UK
    Posts
    163
    Thank Post
    17
    Thanked 42 Times in 31 Posts
    Rep Power
    24

    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....

  12. Thanks to tonyd from:

    Joedetic (10th November 2008)

  13. #10
    Joedetic's Avatar
    Join Date
    Jan 2006
    Location
    Walsall
    Posts
    1,316
    Thank Post
    6
    Thanked 13 Times in 13 Posts
    Rep Power
    22
    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

  14. #11

    Join Date
    Aug 2005
    Location
    London
    Posts
    3,154
    Thank Post
    114
    Thanked 527 Times in 450 Posts
    Blog Entries
    2
    Rep Power
    123
    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.

  15. Thanks to srochford from:

    Joedetic (11th November 2008)

  16. #12
    Joedetic's Avatar
    Join Date
    Jan 2006
    Location
    Walsall
    Posts
    1,316
    Thank Post
    6
    Thanked 13 Times in 13 Posts
    Rep Power
    22
    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

  17. #13
    Joedetic's Avatar
    Join Date
    Jan 2006
    Location
    Walsall
    Posts
    1,316
    Thank Post
    6
    Thanked 13 Times in 13 Posts
    Rep Power
    22
    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, 04: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
  •