Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Hibernate - Enable or Disable



Hibernate - Enable or Disable

How to Enable or Disable Hibernate in Windows 7 and Windows 8
Published by Brink
07 Dec 2008
Default Hibernate - Enable or Disable

How to Enable or Disable Hibernate in Windows 7 and Windows 8


information   Information
Hibernation is a power-saving state designed primarily for laptops. While sleep puts your work and settings in memory and draws a small amount of power, hibernation puts your open documents and programs on your hard disk, and then turns off your computer. Of all the power-saving states in Windows, hibernation uses the least amount of power. On a laptop, use hibernation when you know that you won't use your laptop for an extended period and won't have an opportunity to charge the battery during that time.

This tutorial will show you how to enable or disable hibernate and restore or delete the hiberfil.sys file in Windows 7 and Windows 8.

When hibernate is disabled, the Hibernate option is missing from the Start Menu (Windows 7 only), Shut Down Windows dialog, Power menu (Windows 8 only) and the Advanced Power Plan Options.

You must be logged in as an administrator to be able to do the steps in this tutorial.

Note   Note
By default, the size of the hidden protected OS hibernation file (C:\hiberfil.sys) is 75% of the total amount of installed RAM on your computer.

Tip   Tip
warning   Warning
If you disable hibernate in Windows 8 and 8.1, then it will also disable fast startup.






OPTION ONE
To Enable or Disable Hibernate in an Elevated Command Prompt
1. Open an elevated command prompt.

2. Do step 3 or step 4 below for what you would like to do.

3. To Enable Hibernate
NOTE: This step will restore the hiberfil.sys file, and the Allow hybrid sleep and Hibernate after Power Options under Sleep.
A) In the elevated command prompt, copy and paste the command below, and press Enter. (see screenshot below)
powercfg -h on


Name:  Enable.jpg
Views: 661436
Size:  47.6 KB
C) If you would also like to have hibernate turned on, then you will also need do to step 2 in OPTION FOUR below.

D) Go to step 5 below.
4. To Disable Hibernate
NOTE: This step will disable hibernation, delete the hiberfil.sys file, and remove the Allow hybrid sleep and Hibernate after Power Options under Sleep. This will also disable fast startup in Windows 8.
A)In the elevated command prompt, copy and paste the command below, and press Enter. (see screenshot below)
powercfg -h off


Name:  Disable.jpg
Views: 706696
Size:  47.4 KB
B) Check your Power Options to make sure that the Critical battery action and Low battery action settings under Battery are not set to Hibernate, and go to step 5 below. (see screenshot below)
Name:  Battery_Power_Options.jpg
Views: 65777
Size:  93.2 KB
5. You can now close the elevated command prompt if you like.



OPTION TWO
To Enable or Disable Hibernate using a REG File Download
1. To Enable Hibernate
NOTE: This step will restore the hiberfil.sys file, and the Allow hybrid sleep and Hibernate after Power Options under Sleep.
A) Click/tap on the Download button below to download the file below, and go to step 3 below.
Enable_Hibernate.reg

download
2. To Disable Hibernate
NOTE: This step will disable hibernation, delete the hiberfil.sys file, and remove the Allow hybrid sleep and Hibernate after Power Options under Sleep. This will also disable fast startup in Windows 8.
A) Check your Power Options to make sure that the Critical battery action and Low battery action settings under Battery are not set to Hibernate. (see screenshot below)
Name:  Battery_Power_Options.jpg
Views: 65777
Size:  93.2 KB
B) Click/tap on the Download button below to download the file below, and go to step 3 below.
Disable_Hibernate.reg
download
3. Save the .reg file to your desktop.

4. Double click/tap on the downloaded .reg file to merge it.

5. Click/tap on Run, Yes (UAC), Yes, and OK when prompted to approve the merge.

6. Restart the computer to apply the changes.

7. If you would also like to have hibernate turned on, then you will also need do to step 2 in OPTION FOUR below.

8. When finished, you can delete the downloaded .reg file if you like.



OPTION THREE
To Enable or Disable Hibernate in Registry Editor
1. Press the Windows + R keys to open the Run dialog, type regedit, and click/tap on OK.

2. In regedit, navigate to the location below. (see screenshot below)
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power

Hibernate - Enable or Disable-reg-1.jpg
3. In the right pane of the Power key, double click/tap on HibernateEnabled, and do step 4 or 5 below for what you would like to do. (see screenshot above)

4. To Enable Hibernate
NOTE: This step will restore the hiberfil.sys file, and the Allow hybrid sleep and Hibernate after Power Options under Sleep.
A) Type in 1, click/tap on OK, and go to step 6 below. (see screenshot below)
Name:  REG-2.jpg
Views: 590421
Size:  24.5 KB
5. To Disable Hibernate
NOTE: This step will disable hibernation, delete the hiberfil.sys file, and remove the Allow hybrid sleep and Hibernate after Power Options under Sleep. This will also disable fast startup in Windows 8.
A) Type in 0 (zero), and click/tap on OK. (see screenshot above)

