I’ve previously written a post explaining what the hiberfil.sys file is and how you can reduce the size of it. In Windows, the hibernation file can still take up a large amount of space on your hard drive.

In this post, we will show you how to delete the hiberfil.sys file and how to turn off hibernation in Windows 7/8/10. You can free up a decent amount of space by doing this.

Delete Hiberfil.sys File

To delete this file, you have to use the command prompt to manually turn off hibernation. If you turn off hibernation via Power Options (which I will show you next), it will not delete the actual file itself.

Open a command prompt in Windows by typing cmd in the search box. Right click Command Prompt and choose Run as Administrator.

delete hiberfil sys

To turn off or disable hibernation, type the following command at the prompt:

powercfg –h off

This will disable hibernation and will remove the hiberfil.sys file from your system.

Turn Off Hibernation in Windows 7/8/10

To disable hibernation in Windows, you have to go into Power Options and click on Change plan settings. You can click on Start and type in power options to open this window.

disable hibernation

Then click on the Change advanced power settings link at the bottom.

remove hiberfil.sysNow expand Sleep and then expand Hibernate after. Change the value of On battery and Plugged in to 0 minutes. Note that the option will not even be available if you turned off hibernation using the command line.

turn off hibernation

That’s pretty much it! Hopefully, you can reclaim some lost disk space by getting rid of the hiberfil.sys file in Windows. Enjoy!