Wake on LAN
The Wake on LAN (WOL) functionality allows you to remotely power on a computer that is currently in a powered down state (shutdown, sleep or hibernate) through the use of a network request (Magic Packet).
This Magic Packet message is issued from the device running the Wake on LAN Automated Task and when received by the target computer’s network card, a command is issued to the motherboard and power supply to turn the machine on.
To utilize the Wake on LAN Automated Task, the target computer must be on the same local area network as the device running the script, both the target computer and network should be configured to support WOL communications and the computer connected to a power source.
The following section focuses on the steps to enable WOL on a Windows computer, although this may vary by manufacturer.
Enable WOL on a Windows computer
WOL is enabled on a Windows device in both the BIOS and Device Manager.
As the BIOS location of the WOL settings is vendor dependent, we would suggest consulting the manufacturers documentation to determine whether WOL is supported on the target system along with details of their WOL implementation and the specifics of enabling this feature.
In addition to the WOL settings, it may be necessary to amend other power management options (for example Dells Deep Sleep Control) to successfully wake up the device using the Magic Packet request.
Once WOL is setup in the BIOS, the next step is to ensure the Network Adapter is configured to accept WOL in Windows.
- Open the Device Manager
- Windows key + R
- Enter devmgmt.msc
- Expand Network Adapters
- Right-click on your network adapter and select Properties
- Navigate to Power or Power Management
- Enable Allow this device to wake the computer and Only allow a magic packet to wake the computer (or equivalent).
- The next step is dependent on the version of Windows.
- Go to Advanced
- Find Wake on Magic Packet in Property and change the Value to Enabled
- Click OK to save out of the dialog, then close the Device Manager
Please note it may be necessary to restart the computer for these changes to take effect.