Solved

WOL and WSUS

Posted on 2006-07-17
4
858 Views
Last Modified: 2013-12-04
I have an issue I am trying to work around.  Can someone tell me how I can get WOL to run on a group of computers on a specific day?  I would like to be able to find a script that will allow me to set it up as a scheduled task that will execute a WOL command on all the computers in a group.  Of course I haven't yet found the WOL software that will work best for this scenario (free free free!).  Why can't WSUS include some utiltiy like this?

Thanks in advance,
Sean
0
Comment
Question by:stingerman_1
  • 2
  • 2
4 Comments
 
LVL 83

Accepted Solution

by:
oBdA earned 500 total points
ID: 17129553
Here are, for example, three command line tools to wake up remote machines.
As far as booting a group of machines is concerned, you need to gather the MAC addresses of the machines first, then you can create a batch file that runs the wol command for the different machines. The schedule the batch file to run as a scheduled task.

Wake On Lan Command Line
http://www.depicus.com/wake-on-lan/wake-on-lan-cmd.aspx

Gammadyne's Free Software
http://www.gammadyne.com/cmdline.htm

Wake-on-LAN
http://www.matcode.com/wol.htm
0
 

Author Comment

by:stingerman_1
ID: 17129739
That is what I was thinking I was going to have to do.  Is it possible to get an example of how I would write the batch file to execute this kind of task?

Thanks again!
0
 
LVL 83

Expert Comment

by:oBdA
ID: 17129936
There's an example in the first link; just add a list of commands to a regular text file, saved as wakeonlan.cmd (or whatever.cmd). The IP address should only be required when the target machine is in a different subnet.
You might want to add comment lines, so that you'll know which machine is started by wich command. The the tools above, decide for one, and replace "YourWolCmd.exe" with the proper syntax for the command you'll be using.

@echo off
REM *** Server1
YourWolCmd.exe 00:01:02:03:04:05
REM *** Server2
YourWolCmd.exe 00:01:02:03:04:06
0
 

Author Comment

by:stingerman_1
ID: 17130015
Thanks again.  I bet this was an easy one for you ;)
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

No security measures warrant 100% as a "silver bullet". The truth is we also cannot assume anything but a defensive and vigilance posture. Adopt no trust by default and reveal in assumption. Only assume anonymity or invisibility in the reverse. Safe…
In a recent article here at Experts Exchange (http://www.experts-exchange.com/articles/18880/PaperPort-14-in-Windows-10-A-First-Look.html), I discussed my nine-month sandbox testing of the Windows 10 Technical Preview, specifically with respect to r…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question