Advertisement

How to Delete Hiberfil.sys (Hibernation) File in Windows 10

When hibernation is enabled in Windows 10, the OS creates a file called hiberfil.sys in the root of your C: drive. Also, there is a feature called Fast Startup to speed up the boot process. When enabled, it makes Windows boot very fast. The operating system uses a hybrid shutdown which writes the memory occupied by the OS kernel and loaded drivers to the C:\hiberfil.sys file.

Advertisеment

By default, the hiberfil.sys file is not visible in File Explorer. You need to change its options to see the file. For reference, see the article

How to Show Hidden Files in Windows 10

Depending on the size of the RAM installed in your computer, the hiberfil.sys file might reach several GBs in size. It can be a very big file. If you need to free up your system drive's space quickly or if you are running low on disk space and this prevents you from finishing your tasks, you can delete the hiberfil.sys file. First of all, you should check out if it is worth proceeding. Here is how to find the current size of the hibernation file. Do the following.

Find the size of the hiberfil.sys file

  1. Open File Explorer.
  2. Navigate to the root of your system drive, usually C:.
  3. Click on File - Options.File Explorer Menu File Options
  4. Go to the View tab.File Explorer View Tab
  5. Turn on the option Show hidden files, folders, and drives.File Explorer Show System Files
  6. Now, uncheck the option Hide protected operating system files.
  7. Windows now shows the hiberfil.sys file and its size.Windows 10 Hiberfil Sys File In File Explorer

How to Delete Hiberfil.sys (Hibernation) File in Windows 10

The only way to delete the hiberfil.sys system file is to disable the hibernation feature. Personally, I find hibernation very useful, so I recommend you disable it only as a temporary solution to free up a considerable amount of disk space. Once you complete your tasks, consider enabling it again. This will restore the hiberfil.sys file.

To delete the hiberfil.sys (Hibernation) file in Windows 10, do the following.

  1. Open the command prompt as Administrator.
  2. Type the following command: powercfg -h off.Windows 10 Delete Hiberfil Sys File
  3. The hiberfil.sys hibernation file is now deleted.Windows 10 Hiberfil Sys File Is Deleted
  4. Complete your tasks and enable hibernation by running the command powercfg -h on in the command prompt.

You are done.

There are a number of tweaks you can apply to the hibernation file in Windows 10. Refer to the following articles.

That's it.

Support us

Winaero greatly relies on your support. You can help the site keep bringing you interesting and useful content and software by using these options:

If you like this article, please share it using the buttons below. It won't take a lot from you, but it will help us grow. Thanks for your support!

Advertisеment

Author: Sergey Tkachenko

Sergey Tkachenko is a software developer who started Winaero back in 2011. On this blog, Sergey is writing about everything connected to Microsoft, Windows and popular software. Follow him on Telegram, Twitter, and YouTube.

6 thoughts on “How to Delete Hiberfil.sys (Hibernation) File in Windows 10”

  1. Good tip. I think Windows enable it again after each feature update though, so you might have to do it again after?

    Also, during testing on computers that are a bit fast with SSDs, I found that disabling fast boot made the computer actually boot faster, plus it gives you a real clean start every time you boot, which could maybe reduces the risk of issues. It also makes the computer shutdown faster as well.

    For this reason, I always deactivate hibernation and fast boot. The normal sleep mode already uses a very low amount of power, no need for hibernate for many.

  2. I agree with Joe…..I work in IT at a financial institution and fix computers for a living. Personally I always disable Fast Startup and Hibernation if running a SSD or M.2 Hard Drives as they are already superfast and you gain next to nothing. I find many strange issues with booting and shutting down solved by disabling both.

  3. Agree with comment above and would like to add that it’s best to disable it and fast startup if you’re multibooting with Linux and require read/write access to your NTFS drives (problems will occur at some point). Hiberation can be useful, but so is shutting down cleanly. Fast startup is problematic, it can also be called slow shut down or strange lingering restarts and I wouldn’t use it even if I was using Windows exclusively. All system drives are SSD and pretty cheap (in price) and start up, shut down or restart happens in a in a predictable few seconds with it disabled.

  4. This does not remove the Hiberfil.sys file that is on a secondary drive. I used to have 2 different instances of Windows 10 that were run from their own physical hard drives. I stopped using the second copy of Windows 10 a couple of years ago, but kept the hard drive and its accessible from my current Windows 10. I cannot delete the Hiberfil.sys file no matter what I do. The second copy of Windows 10 is not bootable anymore, How can I remove the Hiberfil.sys file short of formatting the drive?

Leave a Reply

Your email address will not be published.

css.php
Using Telegram? Subscribe to the blog channel!
Hello. Add your message here.