You might have noticed that somewhere on your windows 7 system there are a few GB of space that are unaccounted for. One of the places that this vanishing space is hiding is in the hiberfil.sys file. Besides being a big space hog, hiberfil.sys has another function for Windows 7 that you may not even use!
The Windows feature is called Hibernation. In the power settings and in the mobility options for many PC’s, going into Hibernation mode is a common default setting. The general idea behind Hibernation mode is that it allows you to shutdown your computer completely while saving your work/session so you can quickly turn your computer back on and pickup right where you left off. Now on a notebook, you can probably already see where this would be useful, especially where you run into situations when you can’t afford to shut down but your battery is running low. Or perhaps the plane is about to land and you need to shove your computer in your backpack quickly.
Try Sleep as an Alternative
If you’re using a desktop computer however, hibernation becomes a much less useful tool for obvious reasons which is probably why Microsoft includes a Sleep Mode which really is tailored for desktop PC’s. In sleep mode your computer will go into low-power mode and essentially “pause” most essential services like turning off your hard drives, cranking your CPU way way down and FANS. While it doesn’t save quite as much power as Hibernation, it does allows you to bring everything back up within seconds where as Hibernate usually takes 30-60 seconds to fully start up and get going again.
Make sense? Agree we should get rid of Hibernation mode on that new / old desktop of yours? Ok Good. Let’s go reclaim our rightful Hard Drive storage space!
Note: By default, hiberfil.sys is a hidden and protected system file, so just to be able to see it we’ll need to tweak a few settings first. Let’s do that now.
How To Find hiberfil.sys In Windows 7
1. Click the Windows Start Menu and Type in folder options and Press Enter.
2. Click the View tab and Check Show hidden files, folders, and drives and then Uncheck Hide protected operating system files (Recommended). Click OK when you are done.
3. Browse to the folder location C: and you’ll see it right there in the root. Mine was 2.93 GB, what a whopper! I might just have to frame this one on the wall!
Okay so now you know where to find this piggy, but it won’t let you delete it! What gives?! It turns out before we can delete hiberfil.sys we first need to disable the hibernation service in Windows.
How To Delete hiberfil.sys And Save Space On Your Windows 7 Machine By Disabling Hibernation
Remember, doing this will disable Hibernate on your PC. You can easily re-enable it but Hibernate mode won’t work until you do.
4. Open up the command prompt as an administrator. To do this Click the Windows Start Menu Orb and then Type in cmd and Right-Click the cmd program link then Select Run as administrator from the context menu.
5. In the command prompt, Type in “ powercfg.exe –h off “ and Press Enter.
If later you want to re-enable this feature just use “ powercfg.exe –h on “ in the command prompt.
Now just restart the computer and hiberfil.sys should be gone! If for some reason it is still there you should now have permission to delete it.