Should You Delete the Hiberfil.sys File in Windows 10

By | December 12, 2021

Hibernation in Windows 10 takes up a lot of disk space. You can delete hiberfil.sys, but should you? Here’s what you need to know about hibernation.

When scanning your computer for large files, you will almost certainly find hiberfil.sys. This Windows file is responsible for handling computer hibernation, but what is hibernation for? Do you need this file, or should you delete hiberfil.sys to save space?

We’ll answer these questions and more as we explore hiberfil.sys in Windows 10.

What is Hibernation

Hibernation is one of the few power options in Windows 10. Shutting down, of course, will completely exit Windows and make it safe to unplug your machine. Sleep and hibernation are the other two main options.

Sleep mode/Sleep mode saves your current session to RAM and puts Windows in a low power state. When you’re ready to move on, you can get back into action almost instantly right where you left off. This mode is best when you take a break from using your PC.

Hibernation/Hibernation go further. Instead of storing your sessions in RAM (which is lost if your battery dies or the computer is unplugged), hibernation saves them to your hard drive temporarily and then shuts down. With hibernation, you can unplug your desktop for a week, plug it back in, and then resume right where you left off.

Hibernation is a good option if you don’t plan on using your computer for a long time or need to save sessions without worrying about your machine’s battery draining. It’s also a good choice for laptops, as you can save your status while making sure that your computer will not wake up randomly in your backpack.

Have No Option To Hibernate in Windows 10

If you don’t see the option Hibernate when you click the power icon in the Start menu, you can make a quick change to turn it back on.

To do so, go to Settings and navigate to System > Power & sleep. Under Related settings on the right, click Additional power settings to open the menu Power Options from the Control Panel.

Here in the left sidebar, you will see a info that says Choose Choose what the power buttons do, click it.

In the resulting menu, click text Change settings that are currently unavailable at the top so you can make changes. Then check the box Hibernate to enable it in the power menu.

You can uncheck the other options here if you like, but that’s usually not necessary. The exception is Fast Startup, which can causes slow boot time and other problems.

What Is Hiberfil.Sys In Windows 10

Windows uses the hiberfil.sys file to store your session during hibernation. All the programs and files you had open when you entered hibernation had to go somewhere, of course.

Depending on how much RAM you have, this file can take up to 10GB or more. If you never use hibernation, you can disable the feature and reclaim the disk space.

How To Remove Hiberfil.Sys On Windows 10

However, deleting the file itself will not work, as Windows will simply recreate it. Instead, you can disable hibernation mode by running a single command in the Command Prompt:

  • Right click on the Start Button and select Command Prompt (Admin) or Windows PowerShell (Admin).
  • Enter the following command to disable hibernation:
powercfg -h off

After you do this, Windows will delete the files hiberfil.sys and you will not see Hibernate as an option in the power menu again.

If you want to enable hibernation again later, simply open another admin Command Prompt window and run the command to turn it back on:

powercfg -h on

View Hiberfil.Sys

If you are not sure everything is working properly, you can verify that the hibernation file is gone by looking for it in the root drive C: You. C:hiberfil.sys is the location.

However, you will have to change some folder settings before you can see them. Open a File Explorer window and select the tab View, then button Options. Switch to tab View in the resulting window, then you need to select two options:

  • Show hidden files, folders, and drives:: Enable this.
  • Hide protected operating system files (Recommended): Make sure this box is unchecked.

Should You Disable Hibernation

While it is quite easy to delete hiberfil.sys, whether you should or not is another question.

Really, the only reason to disable hibernation and delete hiberfil.sys is to save disk space. If you have a small SSD with only a few gigabytes free, disabling hibernation makes sense if you never use it. You can try other methods to free up space on Windows before clearing hibernation.

With larger drives (500GB or more), using 1-5 percent of your disk space for useful features isn’t that great.

Unless you leave your PC on all the time, you should try hibernation to see if it works for you before disabling it. When you go into hibernation, there’s no need to close all your programs and shut them down at the end of the day when you’re about to open the same app the next morning.

Hibernation won’t use any extra power, and your PC will boot up much faster than if you shut it down. However, you should know that if you disable hibernation, the Fast Startup feature or hybrid sleep will not work.

As mentioned above, Fast Startup is supposed to help your computer boot up faster by loading some Windows components before you start. This saves a few seconds, but is also known to cause problems. And hybrid sleep is meant to help your computer load faster when it comes out of sleep mode, but that’s not a big change either.

Need Hibernation Or Not

Now that you know all about Windows hibernation, how to disable it, and whether it’s a good idea to do so. For most people, we recommend trying hibernation and seeing if it saves you some time. If you end up never using it and needing extra disk space, go ahead and disable it, Fast Startup doesn’t offer much benefit.