Windows 10 как послать магический пакет

Технология Wake on LAN (WoL) используется для удалённого пробуждения (включения) компьютера, который находится в спящем режиме (режиме пониженного энергопотребления). Сетевая карта компьютера инициирует процесс пробуждения компьютера после получение специального широковещательного пакета (magic packet) со своим MAC адресом. В этой статье мы рассмотрим, как настроить Wake on LAN на компьютере под управлением Windows.

В первую очередь нужно включить функцию Wake-on-LAN в настройках BIOS/UEFI компьютера. В зависимости от модели компьютера и версии прошивки название этой опции может отличаться. Она может называться:

  • WOL (Wake-on-LAN)
  • Power On By PCI-E
  • Resume by PCI-E Device
  • Resume by PME
  • S4/S5 Wake on LAN
  • ErP

Включить Wake On Lan в BIOS

На брендовых моделях компьютеров вы можете вывести и изменить настройки BIOS/UEFI с помощью PowerShell. Например, на ноутбуке Lenovo можно включить опцию WOL в BIOS командами:

$getLenovoBIOS = gwmi -class Lenovo_SetBiosSetting -namespace root\wmi
$getLenovoBIOS.SetBiosSetting("WakeOnLAN,Enable")

$SaveLenovoBIOS = (gwmi -class Lenovo_SaveBiosSettings -namespace root\wmi)
$SaveLenovoBIOS.SaveBiosSettings()

Затем нужно разрешить Wake on LAN (WOL) в настройках сетевого адаптера в Windows.

  1. Откройте диспетчер устройств (
    devmgmt.msc
    );
  2. Разверните секцию Network Adapters и откройте свойства вашего физического сетевого адаптера;
  3. Перейдите на вкладку Advanced и проверьте, что опция Wake on magic packet включена (название может отличаться в зависимости от сетевой карты). В сетевых картах Intel эта опция может называться PME (Power Management Event);
    Включить WakeOnLan в настройках сетевой карты в Windows

    . Можно с помощью PowerShell проверить, включены ли опции WakeOnLan в настройках сетевого адаптера:
    Get-NetAdapter -Physical | Get-NetAdapterAdvancedProperty | where {($_.DisplayName -like '*WOL*') -or ($_.DisplayName -like '*Wake*')}

    PowerShell проверить что WOL включен

    Чтобы включить WOL с помощью PowerShell в настройках сетевого адаптера, можно использовать такую команду (зависит от драйвера и венднодоа NIC):
    Get-NetAdapter -Physical | Set-NetAdapterPowerManagement -WakeOnMagicPacket Enabled -WakeOnPattern Enabled

  4. Затем перейдите на вкладку Advanced и разрешите сетевой карте выводить компьютер из спящего режима. Включите опции Allow this device to wake the computer и Only allow a magic packet to wake the computer.

    Можно включить эту опцию с помощью команды:
    powercfg /deviceenablewake "Realtek PCIe GbE Family Controller"

Беспроводные Wi-Fi адаптеры также поддерживают удаленное включение. Этот стандарт называется Wake on Wireless LAN (WoWLAN).

С помощью следующей команды можно проверить, каким устройствам разрешено будить компьютер:

powercfg /devicequery wake_armed

powercfg wake_armed - список устройств которым разрешено будить компьютер

В данном случае видно, что сетевой карте Realtek PCIe разрешено выводить компьютер из спящего режима.

Для работы Wake-on-LAN не нужно открывать дополнительный порты в Windows Defender Firewall. Широковещательный UDP пакет WOL (Magic Packet) принимается и обрабатывается непосредственно сетевой картой и не доходит до сетевого стека Windows.

Теперь, вы можете отправить WoL пакет для удаленного включения компьютера с другого устройства в той же локальной сети. Magic Packet содержит аппаратный адрес сетевой карты (MAC адрес), компьютера который нужно включить. Вы можете узнать MAC адрес сетевой карты компьютера из команды
ipconfig /all
или получить его с помощью PowerShell:

