Wake On Lan Settings
I am wanting to send a WoL packet to my desktops before I start a patch job to ensure they all get patched. I have enabled this in the bios but on any of my machines with an Intel NIC there is a setting called "Wake on Link" and unless it is set to "Forced" the computer will not power on. By default this setting is set to "Disabled" does anyone know how I can change it either with a script of some kind or a registry entry?
0 Comments
[ + ] Show comments
Answers (6)
Please log in to answer
Posted by:
costanza
15 years ago
Posted by:
tcasey
15 years ago
Posted by:
jkatkace
15 years ago
A quick search turns up this gem:
http://driveragent.com/archive/17228/image/7-0-92
The pertinent part of which states:
The bolding is mine. It looks like Wake on Link only has to do with coming awake from Standby, and what you're doing when you use "Forced" is overriding what the OS does. It also appears that only wake from standby is supported with ACPI computers.
You might find those utilities that let you mess with the EEPROM settings. You can use those with KBOX Scripting to turn it on across your installed base, if those utilities can be run from Windows. We do this kind of thing with the Dell Client Configuration Utility all the time for Dell machines.
http://driveragent.com/archive/17228/image/7-0-92
The pertinent part of which states:
Wake on Link Settings
Wakes the computer if the network connection establishes link while the computer is in standby mode. You can enable the feature, disable it, or let the operating system use its default.
NOTE: To use the Wake on Link feature with the Intel® PRO/1000 PT Dual Port Server Adapter, Intel� PRO/1000 PT Server Adapter or Intel� PRO/1000 PF Server Adapter, WOL must first be enabled in the EEPROM using IBAUTIL or iSCSIUTL.
NOTE: If a copper-based Intel adapter is advertising a speed of one gigabit only, this feature does not work because the adapter cannot identify a gigabit link at a D3 state.
NOTE: The network cable must be disconnected when entering into S3/S4 in order to wake the system up by link up event.
Default Disabled
Range Disabled
OS Controlled
Forced
The bolding is mine. It looks like Wake on Link only has to do with coming awake from Standby, and what you're doing when you use "Forced" is overriding what the OS does. It also appears that only wake from standby is supported with ACPI computers.
You might find those utilities that let you mess with the EEPROM settings. You can use those with KBOX Scripting to turn it on across your installed base, if those utilities can be run from Windows. We do this kind of thing with the Dell Client Configuration Utility all the time for Dell machines.
Posted by:
afadrilan
14 years ago
I'm trying to use WOL in our environment to do patching after work hours. I was able to wake the computer but it would try to PXE boot instead of booting from the hard drive and would get stuck on that screen until a key is hit. I've checked the BIOS and PXE boot is last on the list. Is there another setting I'm missing?
Posted by:
TJSmithCIQ
14 years ago
Posted by:
lindsamw
14 years ago
Sorry haven't been on these forums for a few days, insanely busy lately. Anyways, I had to do this exact same thing. Here is what I did. I also had to have it work across some broadcoms also. Can provide those registry keys if needed. As far as the intels go, I have had this work all the way back to Dell GX260's (not sure if they required this like the new ones do).
From my kbox scripting page
Verify that “HKLM\SYSTEM\CurrentControlSet\Control\Class\{4D36E972-E325-11CE-BFC1-08002bE10318}\0001!EnablePME†exists.
Reorder | Add…
On Success
Set “HKLM\SYSTEM\CurrentControlSet\Control\Class\{4D36E972-E325-11CE-BFC1-08002bE10318}\0001!EnablePME†to “1â€Â.
Set “HKLM\SYSTEM\CurrentControlSet\Control\Class\{4D36E972-E325-11CE-BFC1-08002bE10318}\0001!WakeOn†to “2â€Â.
Set “[HKLM\SYSTEM\CurrentControlSet\Control\Class\{4D36E972-E325-11CE-BFC1-08002bE10318}\0001!PnPCapabilities†to “32â€Â.
Log “Intel NIC was found†to “statusâ€Â.
Launch “$(KACE_DEPENDENCY_DIR)\wol_restart.exe†with params “â€Â.
Those 3 are required for current intel nics with all their current security junk. You also have to restart the DHCP service. Rebooting the PC does not work, you have to actually restart the service. Haven't investigated why, been too busy. The kbox scripting language doesn't wait long enough for it to restart, and has no built in thing to sleep (ya I could just do something to ping for 7 seconds or whatever, but really how hard would it to be just to add a drop down to pause script execution for x time.) I just wrote myself a little autoit script (thats what that wol_restart.exe above is) that shuts down the service, sleeps for 7 seconds, then turns the service back on.
@afadrilan do you have a kbox 2000 with possible PXE events out there for them?
From my kbox scripting page
Verify that “HKLM\SYSTEM\CurrentControlSet\Control\Class\{4D36E972-E325-11CE-BFC1-08002bE10318}\0001!EnablePME†exists.
Reorder | Add…
On Success
Set “HKLM\SYSTEM\CurrentControlSet\Control\Class\{4D36E972-E325-11CE-BFC1-08002bE10318}\0001!EnablePME†to “1â€Â.
Set “HKLM\SYSTEM\CurrentControlSet\Control\Class\{4D36E972-E325-11CE-BFC1-08002bE10318}\0001!WakeOn†to “2â€Â.
Set “[HKLM\SYSTEM\CurrentControlSet\Control\Class\{4D36E972-E325-11CE-BFC1-08002bE10318}\0001!PnPCapabilities†to “32â€Â.
Log “Intel NIC was found†to “statusâ€Â.
Launch “$(KACE_DEPENDENCY_DIR)\wol_restart.exe†with params “â€Â.
Those 3 are required for current intel nics with all their current security junk. You also have to restart the DHCP service. Rebooting the PC does not work, you have to actually restart the service. Haven't investigated why, been too busy. The kbox scripting language doesn't wait long enough for it to restart, and has no built in thing to sleep (ya I could just do something to ping for 7 seconds or whatever, but really how hard would it to be just to add a drop down to pause script execution for x time.) I just wrote myself a little autoit script (thats what that wol_restart.exe above is) that shuts down the service, sleeps for 7 seconds, then turns the service back on.
@afadrilan do you have a kbox 2000 with possible PXE events out there for them?
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.