Solved

WOL and WSUS

Posted on 2006-07-17
4
861 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: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone 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

In today's information driven age, entrepreneurs have so many great tools and options at their disposal to help turn good ideas into a thriving business. With cloud-based online services, such as Amazon's Web Services (AWS) or Microsoft's Azure, bus…
Users of Windows 10 Professional can disable automatic reboots using the policy editor. This tool is not included in the Windows home edition. But don't worry! Follow the instructions below to install (a Win7) policy editor on your Windows 10 Home e…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

685 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