Hibernate - Enable or Disable

Page 1 of 12 12311 ... LastLast
    Hibernate - Enable or Disable

    Hibernate - Enable or Disable

    How to Enable or Disable Hibernate in Windows 7 and Windows 8
    Published by
    Designer Media Ltd


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


       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

    • 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.
    • In Windows 7, you can set your computer to either use or not use the Hybrid or Hibernate sleep mode option from the Advanced Power Plan Options.
    • In Windows 7, you will only see Hibernate listed in the Start Menu power button arrow menu if you have Hybrid turned off in the Advanced Power Plan Options.
    • Windows 8/8.1 PCs with InstantGo don't have the hibernate option
    • If you disable hibernate in Windows 8 and 8.1, then it will also disable fast startup.


    For Windows 10 instructions please see the following link - Hibernate - Enable or Disable in Windows 10 - Windows 10 Tutorials

    CONTENTS:
    • Option One: Enable or Disable Hibernate in Elevated Command Prompt
    • Option Two: Enable or Disable Hibernate using a REG File Download
    • Option Three: Enable or Disable Hibernate in Registry Editor
    • Option Four: To Turn On or Off Hibernate in Advanced Power Options





    OPTION ONE

    Enable or Disable Hibernate in 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


    Hibernate - Enable or Disable-enable.jpg
    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) If you like, you may also wish to add or remove Hibernate from power menus.

    E) 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


    Hibernate - Enable or Disable-disable.jpg
    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)
    Hibernate - Enable or Disable-battery_power_options.jpg
    5. You can now close the elevated command prompt if you like.



    OPTION TWO

    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)
    Hibernate - Enable or Disable-battery_power_options.jpg
    B) Click/tap on the Download button below to download the file below, and go to step 3 below.
    Disable_Hibernate.reg
    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. If you like, you may also wish to add or remove Hibernate from power menus.

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



    OPTION THREE

    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)
    Hibernate - Enable or Disable-reg-2.jpg
    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)
    Hibernate - Enable or Disable-battery_power_options.jpg
    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.

    8. If you like, you may also wish to add or remove Hibernate from power menus.



    OPTION FOUR

    To Turn Hibernate On or Off in Advanced 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)
    Hibernate - Enable or Disable-power_options.jpg
    That's it,
    Shawn












  1. Posts : 8,476
    Windows® 8 Pro (64-bit)
       #1

    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 Computer


  2. Posts : 71,959
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #2

    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 Computer


  3. Posts : 8,476
    Windows® 8 Pro (64-bit)
       #3

    Anytime Shawn.
      My Computer


  4. Posts : 32
    Widnows 7 Ultimate Beta x64 Build 7100
       #4

    Ya I would better prefer by setting up my Power Plan.
      My Computer


  5. Posts : 71,959
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #5

    It's unanimous then.
      My Computer


  6. Posts : 18,404
    Windows 7 Ultimate x64 SP1
       #6

    Hi Shawn,

    The option isn't available in Disk Cleanup anymore, at least with the current build I'm running.
      My Computer


  7. Posts : 1,009
    Windows 7 RC 7100 32bit/64bit
       #7

    Airbot said:
    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 Computer


  8. Posts : 18,404
    Windows 7 Ultimate x64 SP1
       #8

    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 Computer


  9. Posts : 1,009
    Windows 7 RC 7100 32bit/64bit
       #9

    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 Computer


 
Page 1 of 12 12311 ... LastLast

  Related Discussions
Our Sites
Site Links
About 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 03:08.
Find Us