How to Delete hiberfil.sys and Recover Disk Space on Windows
Desktop computers rarely need to hibernate, so you can probably safely remove the hiberfil.sys file and save yourself a few GB of space. To do so, just open up a new command prompt as an administrator:
- Click on the Start button
- Type ‘cmd’ (don’t hit enter)
- Right click on the Command Prompt that comes up and choose Run As Administrator.
Once you have an administrator command prompt up, just run this command:
powercfg.exe /hibernate off
Now check your disk space again and you should see the hiberfil.sys file is gone.
Tags - Browse all tags
Category - Browse all categories
About Ardalis
Software Engineer
Steve is an experienced software architect and trainer, focusing currently on ASP.NET Core and Domain-Driven Design.