Microsoft KB Archive/920730

= How to disable and re-enable hibernation on a computer that is running Windows Vista =

Article ID: 920730

Article Last Modified on 11/26/2007

-

APPLIES TO


 * Windows Vista Business
 * Windows Vista Enterprise
 * Windows Vista Home Basic
 * Windows Vista Home Premium
 * Windows Vista Starter
 * Windows Vista Ultimate
 * Microsoft Windows Server &quot;Longhorn&quot; Beta 2

-



INTRODUCTION
This article describes how to disable and re-enable hibernation on a computer that is running Windows Vista.

Warning You may lose data if you make hibernation unavailable when the hybrid sleep setting on the computer is turned on, and a power loss occurs. When you make hibernation unavailable, hybrid sleep does not work.



MORE INFORMATION
The Hiberfil.sys hidden system file is located in the root folder of the drive where the operating system is installed. The Windows Kernel Power Manager reserves this file when you install Microsoft Windows. The size of this file is approximately equal to the amount of random access memory (RAM) that is installed on the computer.

The computer uses the Hiberfil.sys file to store a copy of the system memory on the hard disk when the hybrid sleep setting is turned on. If this file is not present, the computer cannot hibernate.

Hibernation is made unavailable when you set the value of the Hibernate after setting to Never by using the Power Options item in Control Panel. To make hibernation unavailable, follow these steps:
 * 1) Click Start, and then type cmd in the Start Search box.
 * 2) In the search results list, right-click Command Prompt, and then click Run as Administrator.
 * 3) When you are prompted by User Account Control, click Continue.
 * 4) At the command prompt, type powercfg.exe /hibernate off, and then press ENTER.
 * 5) Type exit, and then press ENTER.

To make hibernation available, follow these steps:
 * 1) Click Start, and then type cmd in the Start Search box.
 * 2) In the search results list, right-click Command Prompt, and then click Run as Administrator.
 * 3) When you are prompted by User Account Control, click Continue.
 * 4) At the command prompt, type powercfg.exe /hibernate on, and then press ENTER.
 * 5) Type exit, and then press ENTER to close the Command Prompt window.

Keywords: kbhowto KB920730

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.