How do I enable hibernation on my Windows Vista machine?

A. If the hiberfil.sys file on the system partition is removed, the option to hibernate is not available. A common reason for the hiberfil.sys to be deleted is from running the Disk Cleanup Tool, as explained in the Microsoft article "The hybrid sleep feature and the hibernation feature in Windows Vista may become unavailable after you use the Disk Cleanup Tool" ( ).

To create the hibernate file and reenable hibernation, use the following command:


C:\>powercfg -h on

This command will re-enable hibernation. Likewise, you can use -h off switch to delete the hibernation file and disable hibernation.

Hide comments


  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.