You’re likely reading this because you noticed a gigantic hiberfil.sys file sitting on your system drive and you’re wondering if you can get rid of it to free up some space. Here’s what that file is and how you can delete it if you want to.
What Is the hiberfil.sys File?
Depending on the version of Windows you’re using, you have several options for conserving power when you’re not using your PC. Obviously, you can just shut it down. But, you can also send it into a sleep or hibernate mode, where it uses dramatically less power but is still available quickly when you need it. Sleep uses just enough power to maintain the information in your PC’s memory. Hibernate conserves even more power by writing the information in memory out to the hard drive and essentially shutting down—the benefit being that bringing your PC back up is much quicker than bringing it up from a fully off state. That’s where the hiberfil.sys file comes in—Windows writes the information in memory to that file.
While we recommend using sleep or hibernation instead of shutting down your PC in most cases, we understand that many people simply prefer shutting down. In that case, disabling hibernate mode on your PC will allow you to delete that file and reclaim valuable disk space. And the file can use up quite a bit of space. How much depends on the amount of memory installed in your PC. In our example, the hiberfil.sys file is using a whopping 13 GB of disk space.
Disable Hibernate Mode in Windows 10, 8, 7, or Vista
The technique for disabling hibernate mode is pretty much the same in Windows 10, 8, 7, and Vista. You’ll need to use the Command Prompt in administrative mode to get it done, but it’s just one simple command. Disabling hibernate mode automatically deletes the hiberfil.sys file.
Open Command Prompt by first hitting Start and typing “command prompt.” When you see the Command Prompt app pop up, right-click it, and then choose “Run as administrator.”
At the prompt, type the following command and then press Enter:
powercfg -h off
This command immediately disables hibernate mode, so you’ll notice it’s no longer an option from your shut down menu. And, if you visit File Explorer again, you’ll see that the hiberfil.sys file has been deleted and all that disk space is yours once again.
If you change your mind and would like to enable hibernate mode again, just revisit the Command Prompt and use this command:
powercfg -h on
The Hibernate command should be available to you once again and Windows will recreate the hiberfil.sys file.
Disable Hibernate Mode in Windows XP
Disabling hibernate mode in Windows XP is a little different than in later versions of Windows. First, head to Control Panel > Power Options. In the Power Options properties window, switch to the “Hibernate” tab and disable the “Enable hibernation” option.
After you disable hibernate mode, restart your PC, and then you’ll need to manually delete the hiberfil.sys file.
- › You’re Shutting Down Wrong: How to Really Shut Down Windows
- › How to Use Windows 10’s Storage Settings to Free Hard Drive Space
- › What Is A Windows System File?
- › How to Disable Hibernation on Windows 10
- › What is Swapfile.sys and How Do You Delete It?
- › The 50 Best How-To Geek Windows Articles of 2010
- › Beginner Geek : Simple Tips to Reduce Disk Usage in Windows 7
- › How to Delete Your Reddit History