B) Check your Power Options to make sure that the Critical battery action and Low battery action settings under Battery are not set to Hibernate, and go to step 6 below. (see screenshot below)
Name:  Battery_Power_Options.jpg
Views: 65777
Size:  93.2 KB
6. Close regedit, and restart the computer to apply the changes.

7. If you would also like to have hibernate turned on, then you will also need do to step 2 in OPTION FOUR below.



OPTION FOUR
To Turn Hibernate On or Off in Power Options

NOTE: This option does not disable hibernate, but only turns it on or off for your power plan.
1. Do either step 2 or step 3 below for what you would like to do.

2. To Turn On Hibernate
NOTE: You could also use a hibernate shortcut to manually put the computer into hibernation instead or in addition to this option.
A) If you have not already, then you will need to enable hibernate using either OPTION ONE, OPTION TWO, or OPTION THREE above first.

B) Open the Advanced Power Plan Settings for your power plan, then expand Sleep. (see screenshot below step 4)

C) Under Hibernate after, set the Setting (Minutes) to how many minutes you want your computer to sit idle for before it goes into hibernation. (see screenshot step 4)

D) Go to step 4.
3. To Turn Off Hibernate
NOTE: If you disabled hibernate using OPTION 1, 2, or 3 above, then there's no need to do this since Hibernate after and Allow hybrid sleep will no longer be listed in your power options.
A) Open the Advanced Power Plan Settings for your power plan, and expand Sleep. (see screenshot below step 4)
B) Under Hibernate after, set the Setting (Minutes) to Never. (see screenshot below step 4)

C) Under Allow hybrid sleep, set Setting to Off. (see screenshot below step 4)

D) Go to step 4.
4. When finished, click/tap on OK. (see screenshot below)
Name:  Power_Options.jpg
Views: 614592
Size:  115.6 KB
That's it,
Shawn





Related Tutorials

Published by
27 Feb 2009   #1
Dinesh

Windows® 8 Pro (64-bit)
 
 

Nice tutorial Shawn but just in case hibernation option is not present even after typing this command, then just go to power options n click on Change advanced power settings, then expand Sleep n disable Allow hybrid sleep n expand Power buttons n lid, change the power button action to hibernate.


My System SpecsSystem Spec
27 Feb 2009   #2
Brink
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

Hi Dinesh,

This was to just simply enable or disable hibernation, but you make a good point to include doing so in the Power Plan settings as well. The tutorial has been updated to include that as well.

Thank you,
Shawn
My System SpecsSystem Spec
28 Feb 2009   #3
Dinesh

Windows® 8 Pro (64-bit)
 
 

Anytime Shawn.
My System SpecsSystem Spec
.


03 Mar 2009   #4
vindows

Widnows 7 Ultimate Beta x64 Build 7100
 
 

Ya I would better prefer by setting up my Power Plan.
My System SpecsSystem Spec
03 Mar 2009   #5
Brink
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

It's unanimous then.
My System SpecsSystem Spec
05 Mar 2009   #6
Airbot

Windows 7 Ultimate x64 SP1
 
 

Hi Shawn,

The option isn't available in Disk Cleanup anymore, at least with the current build I'm running.
My System SpecsSystem Spec
05 Mar 2009   #7
limneos

Windows 7 RC 7100 32bit/64bit
 
 

Quote   Quote: Originally Posted by Airbot View Post
Hi Shawn,

The option isn't available in Disk Cleanup anymore, at least with the current build I'm running.
Hey Aaron...
Do you already have hibernation enabled?
My System SpecsSystem Spec
05 Mar 2009   #8
Airbot

Windows 7 Ultimate x64 SP1
 
 

No, why? Is it only supposed to show up with it enabled? Cuz I always have it disabled in other builds and had the option in Disk Cleanup. I enabled it to see, still not there. I'm using build 7048 x64. I don't need to use it, just reporting that the option's not there.
My System SpecsSystem Spec
05 Mar 2009   #9
limneos

Windows 7 RC 7100 32bit/64bit
 
 

Yes, after several tests, enabling it, hibernating, resuming back, I can confirm the option is not there in 7048, however it's always there in 7000. I guess the new build either deletes automatically the temp file used, or it does not include this feature in disk cleanup.

I think I read somewhere about it..

Will post the link when I find it.
My System SpecsSystem Spec
Comment

 Hibernate - Enable or Disable




Tutorial Tools



Similar help and support threads for2: Hibernate - Enable or Disable
Windows 7 Tutorial Category
Taskbar Always On Top - Disable or Enable Tutorials
Gadgets - Enable or Disable Tutorials
Can't re-enable internal mic after disable Sound & Audio
Blue screen on start up after trying to enable hibernate on BSOD Help and Support
Flip 3D - Enable or Disable Tutorials
Backup to CD or DVD - Enable or Disable Tutorials
How to disable Lock on wake-up after Hibernate? General Discussion

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd

All times are GMT -5. The time now is 07:23 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33