Get-NetAdapter -Physical

Get-NetAdapter -Physical - узнать MAC адрес компьютера

Вы можете сформировать и отправить широковещательный magic пакет WOL с помощью PowerShell. Укажите MAC адрес устройства, которое нужно включить в следующем скрипте и выполните его:

$Mac = "08:9e:01:6b:52:a2"
$MacByteArray = $Mac -split "[:-]" | ForEach-Object { [Byte] "0x$_"}
[Byte[]] $MagicPacket = (,0xFF * 6) + ($MacByteArray  * 16)
$UdpClient = New-Object System.Net.Sockets.UdpClient
$UdpClient.Connect(([System.Net.IPAddress]::Broadcast),7)
$UdpClient.Send($MagicPacket,$MagicPacket.Length)
$UdpClient.Close()

PowerShell скрипт для удаленного включения компьютера через WakeOnLan

Если вы все настроили правильно, удаленный компьютер должен проснуться.

Для работы WOL в сегментированных сетях или разделенных на VLAN, нужно включать пересылку широковещательных WoL пакетов (
UDP порт 9
) на уровне коммутаторов/маршрутизаторов.

Для удаленного пробуждения компьютеров можно использовать бесплатную Windows утилиту от NirSoft WakeMeOnLan. Утилита позволяет автоматически просканировать LAN и найти все доступные устройства, или вы можете вручную добавить устройства, которые вы хотите включать удаленно через WakeOnLan.

Утилита поддерживает режим работы из командной строки. Чтобы включить компьютер, нужно выполнить команду (утилита отрезолвит IP адрес в MAC по arp таблице):

WakeMeOnLan.exe /wakeup 192.168.31.15

Или по MAC адресу:

WakeMeOnLan.exe /wakeup 08-9E-01-6B-52-A2

Также можно использовать утилиты для смартфонов. Например, Wake On LAN для Android (для удаленного включения компьютера вы должны быть подключены к той же LAN через Wi-Fi точку доступа).

Если компьютер не включается после отправки пакета Wake-on-LAN, возможно нужно LAN нужно отключить быстрый запуск Windows в настройках электропитания (на моих двух тестируемых устройствах с Windows 10 и 11 это не понадобилось). Fast Startup включен по-умолчанию в Windows 10 и 11 и может препятствовать пробуждению компьютера через WOL (или вызывать ситуацию, когда компьютер не выключается после завершения работы Windows).

Откройте панель
powercfg.cpl
-> Choose what the power buttons do -> Change settings that are currently unavailable -> отключите опцию Turn on fast startup (recommended).

Отключить быстрый запуск Windows, если WOL не работает

To wake up a computer over the Internet, you can use Wake On Lan Magic Packets. These packets use a special connection between the computer and the Internet. You need Microsoft Windows and the.Net Framework version 2.0 or higher. If you do not have these requirements, you can download these tools and install them on your computer. Once you’ve installed these tools, you can send WoL packets to your computer.

Firstly, you’ll need to enable the Wake on LAN feature in your PC. You can do this by right-clicking your Ethernet controller and selecting Properties. Then, you need to check the Wake on Magic Packet check box. In the Advanced tab, you can enable or disable other options related to WOL. Once these settings are correct, you should see your device’s network status and Wake on LAN.

Wake-on-LAN is a networking standard that allows network computers to be remotely woken up. Wake-on-LAN packets are sent over UDP ports 7 and 9 and enable the computer to enter a Low-Power mode. If you are using Wake-on-LAN to manage remote devices, you can use a program like Syxsense Manage. This tool is free.

How Do I Ship a WOL Package?

When you’re shipping a Windows machine, you’ll likely want to know how to ship a WOL package. This feature is available in Windows 10 and allows you to remotely wake up your PC from another PC on the network. You can configure the settings for this feature on your machine to ensure that it will send a WOL magic packet when it boots up. Then, once you’ve finished the configuration, you can simply hit the Start button to see if it has been configured correctly.

