The Computer Returns to the Desktop Instead of Hibernating (317260)



The information in this article applies to:

  • Microsoft Windows 98
  • Microsoft Windows 98 Second Edition

This article was previously published under Q317260
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

SYMPTOMS

If you try to hibernate a Windows 98-based or Windows 98 Second Edition-based computer on which hibernation is enabled, the computer may not hibernate. Instead, Windows may return to the desktop.

CAUSE

This behavior may occur if a Universal Serial Bus (USB) device that is capable of allowing hibernation rejects hibernation because the OkToHibernate registry value is not set. This behavior is more likely to occur with USB multimedia devices. One example of such a device is the IBM UltraPort Array Microphone. This device is detected as a generic USB composite device, so the OkToHibernate registry value is not added during installation.

RESOLUTION

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 resolve this behavior, add the OkToHibernate registry value for the appropriate USB device:
  1. Start Registry Editor (Regedit.exe).
  2. Locate and click the following key in the registry, where xxxx is an incremented number starting at 0000 and increasing by one for every device of this type:

    HKLM\System\CurrentControlSet\Services\Class\Media\xxxx

  3. On the Edit menu, point to New, and then click Binary Value.
  4. Type the value name as shown:

    Value name: OkToHibernate
    Data type: BINARY
    Value data: 01

  5. Double-click the new value name, type the value data as indicated above, and then click OK.
  6. Quit Registry Editor.

STATUS

This behavior is by design.

MORE INFORMATION

These are examples of devices that may encounter this issue and require the resolution that is described in this article:
  • IBM UltraPort Array Microphone

Modification Type:MinorLast Reviewed:12/17/2004
Keywords:kbenv kbprb KB317260