How to Delete Hibernation File Windows 11: A Step-by-Step Guide

The Windows hibernation file, hiberfil.sys, is managed by Windows. The supported way to remove it is to turn hibernation off with the powercfg command rather than trying to delete the protected file manually.

How to Remove the Hibernation File in Windows 11

  1. Save your work.
  2. Open Windows Terminal or Command Prompt as administrator using an account you are authorized to manage.
  3. Enter powercfg /hibernate off and press Enter.
  4. Restart Windows if necessary and check the system drive for the reclaimed space.

Windows should disable hibernation and remove the hibernation file it manages.

What You Lose When Hibernation Is Disabled

You will no longer be able to use normal Hibernate until you enable it again. Features that rely on the hibernation infrastructure, including Fast Startup on many systems, can also be affected.

Turn Hibernation Back On

Open an elevated terminal again and run powercfg /hibernate on. Windows recreates the required hibernation file.

Do Not Force-Delete hiberfil.sys

Changing ownership or permissions to manually delete the file is unnecessary and can interfere with Windows power features. Let powercfg manage it.

Get Our Free Newsletter

How-to guides and tech deals

You may opt out at any time.
Read our Privacy Policy