Sunteți pe pagina 1din 2

https://support.microsoft.

com/en-us/help/2740020/information-about-power-
management-setting-on-a-network-adapter
To use Registry Editor to disable the Allow the computer to turn off this device to
save power network adapter setting for a single computer, follow these steps:

Click Start, click Run, type regedit in the Open box, and then click OK.
Locate and then click the following registry subkey:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E972-E325-11CE-
BFC1-08002bE10318}\DeviceNumber
NoteDeviceNumber is the network adapter number. If a single network adapter is
installed on the computer, the DeviceNumber is 0001.
Click PnPCapabilities.
On the Edit menu, click Modify.
In the Value data box, type 24, and then click OK.

Note By default, a value of 0 indicates that power management of the network


adapter is enabled. A value of 24 will prevent Windows 7 from turning off the
network adapter or let the network adapter wake the computer from standby.
On the File menu, click Exit.
ADDITIONAL INFORMATION

You have 3 options for the power management properties of the Network Card:

Option 1: Allow the computer to turn off this device to save power
Option 2: Allow this device to wake the computer
Option 3: Only allow a magic packet to wake the computer

The different possible combinations which exist along with their DWORD values (in
decimal and hex) are:

Option 1 and option 2 are checked, Option 3 is un-checked: This is default and
hence its value is 0
Option 1, option 2 and option 3 are all checked: The value becomes 0x100 (256)
Only option 1 is checked: The value becomes 0x110 (272)
Option 1 is un-checked (Note that option 2 and option 3 will be greyed out as a
result): The value becomes 0x118 (280)

A conflict happens for the DWORD value for the last step where Option 1 is only
checked, if the following steps are done exactly as mentioned below:

If you check all the boxes, then the value is 256 (0x100).
If you un-check the box 1, which will grey out the other two, the value becomes
280 (0x118).
If you check all the boxes except, the 3rd one, PNPCapabilites value becomes 0.
If step 2 is repeated, the value becomes 24 (0x18).

Now, the values are different for the same setting because the way it has been
achieved.

For deployment purpose, to keep the value for Allow the Computer to turn off this
device to save powercleared, one needs to use the value 24 (0x18). Reason being, by
default the option 1 and 2 are checked, which is same as DWORD value 0 of this key
(even though the key does not exist in the registry by default). Hence, creating
this key with a value 24 (0x18) in the deployment script/build process will inject
this entry in the registry which in turn should uncheck the first box during server
startup.

In the same way, if you want to keep the Allow the Computer to turn off this device
to save power checked and the Option 2 and 3 cleared, the required value would be
10 (0x16).

S-ar putea să vă placă și