Top Nav

What Is hiberfil.sys And Why Is It Using So Much Hard Drive Space? [groovyTips]

Groovy Windows 7 Tips, Tricks, Advice, Support, Tutorials, How-To, Answers, and Solutions

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.

Related Article:  Free Xbox 360 for Students with a Windows PC

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.

adjust folder options for windows 7

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.

allow windows 7 to display hidden and system files

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!

find hiberfil.sys in windows 7

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.

Related Article:  Create a Change Power Plan Shortcut in Windows

run the command prompt as an administrator in windows 7

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.

disable hibernation mode in windows 7

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.

More Reading:


3 Responses to What Is hiberfil.sys And Why Is It Using So Much Hard Drive Space? [groovyTips]

  1. shockersh March 17, 2010 at 8:00 am #

    The problem on my home computer is everytime I put it to sleep, it wakes up like 10 minutes later. VERY annoying…

  2. Jamel Lantry June 14, 2011 at 7:58 pm #

    Thank you for each of your work on this web site. Ellie really likes going through internet research and it’s really easy to understand why. Almost all hear all about the compelling mode you convey great secrets via this web site and in addition inspire participation from people on that issue then our own princess is without question understanding so much. Take advantage of the remaining portion of the year. You are performing a great job.

  3. Phillip September 26, 2011 at 12:08 pm #

    And, for those who understand RunAs and are comfortable with the CMD Line \> you can instantly delete the hiberfil.sys file with the following command:

    C:\>powercfg.exe -h off

Leave a Reply