The first step is to enable the “wake on LAN” feature in your computer. Activating this feature requires setting up your PC to receive network packets from other computers. Make sure to enable WOL in your BIOS so that it can see the WOL packets. If you’ve never done this before, you’ll need to download the program that lets you enable this feature. After that, restart your computer and enjoy your new WOL feature!

How Do You Send Magic Packets WOL?

If you are wondering how to send Magic Packets WOL to a remote device, then you’ve come to the right place. This article will show you how to configure your Windows 10 PC to send magic packets to remote devices. WOL uses Directed Broadcasts to wake up low-power devices on your network. Most routers disable this feature by default, but it’s possible to add an access list to allow certain IP addresses or subnets to send this type of packet.

Once you’ve enabled this feature, you need to locate the Ethernet controller. Then, double-click the Ethernet controller. Under the Advanced tab, click the Wake on LAN option and enable it. Once you’ve completed this process, you can enable Wake on LAN. Then, run ethtool to test whether your PC supports Wake on LAN. Afterward, restart your computer.

How Do I Send a WOL Packet Over the Internet?

You may be wondering how to send a WOL packet from your computer to another computer. The good news is that it is relatively simple. There are a few steps you should follow to ensure the packet is received. Firstly, make sure you have a working internet connection. You should be able to use port 7 to do this. Secondly, make sure your computer is set up for WOL mode.

In order to send a WOL packet from another computer, you need to enable the Wake On LAN feature in your computer. This feature is usually found under power management and networking. Once you’ve found it, right-click the NIC to set up its power management options. In the Wake On LAN settings, check the option “Send a WOL packet to another computer” and then click on it.

Once you have enabled this feature on your computer, you must make sure you configure your network adapter so it can receive the WOL packet. You can do this through Windows settings. In the Network and Internet menu, select Change Adapter Settings. Click the Ethernet Connection icon. Click on its properties and then click the Configure button. You’ll see a window with your computer’s network settings and Wake On LAN settings.

How Do I Wake up PC with Magic Packet?

To enable Wake on LAN (WOL) on your computer, you need to enable the option on your device. Right-click on the network adapter and select “properties” to open the device’s properties. Under the Advanced tab, you need to check the Wake on Magic Packet property. If you’ve got it enabled, the PC will respond to these packets and will wake up when they come over the local area network.

If you’re not sure how to do this, you need to know your MAC address. To find your MAC address, connect your PC to the router using a wired Ethernet connection. Disconnect wireless connections from your PC and open Network and Sharing Center from the settings menu. Next, download and install Wake-on-LAN from Microsoft’s website. After that, launch it by selecting File > New Host. You’ll need to enter the name of the machine and the group it belongs to.

You’ll want to make sure your network card supports Wake On LAN. Not all network cards are Wake On LAN-compatible, so check it in the BIOS and make sure your network adapter supports it. Make sure that your network card supports Wake On LAN and has the appropriate drivers and hardware to support it. If you’re not sure whether your network card can support Wake On LAN, you can download a free Wake On LAN driver and follow the directions to enable it.

What Port Does WOL Use?

If you have a Windows 10 computer and are wondering about the wake-on-LAN (WOL) feature, you need to know what port it uses. Generally, Windows computers use UDP port 9 to send and receive WOL messages. Occasionally, other services on your computer may interfere with WOL, including Simple TCPIP services. If you have a device running on UDP port 9, you should disable it. Otherwise, you should enable it to work properly.

If the problem persists, try editing your BIOS. You can find the WakeOnLAN setting under Power Management settings. Make sure that the value data for the Value data field is 0. You can also try changing the settings in the BIOS. If the problem persists, try removing WOL from the BIOS and enabling it again. If all these steps do not help, you can try rebooting your computer.

You can also download the free version of OpUtils by ManageEngines. It has 16 tools. Another tool that matches Windows 10’s GUI is the Depicus WOL Tool. It also has an updated GUI that matches the Windows 7 and 8 GUI. Besides that, Nirsoft and Aquilatech have long lists of tools. The free version only supports Wake On LAN on a single computer, but the Professional version adds more functionality. You can customize the settings and view notification reports. The Professional version stores all data in a local or remote MS SQL database.

