How to make hibernation unavailable on a computer that is running Windows Vista (920730)



The information in this article 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 "Longhorn" Beta 2

Beta Information

This article discusses a Beta release of a Microsoft product. The information in this article is provided as-is and is subject to change without notice.

No formal product support is available from Microsoft for this Beta product. For information about how to obtain support for a Beta release, see the documentation that is included with the Beta product files, or check the Web location where you downloaded the release.

INTRODUCTION

This article describes how to make hibernation unavailable on a computer that is running Microsoft 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 not 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.

Modification Type:MajorLast Reviewed:7/25/2006
Keywords:kbhowto KB920730 kbAudEndUser kbAudITPRO