Solved

WOL and WSUS

Posted on 2006-07-17
4
854 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 82

Accepted Solution

by:
oBdA earned 500 total points
Comment Utility
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
Comment Utility
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 82

Expert Comment

by:oBdA
Comment Utility
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
Comment Utility
Thanks again.  I bet this was an easy one for you ;)
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

The term "Bad USB" is a buzz word that is usually used when talking about attacks on computer systems that involve USB devices. In this article, I will show what possibilities modern windows systems (win8.x and win10) offer to fight these attacks wi…
Security measures require Windows be logged in using Standard User login (not Administrator).  Yet, sometimes an application has to be run “As Administrator” from a Standard User login.  This paper describes how to create a shortcut icon to launch a…
This video discusses moving either the default database or any database to a new volume.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

762 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

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now