How Do I Use WakeMeOnLan?

The command-line tool WakeMeOnLan supports sending and receiving a Wol packet. It can also perform shutdowns. The shutdown tool requires scripting, but does offer functionality for troubleshooting WOL. It can monitor wake packets and scan host machines to detect if they support WOL. The shutdown tool is included in ManageEngine’s free management tool suite, which includes remote command prompt, software inventory, and a task manager.

To send a Wol packet to a remote PC, you must have a MAC address. To obtain the MAC address of your PC, connect it to a wired Ethernet network and disconnect any wireless connections. From the Settings menu, open the Network and Sharing Center. Click on “Network” and locate “Network” under “Network and Sharing Center.” Note the MAC address of the PC. Next, download WakeMeOnLan software from Microsoft’s website and install it. You can launch the program by selecting “File” > “New Host”. Select the MAC address of your device and group.

To disable WakeMeOnLan in Windows 10, you should uncheck the option “Allow fast startup” and run a command-line tool. Alternatively, you can try turning off WakeMeOnLan using a MAC address from the Network Settings tab. In addition, you can also try hibernating your PC while enabling this feature.

What is Wake on Magic Packet Windows 10?

What is Wake on Magic Packet Windows 10, and how does it work? First, you must enable Wake on LAN in your computer’s Basic Input Output System (BIOS), UEFI, or USB to Ethernet adapter. To enable Wake on LAN, you need to go into the Advanced tab and look for the Value list box that says Wake on Magic Packet. Check the box and then click OK. Wake on LAN is now enabled on your computer.

To use Wake on LAN, you need to be connected to an Ethernet network. When you use an Ethernet connection, the NIC will receive the magic packet. Once it receives the packet, it will send a signal to the motherboard and power supply, triggering the system’s wake-on-LAN function. Once this happens, the computer will boot automatically. If you don’t have an Ethernet connection, you can use Wi-Fi instead.

Learn More Here:

1.) Android Help Center

2.) Android – Wikipedia

3.) Android Versions

4.) Android Guides

Технология Wake-on-LAN (WoL) позволяет удаленно включать компьютер из спящего режима или состояния выключения (S4/S5) с помощью специального широковещательного пакета (Magic Packet), содержащего MAC-адрес сетевой карты. В этой статье мы разберем, как настроить WoL в Windows 10 и Windows 11, включая активацию в BIOS/UEFI, настройку сетевого адаптера, отправку пакетов через PowerShell и использование утилит, таких как WakeMeOnLan.

Приобрести оригинальные ключи активации Windows 11 можно у нас в каталоге от 1690 ₽

Требования для Wake-on-LAN

– Сетевая карта с поддержкой WoL.

BIOS/UEFI с опцией WoL или аналогичной.

– Компьютер в спящем режиме (S3), режиме гибернации (S4) или выключен (S5, если поддерживается).

– Отправляющее устройство в той же локальной сети (LAN) или с настроенной маршрутизацией Magic Packet.

Шаг 1: Включение WoL в BIOS/UEFI

1. Перезагрузите компьютер и войдите в BIOS/UEFI (обычно клавиши Del, F2 или F10).

2. Найдите опцию, связанную с WoL. Возможные названия:

Wake-on-LAN (WOL)

Power On By PCI-E

Resume by PCI-E Device

Resume by PME

S4/S5 Wake on LAN

ErP (установите в Disabled для поддержки S5).

3. Включите опцию (установите Enable) и сохраните настройки (F10).

Управление BIOS через PowerShell (Lenovo)

На некоторых устройствах Lenovo можно включить WoL через PowerShell:


$getLenovoBIOS = Get-WmiObject -Class Lenovo_SetBiosSetting -Namespace root\wmi
$getLenovoBIOS.SetBiosSetting("WakeOnLAN,Enable")
$SaveLenovoBIOS = Get-WmiObject -Class Lenovo_SaveBiosSettings -Namespace root\wmi
$SaveLenovoBIOS.SaveBiosSettings()

