Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm in a position where I need to enable Wake on LAN for roughly 50 machines. I don't want to have to go round every one and adjust the settings for it, but it's looking increasingly like I'll have to.

The network cards have a setting in the "advanced" tab of the adapter configuration panel that needs to be toggled from "off" to on to allow the wake on LAN to take place (I can't provide a screenshot from one of the machines with that card, but here's one of the same dialog from a virtual machine so you know which one I mean).

Note that this setting isn't the same as the one on the power management tab.

I'd ideally like to change this configuration from a command line utility or script; could anyone point me to a location in the registry where device configuration is held, or a utility which could change these settings from Command Prompt?

Thus far, I've found DevCon - a command line alternative/frontend to device manager, but I don't think it has the settings I need.

Cheers in advance :)

share|improve this question
For the benefit of possible future readers whose problem is the setting on the power management tab: see – Harry Johnston Aug 2 '12 at 1:44

It appears this can be set using WMI. Look at the Win32_NetworkAdapterConfiguration class for the details. Also, you can use Powershell to manipulate WMI from the command-line.

share|improve this answer
nothing about WoL or custom settings on…? – jackweirdy Aug 1 '12 at 7:56
up vote 0 down vote accepted

Solved this by searching in the registry for the brand name and modifying a boolean key in the HKEY_Local_Machine\system branch for the network card.

share|improve this answer

Since jackweirdy did not provide the exact location of the keys he modified, they can be found here:


You just need to simply determine the correct adapter....Vinith Menon has provided a great example of this here:

Simply scroll down to the relevant part of the script under the following comment:

<#Below we set the advanced property #>

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .