Computer, Internet, iOS, Android, Smart Phones,
Microsoft Windows, MAC, Linux Tutorials, Tips and Guides

Enable, Disable Hibernation in Windows

0

Computer hibernation is used to save time and power. Hibernation enables computer to save opened programs in hard disk in a file hiberfil.sys present in operating system drive, before going off. On next computer start up, it quickly presents you log on screen behind which all your opened programs are in the state where you left them. It is useful when you want to save power but you need to access the programs quickly in exact previous state. Hibernation is great but resulting hiberfil.sys file gets bigger, sometimes it even gains up to 4GB space in hard disk. This tutorial will show you how to enable or disable PC hibernation and restore or delete the hiberfil.sys file in Microsoft Windows.

Enabling Hibernation allows you to save power and your time. When you activate Hibernate, and use hibernate, Microsoft Windows takes a snapshot of your current session (all your running programs and open files) and writes that information to your hard drive. It is like keeping all opened programs as is, and power off computer. Next time quickly access the same computer state with all running programs without waiting for computer to undergo bootup process.

Disabling hibernation will erase hiberfil.sys file that will clear up some hard disk space. Your computer response time will also slightly increase. When hibernate is disabled, the Hibernate option is missing from the Start Menu (Windows 7), Shut Down Windows dialog, Power menu (Windows 8) and the Advanced Power Plan Options.

You must be logged in as an administrator to be able to enable or disable hibernation in Microsoft Windows. 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. 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.

Enable Hibernation

Turning hibernate on, will restore hiberfil.sys file. Open command prompt by clicking on Start and typing CMD. Right click at CMD.exe and choose run as administrator. Type the following command and hit Enter to enable hibernate.

hibernate on

powercfg -h on

OR

Use Enable_Hibernate.reg file to enable hibernate.

OR

Type regedit in Start, right click on regedit.exe and select run as administrator. Registry editor will be opened. In regedit, navigate to the following location.

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power

In the right pane of the Power key, double click on HibernateEnabled. Type 1 in value data. Click Ok. Close registry editor and restart computer for changes to take effect.

Disable Hibernation

Turning hibernate off, will erase hiberfil.sys file from system. Use following command in command prompt.

powercfg -h off

OR

Use Disable_Hibernate.reg file to disable hibernate.

OR

Type regedit in Start, right click on regedit.exe and select run as administrator. Registry editor will be opened. In regedit, navigate to the following location.

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power

In the right pane of the Power key, double click on HibernateEnabled. Type or change value to 0 in value data. Click Ok. Close registry editor and restart computer for changes to take effect.

Turn Hibernate On/Off for Current Power Plan

If you do not want to enable or disable hibernate entirely, you can choose to edit your power plan options and turn hibernate on or off from there.

Power Options

Open Power Options from Control Panel or type powercfg.cpl in Start or Run and hit Enter.

Click on Change plan settings from right side.
Click on Change advanced power settings.
Expand Sleep.
Under Hibernate after, set the Setting (Minutes) to how many minutes you want your computer to sit idle for before it goes into hibernation.
To turn hibernation off, choose Never for Hibernate after. And under Allow hybrid sleep, set Setting to Off.

For Windows XP

On Windows XP, enable or disable Hibernate through the Power Options from Control Panel.

windows xp hibernate

Go to Control Panel > Power Options.
Select the Hibernate tab in the Power Options Properties dialog box.
Clear or check the Enable Hibernation check box to disable or enable hibernate and click OK.

Similar Tips

About Author

The CEO of tipsNinja at your service. I spend quite enough time with computers and smart devices. I learn everyday and I like to share what I learn. You can subscribe to updates or receive updates in your email. If you have any question, or tipsNinja could not help you in any way, please ask it in Questions/Answers section.

Leave A Reply

css.php