How to Enable or Disable Hibernation in Vista
If you accidentally wiped out the Hibernation file Cleaner
in Disk Cleanup and caused your hybrid sleep or hibernate mode to stop working, then you accidentally disabled the hiberfil.sys
file. By default, the size of the hiberfil.sys
file is 75%
of the total amount of installed RAM (memory) when hibernate is enabled in Vista
For more information, see: Microsoft Help and Support: KB929658
and Microsoft Help and Support: KB928897
If you cleaned (disabled) this, all Hybrid and Hibernate settings will also be removed from the Advanced Power Options window. You will still be able to use normal Sleep mode though.
Using an Elevated Command Prompt
Open a Elevated Command Prompt
Click on Continue
in the UAC prompt.
3. To Enable or Restore the Hibernation File
4. To Disable or Remove the Hibernation File
NOTE: Using Disk Cleanup in METHOD TWO below is another way to disable or remove the hibernation file
A) In the elevated command prompt, type powercfg -h on
and press Enter
. (See screenshot below step 4)
B) Set the recommended settings for Hibernation in STEP TWO here
C) Go to step 5.
A) In the elevated command prompt, type powercfg -h off and press Enter.
Close the elevated command prompt when it is finished.
NOTE: The Hibernation File Cleaner is now added back or removed from Disk Cleanup and the hibernate sleep mode is enabled or disabled again
Using Disk Cleanup
1. Open Disk CleanupThat's it,
2. To Disable or Remove the Hibernation File
A) Check the Hibernation File Cleaner box and click OK. (See screenshot below)
B) Click on Delete Files to confirm. (See screenshot below)
NOTE: Disk Cleanup will now delete the Hibernation file and close.