Enable or Disable Hibernation in Windows

Hibernation is a special power saving state designed for laptops which do not have easy access to power supply for an extended amount of time. When you put your computer to sleep, your running programs stay in the memory (RAM) and your computer keeps drawing power to keep the RAM running. Hibernation on the other hand stores the content of your computer's memory on the hard disk in a hidden protected system file (C:/hiberfil.sys) which generally consumes disk space equal to 75% of your computer's RAM size.

This means that all your running programs and open documents are stored on your computer's hard disk as opposed to staying in the RAM. So, after hibernation, when you start your computer, your running programs are loaded in your computer's memory from your computer's hard disk. This leads to a reduction in the amount of power consumed as your computer does not constantly need power to keep your RAM running.
Enable Hibernate

This article contains some methods you can use to enable or disable the Hibernate option in your computer. You need to use an Administrator account for these methods to work.

Enable or Disable Hibernation with the Registry Editor

1) Press Windows key+R key combination to load the Run dialog box. Type "regedit" without quotes and press Enter to load the Windows Registry Editor. A warning from UAC might be displayed. If you receive an error stating that the "Registry Editor has been disabled by your Administrator", you need to enable it first.
2) In Registry Editor, navigate to "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power".
3) In the work area, look forthe Dword value "HibernateEnabled" and double click on it.
4) In the pop up box, see if the Dword value has "1" in the value data field. If it is not, type 1 in the value data field and click OK. This will restore the hiberfile.sys file in your system drive.
Note: If the value was already 1 or if even after changing it to 1, the Hibernate option is not visible under power options after Sleep, follow the steps mentioned at the end of this article to make it visible.
5) To disable Hibernation, enter 0 in the value data field in the previous step. This will also remove the hiberfil.sys from your system drive which will free up some space.
6) Restart your computer for the changes to take place.

Enable or Disable Hibernation by simply executing a Registry(.reg) file

1) Open Notepad.
2) To enable the Hibernate option, copy and paste the exact code given below.

Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power]
"HibernateEnabled"=dword:00000001
3) To disable the Hibernate option, copy and paste the code given below.

Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power]
"HibernateEnabled"=dword:00000000
4) Click on File>Save As>select Save as type to All Files and save the file as "Hibernate.reg" or "*.reg".
5) Double click on the saved file. You might need to agree to a warning from the UAC.
6) Restart your computer for the changes to take place.

Note: If Hibernation is enabled but still not visible under Power options, follow the steps mentioned at the end of this article.

Enable or Disable Hibernation using the Elevated Command Prompt

1) Open Start Menu/ Screen.
2) Type "cmd" in the search box and press Ctrl+Shift+Enter key combination to launch the Elevated Command Prompt. A warning from UAC might be displayed.
3) To enable Hibernation, type and execute the following command.

powercfg -h on
4) To disable Hibernation, type and execute the following command.

powercfg -h off
5) Close the Command Prompt and restart your computer for the changes to take place.

Note: If the Hibernate option is not visible in Power menu after enabling it or if you want to remove it from the Power menu, follow the steps given below:-
1) Go to Power Options from the Control Panel's Icons view.
2) In the right navigation menu, click on "Choose what the Power buttons do".
3) In the following window, click on "Change settings that are currently unavailable". A warning from UAC might be displayed. If you have completely disabled notifications from UAC, no such link will be there and you can directly move forward.
4) Under Shutdown settings, tick the "Hibernate" option to show it in Power menu. To remove it from the power menu, untick the "Hibernate" option.
5) Click on Save changes.

The techniques mentioned in this article work on Windows 10, Windows 8.1, Windows 8 and Windows 7.