Skip to content

Wake on LAN

We like to wake our clients PCs up in the morning to ensure they get their updates and do any daily maintenance tasks before the client gets in.

Download WOL.EXE from http://www.gammadyne.com/wol.exe to \ABRNTS01DriversWOLWOL.EXE
Find out the PCs MAC addresses, using DHCP, ARP Cache or audit tools, if you export from DHCP in to Excel you can use the following formula to create the batch file

=”REM ” & LEFT([@Name],FIND(“.”,[@Name])-1) & CHAR(13) & CHAR(10) &
“%~dp0WOL.exe ” & [@[Unique ID]] & ” SERVER.IP.ADDRESS” & CHAR(13) & CHAR(10)

Create a batch file and save it in \ABRNTS01DriversWOLWOL.BAT as per example below:

REM ABRPC001
%~dp0WOL.EXE 001377B34132 SERVER.IP.ADDRESS
REM ABRPC002
%~dp0WOL.EXE 000D9DDEA3BA SERVER.IP.ADDRESS
REM ABRPC003
%~dp0WOL.EXE 00217020B97D SERVER.IP.ADDRESS

Schedule this batch file for Monday – Friday at 05:00
General > Name: WOL
General > Description: WOL
General > Security Options > Change User or Group > SYSTEM
General > Security Options > Run whether user is logged on or not
General > Security Options > Run with highest privileges

To ensure that all workstations respond to the WOL packets, check all the following settings:
BIOS settings (varies by manufacturer): WOL in S5 enabled
Device Manager > Network Adapter > NIC > Properties > Power Management:
Allow computer to turn off this device to save power: un-check
Allow this device to wake the computer: uncheck
Only allow a magic packet to wake the computer: check
Device Manager > Network Adapter > RealTek NIC > Properties > Advanced:
Shutdown Wake-On-LAN: enabled
Wake on Magic Packet: enabled

Back To Top