Saturday, May 29, 2021

How to enable and use Wake on LAN (WoL) on Windows 10

 

How to enable & use Wake on LAN (WoL) on Windows 10

Yes, you can wake up a computer remotely, and in this guide, we'll show you how to complete this task on Windows 10.




On computing, Wake on LAN (WoL) is a networking standard protocol that provides the ability to configure a device to be started from a low power state using a special signal over the local network (also referred to as a magic packet). You can think of it as a remote power button to your computer.

Usually, this feature comes in handy to maintain a connection to your computer to access files and applications while minimizing power usage since when not in use, you can put the device to sleep.

After enabling Wake on LAN inside the Basic Input Output System (BIOS) or Unified Extensible Firmware Interface (UEFI) on supported hardware, and then in the Windows 10 network card (or USB to Ethernet adapter), you can use many third-party tools to send a magic packet over the network containing the MAC address of the remote computer to wake it up.

In this Windows 10 guide, we will walk you through the steps to enable and use Wake on LAN to turn on remote computers in the network.

How to enable Wake on LAN feature on Windows 10

On Windows 10, if you want to use the WoL feature, you must enable it first on the motherboard firmware (or on the network adapter if you are using an external device) and then on the Windows settings. Also, the feature only works when the computer is in sleep mode, but some devices support waking from hibernation or powered off state, even though Windows 10 does not participate in the process.

BIOS/UEFI configuration

To enable Wake on LAN on the device firmware, use these steps:

  1. 1. Open Settings.
  2. 2. Click on Update & Security.
  3. 3. Click on Recovery.
  4. 4. Under the "Advanced startup" section, click the Restart now button.



5. Click on Troubleshoot.


6. Click on Advanced options.


7. Click the UEFI Firmware Settings option.



  1. 8. Click the Restart button.

While in the firmware settings, navigate to the power settings and enable the "Wake on LAN" (WoL) feature. The option may have a slightly different name since the majority of the manufacturers build their firmware differently. If this is the case, make sure to check the device documentation online for more specific details.

Once you complete the steps, you can proceed with the instructions to configure the feature on Windows 10.

If your device does not include support for Wake on LAN, you can always get an adapter like the USB-A 3.0 to RJ45 Gigabit Ethernet LAN Adapter from uni that provides support to wake a device from sleep at a reasonable price.

Windows configuration

To enable WoL on Windows 10, use these steps:

  1. 1. Open Settings.
  2. 2. Click on Network & Internet.
  3. 3. Click on Status.
  4. 4. Under the "Advanced network settings" section, click the Change adapter options button.


5. Right-click the active network adapter and select the Properties option.


  1. 6. Click the Networking tab.
  2. 7. Click the Configure button.



  1. 8. Click the Advanced tab.
  2. 9. Select the Wake on Magic Packet option.
  3. 10. Use the "Value" drop-down menu and select the Enabled option.


  1. 11. (Optional) Select the Wake on pattern match option.
  2. 12. Use the "Value" drop-down menu and select the Enabled option.
  3. 13. (Optional) Select the WoL & Shutdown Link Speed option.
  4. 14. Use the "Value" drop-down menu and select the 10Mbps option.

    Quick note: The optional settings may be required if you use a network adapter from Realtek.

  5. 15. Click the Power Management tab.
  6. 16. Check the Allow this device to wake the computer option.
  7. 17. Check the Only allow a magic packet to wake the computer option.


  1. 18. Click the OK button.

After you complete the steps, the computer will be ready to be started remotely with a magic packet over the network using a third-party tool.

If you want to use the feature, you can use the same instructions outlined above to disable Wake on LAN, but on step No. 9, make sure to select the Disabled option. In addition to disabling the feature on Windows 10, you also want to turn off the WoL feature inside the device firmware using your manufacturer instructions.

How to wake up a computer remotely on Windows 10

Once the feature has been configured, you can turn on the computer in many different ways. For example, you can use the WoL tool built into the router. You may be able to find scripts that you can use with PowerShell. Or you can use third-party tools to send the magic packet to wake up the device.

For this example, we are using the "WakeMeOnLan" tool from NirSoft to wake a device remotely:

Warning: Although this application works as advertised, this is a third-party tool, and you should use it only at your own risk. You have been warned.

  1. 1. Open the NirSoft download page.
  2. 2. Click the download link to save the app on your device.


  1. 3. Extract the contents from the .zip folder with File Explorer.
  2. 4. Open the folder with the extracted files.
  3. 5. Double-click the WakeMeOnLan.exe file to launch the standalone tool.
  4. 6. Click the Play (Start Scanning) button to discover all the devices in the network.

    Quick note: The device you want to wake up remotely has to be turned on for the tool to find it. Once it is on the list, the device can be offline to use the WoL feature. You can also use the Ctrl + N keyboard shortcut to add the remote computer information (IP address, computer name, and MAC address) manually.

  5. 7. Right-click the remote computer and select the Wake Up Selected Computers option.


  1. 8. Click the Yes button.

Once you complete the steps, the tool will send the magic packet, which should start the device immediately if the network card was still operational even when the computer was turned off.

Confirm IP and MAC address

If you are using another tool, you will need to determine the IP and MAC address of the device you want to wake up, which you can easily do from the Settings app. Here's how:

  1. 1. Open Settings.
  2. 2. Click on Network & Internet.
  3. 3. Click on Status.
  4. 4. Under the "Network status" section, click the Properties button for the active connection.


5. Under the "Properties" section, confirm the IPv4 address and Physical address (MAC).



If you are using Command Prompt, you can query the adapter addresses using the ipconfig /all command.

Once you complete the steps, you can use the addresses with the utility of your choice to wake up a remote computer.

How to troubleshoot Wake on LAN feature on Windows 10

If the device does not wake up after sending the magic packet, you can do a few things to troubleshoot the problem.

The system must support Wake on LAN at the firmware level. If the option is unavailable in the motherboard's BIOS or UEFI or the network adapter (for example, USB to Ethernet adapter), you won't be able to use the feature.

If you use a USB to Ethernet adapter, WoL may only work when the computer is sleeping since powering off the device may also stop providing power to the USB port.

In the case that the computer is using the fast startup feature, you can try disabling it to mitigate the problem.

You can wake up a device only if the network card is active. If you are using an Ethernet connection, confirm the lights on the card are still blinking after the device is powered down.

On a laptop, you have to make sure that the device is connected to a power outlet. Otherwise, it won't work.

When using this feature, you can also come across networking problems that may prevent the device from waking up the remote computer. If you suspect a networking issue, use the ping command to confirm the source can contact the target device. Also, it is a good idea to double-check that you are using the correct MAC and IP address of the target computer. You can get this networking information using the ipconfig command (see above link to learn more).


No comments:

Post a Comment

Describe BIOS and UEFI

  BIOS (Basic Input/Output System) and UEFI (Unified Extensible Firmware Interface) are firmware interfaces responsible for initializing har...