Solved

WOL and WSUS

Posted on 2006-07-17
4
860 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 84

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 84

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

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…
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

856 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