Шаг 2: Настройка сетевого адаптера в Windows

1. Откройте Диспетчер устройств (Win+R, devmgmt.msc).

2. Разверните раздел Сетевые адаптеры (Network adapters).

3. Щелкните правой кнопкой мыши по физическому адаптеру и выберите Свойства.

Вкладка Advanced

1. Перейдите на вкладку Дополнительно (Advanced).

2. Найдите опцию, связанную с WoL:

Wake on Magic Packet

PME (Power Management Event) (для карт Intel)

Wake on LAN

3. Установите значение Enabled.

Вкладка Power Management

1. Перейдите на вкладку Управление электропитанием (Power Management).

2. Включите опции:

Разрешить этому устройству выводить компьютер из ждущего режима (Allow this device to wake the computer).

Разрешить только «магический пакет» для вывода компьютера из ждущего режима (Only allow a magic packet to wake the computer).

Настройка через PowerShell

Проверьте настройки WoL:


Get-NetAdapter -Physical | Get-NetAdapterAdvancedProperty | Where-Object {($_.DisplayName -like '*WOL*') -or ($_.DisplayName -like '*Wake*')}

Включите WoL:


Get-NetAdapter -Physical | Set-NetAdapterPowerManagement -WakeOnMagicPacket Enabled -WakeOnPattern Enabled

Разрешите адаптеру будить компьютер:


powercfg /deviceenablewake "Realtek PCIe GbE Family Controller"

Проверка устройств с правом пробуждения

Узнайте, какие устройства могут будить компьютер:


powercfg /devicequery wake_armed

Шаг 3: Отключение быстрого запуска (при необходимости)

Быстрый запуск (Fast Startup) в Windows 10 и Windows 11 может мешать WoL, особенно в режиме S5 (выключение). Для отключения:

1. Откройте Панель управленияЭлектропитание (Win+R, powercfg.cpl).

2. Выберите Действия кнопок питания (Choose what the power buttons do).

3. Нажмите Изменить параметры, которые сейчас недоступны.

4. Снимите флажок Включить быстрый запуск (рекомендуется) (Turn on fast startup (recommended)).

5. Нажмите Сохранить изменения.

Шаг 4: Отправка Magic Packet

Magic Packet — это широковещательный UDP-пакет, содержащий MAC-адрес целевого устройства. Пакет отправляется на порт 7 или 9 (обычно UDP 9).

Узнайте MAC-адрес

Получите MAC-адрес сетевой карты:


Get-NetAdapter -Physical

Или:


ipconfig /all

Отправка Magic Packet через PowerShell

Используйте скрипт для отправки Magic Packet:


$Mac = "08:9e:01:6b:52:a2"
$MacByteArray = $Mac -split "[:-]" | ForEach-Object { [Byte] "0x$_"}
[Byte[]] $MagicPacket = (,0xFF * 6) + ($MacByteArray * 16)
$UdpClient = New-Object System.Net.Sockets.UdpClient
$UdpClient.Connect(([System.Net.IPAddress]::Broadcast), 7)
$UdpClient.Send($MagicPacket, $MagicPacket.Length)
$UdpClient.Close()

Замените $Mac на MAC-адрес целевого устройства.

Использование утилиты WakeMeOnLan

1. Скачайте WakeMeOnLan от NirSoft.

2. Запустите утилиту:

– Она автоматически сканирует сеть и отображает устройства.

– Или добавьте устройство вручную, указав IP или MAC-адрес.

3. Отправьте Magic Packet:

– По IP:


WakeMeOnLan.exe /wakeup 192.168.31.15

– По MAC:


WakeMeOnLan.exe /wakeup 08-9E-01-6B-52-A2

WoL с мобильных устройств

Используйте приложение, например, Wake On LAN для Android или iOS. Укажите MAC-адрес и IP устройства, подключившись к той же Wi-Fi-сети.

