Hiberfil.sys: What is It & How to Clear or Delete The File

Clear hiberfil.sys using these simple steps

by Henderson Jayden Harper
Henderson Jayden Harper
Henderson Jayden Harper
Passionate about technology, Crypto, software, Windows, and everything computer-related, he spends most of his time developing new skills and learning more about the tech world. He also enjoys... read more
Reviewed by Alex Serban
Alex Serban
Alex Serban
Windows Server & Networking Expert
After moving away from the corporate work-style, Alex has found rewards in a lifestyle of constant analysis, team coordination and pestering his colleagues. Holding an MCSA Windows Server... read more
Affiliate Disclosure
  • Windows OS creates hiberfil.sys files for restoration.
  • You need to disable the Hibernation power option before deleting the hiberfil.sys file to ensure it doesn’t recreate.
  • Users can delete hiberfil.sys from File Explorer.
hiberfil.sys: what is it &how to clear or delete the file

XINSTALL BY CLICKING THE DOWNLOAD FILE
To fix various PC problems, we recommend Restoro PC Repair Tool:
This software will repair common computer errors, protect you from file loss, malware, hardware failure and optimize your PC for maximum performance. Fix PC issues and remove viruses now in 3 easy steps:

  1. Download Restoro PC Repair Tool that comes with Patented Technologies (patent available here).
  2. Click Start Scan to find Windows issues that could be causing PC problems.
  3. Click Repair All to fix issues affecting your computer's security and performance
  • Restoro has been downloaded by 0 readers this month.

Many users don’t understand what the hiberfil.sys file on their PC does. It is a system file containing the activities of the Hibernate Mode power option on the computer. However, you can encounter some issues with the files.

Hence, it is essential to know about Hibernation Mode in Windows 11 to understand how it works.

What is Hiberfil.sys?

Hiberfil.sys is a system file that houses the files created by the Windows operating system during hibernation. It contains the memory content of your system before the time it goes to Sleep Mode or Hibernation.

Furthermore, the hiberfil.sys system file helps restore the user session that was previously running before hibernating or sleeping the PC. Hence, the system can shut down without losing the session before the state.

Why do I need to clear it?

The hiberfil.sys files are in large volumes that can take about 3 to 5 gigabytes of disk space. Also, the file size can increase depending on the content used on the PC.

Some benefits of clearing the hiberfil.sys files are:

However, deleting the hiberfil.sys files alone don’t guarantee that your Windows will not recreate them.

Though, it is safe to delete the hiberfil.sys files, it is essential to disable the Hibernate Mode on your PC. It ensures that the deleted session files are not recovered.

How do I clear or delete the Hiberfil.sys file?

Expert tip:

SPONSORED

Some PC issues are hard to tackle, especially when it comes to corrupted repositories or missing Windows files. If you are having troubles fixing an error, your system may be partially broken.
We recommend installing Restoro, a tool that will scan your machine and identify what the fault is.
Click here to download and start repairing.

There are a couple of ways to delete the hiberfil.sys files, but we recommend you observe the following preliminary checks first:

The above steps will help prepare your PC for the upcoming processes. However, you’ll need to disable the Hibernation power option before deleting the hiberfil.sys file.

1. Disable hiberfil.sys using the Command Prompt

  1. Left-click the Start button, type cmd in the search space and select Run as Administrator.
  2. Type the following command, then press Enter: powercfg -h off
  3. Close the Command Prompt.

The above command will stop your computer from using the Hibernation power option, then automatically delete the hiberfil.sys file. Check what to do if you can’t run Command Prompt as an admin on Windows 10/11.

2. Disable hiberfil.sys using Windows Settings

  1. Type control panel in the text bar on your taskbar and select Power options.
  2. Go to Related settings and click on Additional power settings.
  3. Click on the Choose what the power buttons do option and select Change settings currently unavailable.
  4. Uncheck the box for Hibernate and click the Save changes button.

Unchecking the Hibernation box will disable it from being a part of your system’s power options.

3. Delete hyberfil.sys files

  1. Press Windows + E to launch File Explorer.
  2. Click on the View tab, click Options, and then go to the View tab.
  3. Check the box for Show hidden files, folders, and drives, then uncheck the box for Hide-protected operating system files.
  4. Click OK, then Apply.

Deleting the hiberfil.sys files and disabling Hibernation will completely clear the file and free up disk space. Check how to fix File Explorer if it crashes on your computer.

4. Delete hiberfil.sys via the registry

  1. Press Windows + R key to open the Run window, type Regedit, and then press Enter to open the Registry Editor.
  2. Navigate to the following locations: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power
  3. Double-click the HibernateEnabled entry and set the Value data field to 0.

It will disable Hibernate mode on your computer and delete the hiberfil.sys file.

Alternatively, our reader can check ways to fix the sleep power option missing on Windows 10/11.

Likewise, you can read about how to fix the power plans missing on Windows 10/11.

For further queries or questions, kindly drop them in the comments section. Also, if you have more suggestions on this guide, drop a comment.

Still having issues? Fix them with this tool:

SPONSORED

If the advices above haven't solved your issue, your PC may experience deeper Windows problems. We recommend downloading this PC Repair tool (rated Great on TrustPilot.com) to easily address them. After installation, simply click the Start Scan button and then press on Repair All.

This article covers:Topics: