Microsoft KB Archive/837058

From BetaArchive Wiki

Article ID: 837058

Article Last Modified on 4/28/2004



APPLIES TO

  • Microsoft Windows XP Professional
  • Microsoft Windows XP Home Edition




Important This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry


INTRODUCTION

When you deploy Microsoft Windows XP with the Microsoft Windows System Preparation Tool (Sysprep), you may want to disable the Allow the computer to turn off this device to save power network adapter power management setting on some computers. If you disable this setting on portable computers, it may help preserve battery power when the network adapter causes the computer to resume unexpectedly.

MORE INFORMATION

You can use Device Manager to change the power management settings for a network adapter. To disable this setting in Device Manager, expand Network Adapters, right-click the adapter, click Properties, click the Power Management tab, and then clear the Allow the computer to turn off this device to save power check box.

However, with some Windows XP installations, you may want to use the Windows XP registry or the Sysprep utility to disable the Allow the computer to turn off this device to save power network adapter power management setting.

How to use Registry Editor to disable network adapter power management on a single computer

Warning If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

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:

  1. Click Start, click Run, type regedit in the Open box, and then click OK.
  2. 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.
  3. Click PnPCapabilities.
  4. On the Edit menu, click Modify.
  5. In the Value data box, type 38, and then click OK.

    Note By default, a value of 20 indicates that power management of the network adapter is enabled. A value of 38 will prevent Windows XP from turning off the network adapter or let the network adapter wake the computer from standby.
  6. On the File menu, click Exit.

How to disable network adapter power management with a registry file that you can include with your Windows XP deployment

You can create a registry (.reg) file that disables the Allow the computer to turn off this device to save power setting. When you use the Sysprep utility, you can include the registry file as part of your Windows XP deployment. To create the registry file, follow these steps:

  1. Start a text editor such as Notepad.
  2. On the File menu, click New.
  3. Type or copy the following text:

    Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E972-E325-11CE- BFC1-08002bE10318}\DeviceNumber]
    "PnPCapabilities"=dword:00000038

    NoteDeviceNumber is the network adapter number. If a single network adapter is installed on the computer, the DeviceNumber is 0001.
  4. On the File menu, click Save.
  5. Save the file with the .reg file name extension.
  6. Quit Notepad.


REFERENCES

For additional information about how to use the Sysprep utility to deploy Windows XP, click the following article number to view the article in the Microsoft Knowledge Base:

302577 How to use Sysprep.exe tool to automate successful deployment of Windows XP



Additional query words: disabled manage sleep

Keywords: kbhowto KB837058