Настройка сети для WoL

Локальная сеть: Убедитесь, что отправляющее устройство и целевой компьютер находятся в одной подсети.

VLAN/разные подсети: Настройте маршрутизатор или коммутатор для пересылки широковещательных пакетов UDP 9 (например, через Directed Broadcast или WoL Relay).

Брандмауэр: Windows Defender Firewall не требует открытия портов, так как Magic Packet обрабатывается сетевой картой напрямую.

Устранение неполадок

Компьютер не включается:

– Проверьте, включена ли WoL в BIOS/UEFI и сетевом адаптере.
– Убедитесь, что Быстрый запуск отключен.
– Проверьте состояние компьютера (должен быть в S3, S4 или S5).

Пакет не доходит:

– Убедитесь, что устройства в одной подсети.
– Проверьте настройки маршрутизатора для широковещательных пакетов.
Wi-Fi адаптер: Для WoWLAN (Wake on Wireless LAN) убедитесь, что адаптер поддерживает эту функцию.

Настройка Wake-on-LAN в Windows 10 и Windows 11 включает активацию функции в BIOS/UEFI, настройку сетевого адаптера и отправку Magic Packet через PowerShell или утилиты, такие как WakeMeOnLan. Поддержка WoWLAN расширяет возможности для Wi-Fi. Правильная конфигурация сети и отключение Быстрого запуска обеспечивают надежную работу WoL, позволяя удаленно включать компьютер для удобного администрирования или доступа.

Setting up Wake-on-LAN (WoL) on Windows 10 allows you to remotely power on your computer using a magic packet. This is handy for remote access when you’re away from your machine but need to access its resources. Follow these steps to configure WoL on Windows 10 and you’ll be up and running in no time.

Step-by-Step Tutorial for Sending Wake on LAN Packet in Windows 10

This tutorial will guide you through enabling Wake-on-LAN (WoL) on a Windows 10 machine and how to send a WoL packet to wake the computer remotely.

Step 1: Enable Wake-on-LAN in BIOS/UEFI

Ensure that Wake-on-LAN is enabled in the BIOS or UEFI settings of your computer.

To get into BIOS/UEFI, restart your computer and press the designated key (usually F2, F10, or Delete) to enter the BIOS/UEFI menu. Navigate to the Power Management settings and find the option to enable Wake-on-LAN. Save your changes and exit.

Step 2: Enable Wake-on-LAN in Device Manager

Open Device Manager and enable the Wake-on-LAN feature for the network adapter.

Press the Windows key + X and select Device Manager. Find your network adapter under «Network adapters,» right-click it, and choose «Properties.» Go to the «Power Management» tab and check the boxes for «Allow this device to wake the computer» and «Only allow a magic packet to wake the computer.»

Step 3: Configure Network Adapter Settings

Adjust the network adapter settings to support Wake-on-LAN.

In the Device Manager, go back to the «Advanced» tab under the network adapter properties. Scroll down to find settings such as «Wake on Magic Packet» and ensure they are enabled. This is essential for receiving the magic packet that wakes the computer.

Step 4: Obtain the MAC Address

Retrieve the MAC address of the network adapter you want to wake.

Open Command Prompt by pressing Windows key + R, typing «cmd,» and hitting Enter. Type ipconfig /all and press Enter. Look for the «Physical Address» under your network adapter—this is your MAC address. Note it down, as you’ll need it to send the magic packet.

Step 5: Send the Wake-on-LAN Packet

Use a third-party tool to send the WoL magic packet to your computer.

There are several tools available online to send WoL packets. One popular option is the «Wake On Lan» tool by Depicus. Enter the MAC address you noted earlier, your network’s broadcast IP address, and send the packet. Your computer should wake up if everything is set up correctly.

After completing these steps, your computer should wake when it receives a magic packet. This setup is beneficial for accessing your system remotely without needing it to be powered on all the time.

Tips for Sending Wake on LAN Packet in Windows 10

  • Make sure your computer is connected via Ethernet, as WoL often doesn’t work over Wi-Fi.
  • Ensure your router supports forwarding WoL packets.
  • Test the setup while you’re on the same network before trying remote wake-ups.
  • Keep your BIOS/UEFI and network adapter drivers up-to-date for reliability.
  • Check your firewall settings and ensure WoL packets are allowed through.

Frequently Asked Questions

Can I use Wake-on-LAN over Wi-Fi?

WoL typically works over Ethernet. Some modern Wi-Fi adapters may support it, but it’s less reliable.

Do I need to leave my computer plugged in?

Yes, the computer needs to be plugged in and on a network, even if it’s powered off.

Will my computer wake up from hibernation?

WoL usually works from sleep, not hibernation. Ensure your computer is in the correct state.

Why isn’t my computer waking up?

Double-check your BIOS/UEFI settings, network adapter settings in Windows, and ensure the correct MAC address is used.

Is Wake-on-LAN secure?

WoL is not inherently secure, as it’s designed for convenience. Consider additional security measures like VPNs.

Summary

  1. Enable Wake-on-LAN in BIOS/UEFI.
  2. Enable Wake-on-LAN in Device Manager.
  3. Configure network adapter settings.
  4. Obtain the MAC address.
  5. Send the Wake-on-LAN packet.

Conclusion

Setting up Wake-on-LAN on your Windows 10 machine can be a game-changer for managing your computer remotely. Whether you need to access files, run programs, or perform updates while you’re away from home, WoL makes it possible. Following the steps outlined, you should now be able to reliably send a magic packet and wake your computer remotely.

Remember, this setup can be finicky. Always double-check your settings if something isn’t working. And, if you’re planning to use WoL over the internet, make sure your network is configured correctly to forward WoL packets. With a bit of tweaking, you’ll have a seamless remote access solution that’s both convenient and practical.

Kermit Matthews is a freelance writer based in Philadelphia, Pennsylvania with more than a decade of experience writing technology guides. He has a Bachelor’s and Master’s degree in Computer Science and has spent much of his professional career in IT management.

He specializes in writing content about iPhones, Android devices, Microsoft Office, and many other popular applications and devices.

Read his full bio here.

Wake On Lan on Windows 10

Wake On Lan on Windows 10
(Image credit: Mauro Huculak)

On Windows 10, you can use the Wake on LAN (WoL) feature to turn on a computer remotely, and in this guide, I’ll outline the steps to complete this configuration.

Wake on LAN is a networking standard protocol that can turn on a computer from a low-power state using a unique signal over the local network (also called a magic packet). You can think of it as a remote power button on your device.

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

After enabling «Wake on LAN» in the Basic Input Output System (BIOS) or Unified Extensible Firmware Interface (UEFI) on supported hardware and in the Windows 10 network adapter, you can use 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 how-to guide, I’ll walk you through the steps to enable and use Wake on LAN to turn on computers in the network.

How to enable Wake on LAN 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 system settings. Also, the feature only works when the computer is asleep, but some computers support waking from hibernation or powered off state, even though Windows 10 does not participate in the process.

Firmware configuration

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

All the latest news, reviews, and guides for Windows and Xbox diehards.

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

Advanced startup restart now option

(Image credit: Mauro Huculak)
  1. Click on Troubleshoot.
  2. Click on Advanced options.
  3. Click the «UEFI Firmware Settings» option.

UEFI Firmware Settings

(Image credit: Mauro Huculak)
  1. Click the Restart button.

Inside the firmware settings, navigate to the power options and enable the «Wake on LAN» (WoL) feature. The feature may have a slightly different name since most manufacturers build their firmware differently. If so, check the device support page for more specific details.

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

Windows configuration

To enable WoL on Windows 10, use these steps:

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

Change adapter options

(Image credit: Mauro Huculak)
  1. Right-click the active network adapter and select the Properties option.

Control Panel network adapter properties

(Image credit: Future)
  1. Click the Networking tab.
  2. Click the Configure button.

Network adapter configure option

