Current category:Tips and Tricks

Disable Hibernate and Erasing hiberfil.sys file corrects slow Windows 7

Windows 7 computers will no longer remain slow if memory is expanded via the disabling of hibernate and the deletion of ‘hiberfil.sys’.

One of the reasons attributed to a slow Windows 7 PC is less amount of memory. And when chain hibernation that’s enabled is followed, with heavy ‘hiberfil.sys’ existing, the computer suffers from less memory.

Incidentally, the term ‘hibernation’ means the state of power conservation basically on laptops. Actually when a system is in sleep mode, user-activity together with settings is placed in memory, so extraction of power is low. But, when hibernation is enabled, applications and open documents are placed on the system’s hard disk followed with disabling of Windows 7. Interestingly, amongst many situations of power saving within Windows 7, hibernation utilizes power in the amount that’s the lowest; however, it uses up over 50% of RAM (Random Access Memory).

Meanwhile, when the Windows 7 is in a hibernation state, the system establishes the “hiberfil.sys” file that’s used when Windows 7 is restarted.

slow pc

In case user does not close Windows 7 rather puts it in hibernation state, he’ll find that it’s nearly immediately possible to access Windows 7. That’s a very big benefit of hibernation i.e. user needn’t wait to have the PC start up first. However, hibernation has many drawbacks too. It saves the whole lot of running software’s information prior to taking up the hibernation state and that leads to an excessively large hiberfil.sys file, which eventually consumes so much of RAM that the Windows 7 computer becomes slow.

The following are the ways in which hibernation along with hiberfil.sys leads to a slow Windows 7:

  1. It eats up energy along with system resources.
  2. It occupies the major part of RAM or disk space that lowers memory and with a large hiberfil.sys file.
  3. It increases the number of disk fragmentations and also very slowly because of the hiberfil.sys stored on the computer’s hard drive

Hence, one of the methods by which Windows 7 performance can be avoided is to first disable “hibernation” feature followed with erasing hiberfil.sys file.

So for turning off hibernation, the steps involved are:

  1. Viewing Power Options where advanced power configurations are to be changed then extending Sleep followed with enabling Hibernate after.
  2. Configuring the Setting (Minutes) for the Never option.
  3. While enabling Allow Hybrid Sleep, configuring ‘Setting’ to ‘Off.’
  4. And finally, pressing ‘ENTER.

Now following deactivation of hibernation mode, the large hiberfil.sys file must be deleted. The steps involved are:

  1. Clicking Start, going to Start Search box and typing in ‘cmd.’
  2. Right-clicking on ‘Command Prompt’ that’s obtained from the search outcomes, and subsequently hitting on ‘Run as Administrator.’
  3. Whilst User Account Control prompts, clicking on Continue.
  4. In Command Prompt field, typing in hibernate off/powercfg.exe followed with clicking OK alternatively, typing in powercfg.exe –h off followed with clicking OK.
  5. Thereafter, typing in ‘exit’ and clicking OK for removing the Command Prompt box.
  6. Finally reboot your Computer.


GD Star Rating
Disable Hibernate and Erasing hiberfil.sys file corrects slow Windows 7, 2.4 out of 5 based on 40 ratings

About Patrick T. Rasmussen

doing Online Marketing for SPAMfighter. Follow me on Google+ (+Patrick Teglstrup Rasmussen), Twitter (Patrick Teglstrup Rasmussen on Twitter)
This entry was posted in Tips and Tricks and tagged , , , , , , , , . Bookmark the permalink.


  1. Leesa says:

    I had no idea this was an option on my laptop. I had heard that Windows 7 was a slower running version of Windows but didn’t know why till now. My laptop seems to especially run slow coming off of hibernation. Do I also need to occasionally defrag too?

  2. Benjamin says:

    Great! Thanks for sharing, this actually works! Though i two times forgot “space” after powercfg.exe –h

    But i finally got it, thanks.

  3. says:

    Just where did u end up getting the suggestions to post ““Deactivating Hibernate
    and Erasing hiberfil.sys corrects Windows 7”?
    Thanks -Myrna

  4. BritannicaWho says:

    I too would have appreciated details or at least one thread of logic to justify the initial assertion.

    This file is stored on the HDD after the de-hibernation process is complete. How would it affect Windows more than your music library size does? (And it doesn’t for all intents.)

  5. Awesome Post. It really works. Thank you Mr. Rasmussen for sharing this wonderful trick.

  6. Dhanaasekar says:

    you find a fixit tool to enable and disable hibernate funciton in windows 7 at this post is very helpful.

  7. Marcy says:

    That Microsoft link is easy and foolproof. I bookmarked it for reference. Thank you!

    I have used their Fix-Its before for other issues, but they don’t generally show up readily in the search results, so I nearly always find them through some other site, but they are great. After decades of lame, half-baked help and support it’s hard to get used to the idea that they finally have legit solutions and then remember to look on their site.

  8. Nicchio says:

    I have a hiberfil.sys on a secondary hard disk (belonging to another computer), I still haven’t found any way to remove it…. :-(

  9. Vic says:

    You have some misunderstanding on how hibernation works. After it saves contents of RAM to hard disk in hiberfil.sys, then it turns the power completely OFF (power consumption is zero at that point). And this is true for desktop as well as laptop computers. I suggest studying this document since it contains an official explanation of how hibernation works. Hope this helps.

  10. George says:

    Just as Vic said before me. You clearly don’t understand how hibernation works.

  11. AleyCZ says:

    Vic is true. This article is a big nonsense! Hibernation doesn’t eat the RAM, so it also doesn’t slow down the computer. Hibernation just keeps a large file on C: where the contents of RAM are saved in power off state. I can’t believe somebody wrote an article about huibernation when he apparently knows nothing about it.

  12. Mie E. F. Pedersen says:

    A Windows 7 PC can be slow if the hibernate file is so big that the hard disk has a rather limited level of free space. Else you’re right

  13. Ivaylo says:

    But anyway I still have issue after hibernate/sleep mode. The machine is EXTREMLY slow, I cannot do simple things and the only one option for me is restart. I also trid to wait more than a hour but that did not change the things ..

  14. Magistar says:

    I don’t think you have fully comprehended standby states and hyberfile.sys.

    Basically you have two options: suspend to disk and suspend to ram. If you suspend to disk then the contents of the ram will be written to disk (in hyberfile.sys). If you suspend to ram then the ram will still be powered and there is NO need to write to disk.

    Stating that Windows 7 becomes slow because of hybernation uses memory makes absolutely no sense… Ram loses it’s contents when there is no power so either you write it to disk and wait a while for it to load back into the ram OR you suspend to ram and everything stays identical during sleep.

    TLDR: Disabling hyberfile.sys can save you a few GB’s on your hard drives but it will not free memory…

  15. Antonie says:

    I agree with the comments that this article makes no sense. The hyberfile.sys file is just effectively a memory dump so the computer can boot back up to exactly the same state as when it was hibernated (hence the name). I work mobile and find it very handy – the other option is sleep, but this isn’t recommended for laptop’s as sometimes the laptop can unexpected wake up (‘powercfg –device query wake_armed’ can be used to find out why) which can damage it or make your laptop bag very hot 😉

Leave a Reply

Your email address will not be published. Required fields are marked *