Disable Hiberfil.sys file in Windows 11 or 10

Stefan
Disable Hiberfil.sys file in Windows 11 or 10

When you use the sleep mode completely, Windows will no longer use a “hiberfil.sys” file.

The hiberfil.sys file is normally used to save the current state of the system when you put your computer to sleep.

Hibernation is a power-saving state in which the current session (including open applications and documents) is saved to the hard drive instead of RAM, so you can completely shut down the computer to save power and resume your session later. This is also called hybrid sleep mode or hibernation mode.

If you has little writing space available of sleep mode causes problems on your computer, then you can disable hiberfil.sys. This is how it works.

Disable Hiberfil.sys file in Windows 11 or 10

To get started, open a Command Prompt as an administrator. In the Command Prompt window, type the following command:

powercfg.exe -h off

powercfg h off

By disabling hibernation with powercfg -h off command, this option will no longer be available and you can also save some disk space as the hiberfil.sys file will be deleted.

To find out how much disk space the hibernate file is taking up on your computer, do the following:

  1. Open the settings.
  2. In the settings click on “System”.
  3. Then click on “Storage”.
  4. Click on “show more categories”.
  5. Now click on “System and reserved”.
  6. You will now see the “Hibernate File” with reserved disk space.

Hibernate file

Now restart your computer to disable the hiberfil.sys (hibernate file). Please note that sleep mode no longer works.

I hope to have informed you with this. Thank you for reading!

Stay Informed
Receive a summary of the latest PC tips directly in your email every 2 weeks.
Will you share?

Please help and share this information with other people.
Do you have a computer question?

The email address will not be published. Required fields are marked with *