(Image credit: Mauro Huculak)
  1. Click the Advanced tab.
  2. Select the «Wake on Magic Packet» option.
  3. Use the «Value» drop-down menu and select the Enabled option.

Enable Wake on LAN

(Image credit: Mauro Huculak)
  1. (Optional) Select the «Wake on pattern match» option.
  2. Use the «Value» drop-down menu and select the Enabled option.
  3. (Optional) Select the «WoL & Shutdown Link Speed» option.
  4. 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.
  1. Click the Power Management tab.
  2. Check the «Allow this device to wake the computer» option.
  3. Check the «Only allow a magic packet to wake the computer» option.

Network adapter power management settings

(Image credit: Mauro Huculak)
  1. Click the OK button.

After completing the steps, you can send magic packets to wake the device.

If you don’t want to use the feature, you can use the instructions outlined above to disable Wake on LAN, but on step 9, select the «Disabled» option. In addition to turning off the feature, you may also want to turn off the WoL feature inside the device firmware using your manufacturer’s instructions.

How to wake up a computer remotely on Windows 10

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

For this guide, I’ll use the «WakeMeOnLan» tool from NirSoft to wake a device remotely. Although the app works as advertised, it’s a third-party tool, and you should use it only at your own risk. You have been warned. Here’s how:

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

WakeMeonLAN tool download

(Image credit: Future)
  1. Extract the contents from the .zip folder with File Explorer.
  2. Open the folder with the extracted files.
  3. Double-click the WakeMeOnLan.exe file to launch the standalone tool.
  4. Click the Play (Start Scanning) button to discover all the devices in the network.
  • Quick note: The remote device to wake up has to be turned on for the tool to find it. Once it is on the list, the device can use the WoL feature offline. You can also use the «Ctrl + N» keyboard shortcut to manually add the remote computer information (IP address, computer name, and MAC address).
  1. Right-click the remote computer and select the «Wake Up Selected Computers» option.

Turn on PC with Wake on LAN

(Image credit: Future)
  1. Click the Yes button.

Once you complete the steps, the tool will send the magic packet, which should turn on the device immediately if the network adapter is still operational, even when the computer is turned off.

Confirm IP and MAC address

If you use another tool, you may have to determine the IP and MAC address of the computer, which you can easily do from the Settings app. Here’s how:

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

Network status

(Image credit: Mauro Huculak)
  1. Under the «Properties» section, confirm the IPv4 address and Physical address (MAC).

Windows 10 network card IP and MAC

(Image credit: Mauro Huculak)

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 with these instructions, you can perform 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, 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.

You may need to disable fast startup to allow the feature to work.

Turning on a device remotely only works if the network adapter is active and reachable. If you use an Ethernet connection, confirm the lights on the card are still blinking after the device is powered down.

On a laptop, you must ensure the device is connected to a power outlet. Otherwise, it won’t work.

When using this feature, you may also encounter networking problems that prevent the device from waking up. 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 target computer’s correct MAC and IP address. You can get this networking information using the «ipconfig» command (see the above link to learn more).

More resources

For more helpful articles, coverage, and answers to common questions about Windows 10, visit the following resources:

  • Windows 11 on Windows Central — All you need to know
  • Windows 10 on Windows Central — All you need to know

Mauro Huculak has been a Windows How-To Expert contributor for WindowsCentral.com for nearly a decade and has over 15 years of experience writing comprehensive guides. He also has an IT background and has achieved different professional certifications from Microsoft, Cisco, VMware, and CompTIA. He has been recognized as a Microsoft MVP for many years.

Понравилась статья? Поделить с друзьями:
0 0 голоса
Рейтинг статьи
Подписаться
Уведомить о
guest

0 комментариев
Старые
Новые Популярные
Межтекстовые Отзывы
Посмотреть все комментарии
  • Проверить ntp server windows
  • Обновление windows 7 home basic до windows 7 home premium
  • Final cut работает на windows
  • Ttk tv для windows
  • Bartpe windows live cd