Wake-on-LAN是一种以太网(Ethernet)网络标准,它允许正确配置的网络计算机被网络消息打开或唤醒。在这篇文章中,我们将提供全面的解决方案,您可以尝试成功解决LAN 唤醒(Wake-on-LAN)( WOL ) 无法在Windows 11/10 computer上运行的问题。
Wake-on-LAN(有时缩写为WoL)是一种行业标准协议,用于远程将计算机从极低功耗模式唤醒。“低功耗模式”的定义是指计算机处于“关闭”状态并且可以使用电源。如果您计划出于任何原因远程访问您的计算机,这将非常有用:它允许您在保持 PC 处于低功耗状态的同时保留对文件和程序的访问权限。
在继续以下概述的解决方案之前,请执行以下预检查:
主以太网(Ethernet)端口通常位于系统的侧面或背面,当您运行 IPCONFIG 时,它被列为以太网 1 。(Ethernet 1)这是支持Wake-On-LAN的端口。
Note:
确认网络电缆已连接到系统上的NIC后,如果LAN唤醒仍无法正常工作,请使用以下步骤进行故障排除:
- 确认交流电源已插入。当系统使用电池运行时, WOL不工作。这是设计使然。
- 确认系统关闭时链路指示灯保持亮起。如果没有链接灯,那么网卡(NIC)就没有办法接收到魔术包来唤醒系统。
- 确认发送魔术包的系统可以 ping 通客户端系统。
- 确认魔术包中使用的MAC地址与客户端系统上以太网1的(Ethernet 1)MAC地址匹配。(MAC)
- 如果魔术包中指定了 IP 地址,则网络交换机可能无法将其正确广播到整个网络。可能需要更改地址以将数据包广播到整个网络。例如,如果客户端地址是 192.168.1.12,则数据包中使用的广播地址将是 192.168.1.255。
局域网唤醒不起作用
如果您遇到此问题,您可以按以下顺序尝试我们推荐的解决方案,看看是否有助于解决问题。
- 禁用快速启动
- 更新网络接口卡(Update Network Interface Card)( NIC ) 驱动程序
- 更改电源计划设置
- 配置NIC 电源管理(NIC Power Management)设置
- 配置 NIC 高级驱动程序(Configure NIC Advanced Driver) 属性(Properties)
- 修改注册表项
- 手动创建注册表项
- 检查 BIOS 设置
- 重置 BIOS
- 更新 BIOS。
让我们看一下关于列出的每个解决方案所涉及的过程的描述。
1]禁用快速启动
如果适用 , Windows 10中的(Windows 10)快速启动(Fast Startup)功能默认启用。快速启动(Fast Startup)旨在帮助 您在关闭计算机后更快地启动计算机。(computer startup faster)当您关闭计算机时,您的计算机实际上会进入休眠状态,而不是完全关机。
此解决方案要求您禁用快速启动(to disable Fast Startup)并查看LAN 唤醒不工作(Wake-on-LAN not working)问题是否已解决。
2]更新网络接口卡(Update Network Interface Card)(NIC)驱动程序
网络唤醒功能的问题可能是由您的网络驱动程序引起的,如果您遇到此问题,您应该尝试将NIC驱动程序更新到最新版本。
您可以通过设备管理器手动更新驱动程序(update your drivers manually via the Device Manager),也可以在Windows 更新下(Windows Update)的可选更新(get the driver updates on the Optional Updates)部分获取驱动程序更新。您可以 从制造商的网站下载最新版本的驱动程序。(download the latest version of the driver)
如果将网卡(NIC)驱动更新到最新版本,问题依然存在,您可以尝试安装旧版本的网卡驱动。
3]更改电源计划设置
请执行下列操作:
- 右键单击(Right-click)任务栏(Taskbar)右侧通知区域的电池图标。
- 选择电源选项(Power Options)。
- 在“电源选项(Power Options)”窗口中,找到您当前的电源计划。
- 单击旁边的更改计划设置。(Change plan settings)
- 现在点击 更改高级电源设置(Change advanced power settings)。
- 展开 PCI Express部分。
- 展开链路状态电源管理(Link State Power Management)。
- 现在将电池(On battery)和插入(Plugged in)状态的省电设置为关闭。(Off )
- 单击“应用(Apply)” > “确定(OK)”以保存更改。
现在应该解决这个问题。如果没有,请尝试下一个解决方案。
4]配置网卡电源管理(Configure NIC Power Management)设置
以下配置适用于Intel NIC。
- 按Windows key + X打开高级用户菜单。
- 按键盘上的M键打开设备管理器(Device Manager)。
- 进入设备管理器(Device Manager)后,向下滚动已安装设备列表并展开网络适配器(Network adapters)部分。
- 右键单击(Right-click)主网络适配器(列表中的第一个适配器通常是主适配器)并选择Properties。
- 选择 “电源管理”(Power Management)选项卡。
- 选中允许计算机关闭此设备以节省电量、(Allow the computer to turn off this device to save power,) 允许此设备唤醒计算机和(Allow this device to wake the computer)仅允许魔术包唤醒(Only allow a magic packet to wake the computer)计算机复选框 。
- 根据您的Intel NIC,如果可用,请选中Wake on Magic Packet和Wake on Pattern Match (Wake on Pattern Match )选项并取消选中Power Saver 选项下的系统空闲期间降低链接速度。(Reduce link speed during system idle )
5]配置网卡高级驱动程序(Configure NIC Advanced Driver) 属性(Properties)
检查Windows中的(Windows)NIC驱动程序属性并确保在那里启用了WOL 。这些设置可以覆盖Windows 10中的BIOS。
以下配置适用于Realtek PCIe GBE网络适配器。
- 打开设备管理器。
- 展开网络适配器(Network adapters)部分。
- 右键单击(Right-click)Realtek PCIe GBE 系列控制器(Realtek PCIe GBE Family Controller)并选择属性(Properties)。
- 单击高级(Advanced)选项卡。
- 在 “属性(Property)”框中,依次选择;关闭 Wake-On-Lan (Shutdown Wake-On-Lan)、 Wake on Magic Packet、Wake on pattern match(Wake on Magic Packet, Wake on pattern match)并将值(Value)设置为Enabled。
- 然后,最后选择WOL & Shutdown Link Speed并将值(Value)设置为10 Mbps。
- 完成后单击确定(OK )。
- 重启你的电脑。
6]修改注册表项
此方法适用于Realtek网络适配器。
由于这是一项注册表操作,因此建议您备份注册表或(back up the registry)创建系统还原点 作为 必要的预防措施。完成后,您可以执行以下操作:
- 按Windows key + R调用“运行”对话框。
- 在“运行”对话框中,键入
regedit
并按 Enter 以打开注册表编辑器(Registry Editor)。 - 导航或跳转到下面的注册表项路径:
Computer\HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Class\{4d36e972-e325-11ce-bfc1-08002be10318}\0002
请记住,最后一部分在您的 PC 上可能会有所不同,因此您可能需要手动查找网络适配器。
要轻松做到这一点,请在注册表编辑器(Registry Editor)中按CTRL + F,然后在框中键入S5WakeOnLAN
或并按 Enter。PowerDownPll
- 在该位置的右侧窗格中,您应该会看到S5WakeOnLAN。
提示(Tip):要查看主机上可用状态的完整列表,请在命令提示符(Command Prompt)中键入powercfg -a
,按 Enter(Enter) Â 并验证状态 S3、S4 和 S5 是否可用。
- 双击(Double-click)条目并将其值(Value)数据更改为1。
- 单击确定(OK)以保存更改。
- 接下来,双击PowerDownPll并将其 Value 数据设置为0。
- 单击确定(OK)以保存更改。
- 重启你的电脑。
如果问题仍未解决,请继续执行下一个解决方案。
7]手动创建注册表项
备份注册表或创建系统还原点,然后进行如下操作:
- 打开注册表编辑器。
- 导航(Navigate)或跳转到下面的注册表项路径:
Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NDIS\Parameters
- 在该位置,在右窗格中,右键单击空白区域并选择New > DWORD (32-bit) Value。
- 将其命名为AllowWakeFromS5。
- 现在,双击新创建的键来编辑它的属性。
- 在属性窗口中,将值(Value)数据设置为1。
- 单击确定(OK)以保存更改。
- 退出注册表编辑器。
- 重启你的电脑。
这个问题应该得到解决。否则,请尝试下一个解决方案。
8]检查BIOS设置
如果LAN唤醒(Wake)不起作用,则问题可能出在您的BIOS设置(BIOS)上。要解决此问题,您需要启动 BIOS(boot into BIOS)并调整一些设置。
确保在BIOS中的(BIOS)电源管理(Power Management)设置下启用了WOL 。
确保在BIOS中禁用深度睡眠(Deep Sleep)(并非适用于所有系统)。此省电设置会关闭NIC。
如果您在BIOS中设置了允许 PCI 唤醒系统(Allow PCI to wake up the system),请务必启用它。
完成后,保存更改并检查是否可以解决问题。
注意(Note):可能需要在更改BIOS设置后引导至(BIOS)Windows桌面才能正确应用它们。BIOS设置和Windows中的(Windows)NIC驱动程序设置之间存在一些交互。
9]重置BIOS
此解决方案要求您将 BIOS 重置为默认设置,然后启用APM - 您可以通过转到“高级(Advanced)”部分来执行此操作。局域网(LAN)唤醒功能现在应该开始工作了。如果没有,请继续下一个解决方案。
10]更新BIOS
此时,如果您仍然遇到此问题,您可以尝试更新系统上的 BIOS(updating the BIOS)。
使用来自OEM(OEMs)的工具是最简单的方法。所有OEM制造商都有可帮助您轻松更新BIOS、固件和驱动程序的实用程序。搜索您的并仅从官方网站下载。这是更新BIOS的最安全方法。
- 如果您拥有戴尔(Dell)笔记本电脑,您可以访问 Dell.com,或者您可以使用 戴尔更新实用程序(Dell Update Utility)。
- 华硕(ASUS)用户可以从华硕(ASUS)支持网站下载MyASUS BIOS更新实用程序 。
- ACER用户可以去这里(go here)。输入您的序列Number/SNID型号(Model)搜索您的产品,选择BIOS/Firmware,然后单击您要下载的文件的下载链接。(Download)
- 联想用户可以使用 联想系统更新工具(Lenovo System Update Tool)。
- HP 用户可以使用捆绑的HP Support Assistant。
完成系统上BIOS的手动更新后,应该可以解决WOL问题。(WOL)
这些解决方案中的任何一个都应该适合您!
Wake-on-LAN not working on Windows computer
Wake-on-LAN is an Ethernet networking standard that allows a properly configured network computer to be turned on or awakened by a network message. In this post, we will provide comprehensive solutions you can try to successfully resolve issues where Wake-on-LAN (WOL) is not working on your Windows 11/10 computer.
Wake-on-LAN (sometimes abbreviated WoL) is an industry-standard protocol for waking computers up from a very low power mode remotely. The definition of “low power mode” means while the computer is “off” and has access to a power source. This is useful if you plan to access your computer remotely for any reason: it allows you to retain access to your files and programs while keeping the PC in a low-power state.
Before you proceed with the solutions outlined below, do the following prechecks:
The primary Ethernet port is usually on the side or the back of the system, and it is listed as Ethernet 1 when you run IPCONFIG. This is the port that supports Wake-On-LAN.
Note:
Once you have confirmed that the network cable is connected to the NIC on the system, if Wake On LAN still doesn’t function properly, troubleshoot using the following steps:
- Confirm that the AC power is plugged in. WOL does not work when the system is running on battery. This is by design.
- Confirm that the link light remains on when the system is powered off. If there is no link light, then there is no way for the NIC to receive the magic packet to wake the system.
- Confirm that the client system can be pinged by the system that is sending the magic packet.
- Confirm that the MAC address used in the magic packet matches the MAC for Ethernet 1 on the client system.
- If an IP address is specified in the magic packet, then the network switch may not properly broadcast it to the whole network. It may be necessary to change the address to broadcast the packet to the whole network. For example, if the client address is 192.168.1.12, the broadcast address used in the packet would be 192.168.1.255.
Wake-on-LAN not working
If you’re faced with this issue, you can try our recommended solutions in the order presented below and see if that helps to resolve the issue.
- Disable Fast Startup
- Update Network Interface Card (NIC) driver
- Change Power Plan settings
- Configure NIC Power Management settings
- Configure NIC Advanced Driver Properties
- Modify Registry key
- Manually create Registry key
- Check BIOS settings
- Reset BIOS
- Update BIOS.
Let’s take a look at the description of the process involved concerning each of the listed solutions.
1] Disable Fast Startup
The Fast Startup feature in Windows 10 is enabled by default if applicable. Fast Startup is designed to help your computer startup faster after you shut down your computer. When you shut down your computer, your computer actually enters a hibernation state instead of a full shutdown.
This solution requires you to disable Fast Startup and see if the Wake-on-LAN not working issue is resolved.
2] Update Network Interface Card (NIC) driver
Problems with Wake-on-LAN feature can be caused by your network drivers, and if you have this problem, you should try updating the NIC driver to the latest version.
You can either update your drivers manually via the Device Manager, or you can get the driver updates on the Optional Updates section under Windows Update. You can download the latest version of the driver from the manufacturer’s website.
If updating the NIC drivers to the latest version and the issue still persists, you can try installing the older version of the network adapter driver.
3] Change Power Plan settings
Do the following:
- Right-click the battery icon on the notification area on the right of the Taskbar.
- Select Power Options.
- In the Power Options window, locate your current Power Plan.
- Click on Change plan settings next to it.
- Now click on Change advanced power settings.
- Expand PCI Express section.
- Expand Link State Power Management.
- Now set power saving to Off for both On battery and Plugged in state.
- Click Apply > OK to save changes.
The issue should be resolved now. If not, try the next solution.
4] Configure NIC Power Management settings
The following configuration is for the Intel NIC.
- Press Windows key + X to open the Power User Menu.
- Press M key on the keyboard to open Device Manager.
- Once you’re inside Device Manager, scroll down through the list of installed devices and expand the Network adapters section.
- Right-click the primary network adapter (the first adapter in the list is usually the primary adapter) and select Properties.
- Select the Power Management tab.
- Check the boxes for Allow the computer to turn off this device to save power, Allow this device to wake the computer and Only allow a magic packet to wake the computer.
- Depending on your Intel NIC, if available, check the Wake on Magic Packet and Wake on Pattern Match option and uncheck the Reduce link speed during system idle under Power Saver Options.
- Click OK.
- Restart your computer.
5] Configure NIC Advanced Driver Properties
Check the NIC driver properties in Windows and ensure that WOL is enabled there. These settings can override the BIOS in Windows 10.
The following configuration is for the Realtek PCIe GBE network adapter.
- Open Device Manager.
- Expand the Network adapters section.
- Right-click the Realtek PCIe GBE Family Controller and select Properties.
- Click the Advanced tab.
- In the Property box, select one after the other; Shutdown Wake-On-Lan, Wake on Magic Packet, Wake on pattern match and set the Value to Enabled.
- Then, lastly select WOL & Shutdown Link Speed and set the Value to 10 Mbps.
- Click OK when done.
- Restart your computer.
6] Modify Registry key
This method worked for Realtek network adapters.
Since this is a registry operation, it is recommended that you back up the registry or create a system restore point as necessary precautionary measures. Once done, you can proceed as follows:
- Press Windows key + R to invoke the Run dialog.
- In the Run dialog box, type
regedit
and hit Enter to open Registry Editor. - Navigate or jump to the registry key path below:
Computer\HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Class\{4d36e972-e325-11ce-bfc1-08002be10318}\0002
Keep in mind that the last part might be different on your PC, so you might need to manually find your network adapter.
To easily do that, in Registry Editor, press CTRL + F, then type S5WakeOnLAN
or PowerDownPll
in the box and hit Enter.
- At the location, in the right pane you should see S5WakeOnLAN.
Tip: To see a full list of available states on your host machine, in Command Prompt, type powercfg -a
, hit Enter and verify that states S3, S4 and S5 are available.
- Double-click the entry and change its Value data to 1.
- Click OK to save changes.
- Next, double-click PowerDownPll and set its Value data to 0.
- Click OK to save changes.
- Restart your computer.
If the issue is still unresolved, proceed with the next solution.
7] Manually create a Registry key
Backup the registry or create a system restore point, then proceed as follows:
- Open Registry Editor.
- Navigate or jump to the registry key path below:
Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NDIS\Parameters
- At the location, on the right pane, right-click on a blank space and select New > DWORD (32-bit) Value.
- Name it AllowWakeFromS5.
- Now, double-click the newly created key to edit its properties.
- In the properties windows, set the Value data to 1.
- Click OK to save changes.
- Exit Registry Editor.
- Restart your computer.
The issue should be resolved. Otherwise, try the next solution.
8] Check BIOS settings
If Wake on LAN is not working, the problem might be your BIOS settings. To fix the problem, you need to boot into BIOS and adjust some settings.
Ensure that WOL is enabled in the BIOS under Power Management settings.
Ensure that Deep Sleep is disabled in the BIOS (not applicable to all systems). This power-saving setting turns off the NIC.
If you have Allow PCI to wake up the system setting available in BIOS be sure to enable it as well.
Once done, save changes and check if that solves the problem.
Note: It may be necessary to boot to the Windows desktop after changing the BIOS settings in order for them to be properly applied. There is some interaction between the BIOS settings and the NIC driver settings in Windows.
9] Reset BIOS
This solution requires you to reset BIOS to default settings and then enable APM – you can do that by going to the Advanced section. Wake on LAN feature should start working now. If not, continue with the next solution.
10] Update BIOS
At this point, if you’re still experiencing the issue, you can try updating the BIOS on your system.
Using tools from OEMs is the easiest way to do so. All OEM manufacturers have utilities that help you easily update, BIOS, firmware, and drivers. Search for yours and download it from the official site only. This is the safest way to update the BIOS.
- If you own a Dell laptop you can head over to Dell.com, or you could use Dell Update Utility.
- ASUS users can download the MyASUS BIOS update utility from the ASUS support site.
- ACER users can go here. Enter your Serial Number/SNID or search for your product by Model, select BIOS/Firmware, and click the Download link for the file you want to download.
- Lenovo users can use the Lenovo System Update Tool.
- HP users can use the bundled HP Support Assistant.
Once you complete the manual update of the BIOS on your system, the WOL issue should be resolved.
Any of these solutions should work for you!