WOL.exe是一个远程开机命令行程序,没有GUI操作界面,可通过命令向指定MAC地址的远程计算机发送“Wake on LAN”数据包,实现远程唤醒/开机的功能。
一、远程开机命令举例:
wol 5c9d32b5f287
wol 5c-9d-32-b5-f2-87 192.168.0.1
wol 5C:9D:32:B5:F2:87 192.168.0.1 16962
wol 5C.9D.32.B5.F2.87 9
二、密码设置
此外,可以使用/ pwd开关指定SecureOn密码。仅当您将服务器配置为需要此密码时,才能使用此密码。密码可以是原始字符(最多六个)或十六进制。可以选择以冒号,破折号或句点分隔十六进制对。例子:
wol 5C:9D:32:B5:F2:87 / pwd sesame
wol 5C:9D:32:B5:F2:87 / pwd 736573616D65
wol 5C:9D:32:B5:F2:87 / pwd 73:65:73:61:6D:65
wol 5C:9D:32:B5:F2:87 / pwd 73-65-73-61-6D-65
wol 5C:9D:32:B5:F2:87 / pwd 73.65.73.61.6D.65
三、启用WOL
在Windows,设备管理器,网络适配器中,右键单击您的网络适配器并选择属性。相关设置位于“高级”和“电源管理”选项卡上。他们走了很多名字,所以如果你看到他们就改变他们:
Shutdown Wake On Lan = enabled
Wake on Magic Packet = enabled
Wake on pattern match = enabled
WakeUp on ARP/PING = enabled
Wake on Magic Packet from power off state = enabled
Wake Up Capabilities = Magic Packet
Allow the computer to turn off this device to save power = checked
Allow this device to wake the computer = checked
Only allow a magic packet to wake the computer = checked
Only allow management stations to bring this computer out of standby = checked
Green ethernet = disabled
四、在主板BIOS中:
Wakeup on Lan = enabled
S5 Wake on Lan = enabled (HP)
Wake on Lan from S5 = enabled (AMI)
Resume by PCI-E device = enabled
Power on by PCI-E/PCI = enabled
Remote Wake Up = enabled
WOL(PME#) From Soft Off = enabled (Biostar)
Resume By PCI/PCI-E/Lan PME = enabled (ECS)
EuP 2013 = disabled
五、Windows 8/8.1/10可能会干扰WOL。按照以下步骤:
按Win + X并选择电源选项。
点击“选择电源按钮的功能”。
单击“更改当前不可用的设置”。
向下滚动到“关机设置”,取消选中“启动快速启动(推荐)”。
点击“保存更改”。