Home / Tutorials / What is hiberfil.sys file? How to delete it in Windows 10

What is hiberfil.sys file? How to delete it in Windows 10

Hyberfil.sys is a file used to store the current state of the windows. As you put your PC in the hibernate mode, it restores all the files later when you need it. However, this occupies a huge space in your hard disk. If you are having space issues and you do not use the hibernate mode, then you can disable it from your system by following guidelines provided in this article.

What is hiberfil.sys?

Windows has two modes for the power management, one is Sleep mode and the other is the hibernation mode. In sleep mode, you leave your computer in a low power state and whenever you use it again you can resume the same work instantly. However, in the hibernation mode the PC shuts the system completely and saves the memory into the hard drive and completely restores the same state as it is turned on again. In this way, power consumption is reduced and there is no need of completely rebooting the windows, but this file takes a significant space of the drive. Windows uses the hiberfil.sys in the hibernation mode in order to completely restore the system.

As the windows manage hiberfil.sis, this file cannot be deleted. But, if you are not using hibernate mode, you can delete the hiberfil.sys file by following the steps mentioned in this article.

Hiberfil.sys

Why delete hiberfil.sys?

It is important to delete this file because it takes huge space on your hard drive. By default, 75 percent of your RAM is occupied by this hidden file and it is stored in the C drive. The settings can be customized in the internet explorer, but if you want to delete it anyways, then there is no need to change the settings. However, if you want to resize it, then open command prompt and enter the “powercfg.exe /hibernate /size 50” command and in this way the 75 percent occupied space will be reduced to 50 percent which is the minimum that can be obtained.

How to check if hibernation is on?

Open the command prompt and check the list, if hiberfil.sys is mentioned in that list, this means that the hibernation mode is on. Or you can check from Windows Explorer in C drive and if you found hiberfil.sys it means it is enabled.

How to disable or delete hiberfil.sys file on windows 10

  1. First, go to the start menu, and right click the command prompt.
  2. Once you are there, enter the following command powercfg.exe -h off. Press enter and then type exit. You may restart your computer now.
  3. You will notice when you click the shutdown option in the start menu, there will no ‘hibernate mode’ anymore. Besides, if you open the local disk C, you will see that hiberfil.sys file has been deleted. In addition, you will get back your space occupied by this file.
  4. To Enable it again you can type the command powercfg -h on and press enter.

How to Disable hibernation

This method of disabling the hibernation mode can be applied to Windows vista, XP, 7 , 8 and 10. The format of the files will be different according to the version of the windows, but the command remains same for each one of them.

This post was last updated on:2016-05-01 | First Published:2016-05-01

About Techexpert

Check Also

Migrate Windows 10 from old HDD to SSD

How to migrate Windows 10 installation from HDD to SSD

Using a system with long booting time irritates the user and affects the work performance. Upgrading ...

9 comments

  1. A tech support site where you can’t copy and paste… jeez. What idiot made that decision.

  2. Don’t need to reboot on win10 after turning it off, at least.

  3. Thank god for this article. Even after disabling all hibernation apps the hiberfil.sys was still there.
    Using the above method worked like a charm, but I really wanna know why it was even bloody there.
    It had bloated to 10GB!

  4. try to run command in administrator mode

  5. Thanks. This has been a huge problem on quite a small HDD.

  6. The solution works perfectly! and YES, command prompt to be opened in admin mode (right click on the icon -> Run as Administrator). My 1.5GB pagefil.sys disappeared after restart.

  7. Hi, it didn’t work for me!
    the message I got: “Unable to perform operation. An unexpected error (0x65b) has occurred: Function failed during execution.”
    any recommendation please.

Write your comment

We will keep your email private and is not visible to others

*