Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

WOL and WSUS

Posted on 2006-07-17
4
Medium Priority
?
869 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 85

Accepted Solution

by:
oBdA earned 2000 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 85

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

Threat Trends for MSPs to Watch

See the findings.
Despite its humble beginnings, phishing has come a long way since those first crudely constructed emails. Today, phishing sites can appear and disappear in the length of a coffee break, and it takes more than a little know-how to keep your clients secure.

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…
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…

886 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