Hibernation on Windows. What is it and how to disable it?
What is hibernation in Windows 7, why is it needed, why does it take several gigabytes on the hard drive, and how to disable it if necessary? Now I will give answers to these questions.
Hibernation is such a way to turn off the computer, in which all open programs, folders and documents are not closed, but saved on the hard disk and the next time you turn on the computer, we can continue to work almost instantly.
Hibernation is very similar to Sleep mode. When you put the computer into sleep mode, the computer also remembers all open applications and restores everything the next time it is turned on. But the minus of the Sleep mode is that if the electricity goes out, or we specially unplug the computer’s cord from the outlet, then all data will be lost.
The hibernation mode is very convenient because it saves all open data to the hard drive, and no matter the next time you turn on your computer, it will continue to work from where you left off.
But there is also a minus in Windows 7 hibernation mode. The trick is on the computer, and more precisely, on the system disk (C :), a special hiberfil.sys file is created, and it usually weighs about 8 gigabytes. And as you know, freeing up disk space C is sometimes very difficult, since it is constantly clogged with various programs and temporary files.
If you use the Hibernation mode in Windows 7 or 8 (in new versions it is simply called – Sleep mode), then of course it is not recommended to disable it. Now you already know what the hiberfil.sys file is on the system disk and what role it plays.
But if you have never put the computer into sleep mode, you can simply turn it off. This is done very simply.
Disable Hibernation in Windows 7
Open Start and type Command Prompt. Having found it, run the program from the Administrator.
Now we need to register a special command powercfg / h off and press the Enter key.
You can enable hibernation in a similar way, only the command is slightly different – powercfg / h on.
The second way, turn off hibernation
In some cases, for some reason, the hibernation mode is not turned off by the above method. On one of my computers, the following method helped:
1. I created a regular notepad and again inserted this code there: powercfg -h off
2. Changed the file extension from txt to bat.
3. And of course, I launched this file as administrator.
Thus, it turned out to delete the hiberfil.sys file.
I wish you good luck when working with the file for hibernation mode.