Fix hibernate after running disk cleanup

Posted on June 24th, 2007 by Jason

I have found my first bug in the final code of Windows Vista. A few weeks ago after my hard drive was getting low on space I ran disk cleanup to try to delete some unneeded files. Since I needed a lot of space fast I also checked the option to clear my hibernation file. It turns out that was a big mistake.

After clearing my hibernation file my laptops ability to hibernate was destroyed. It was so badly damaged that I could not get to the control panel hibernation settings to turn it back on. Thanks Disk Cleanup!

The fix is actually very easy to do.. Since the control panel settings were gone, I simply used the the command prompt to turn it back on. If you have a similar problem, run the follow command at an administrative level command prompt to turn hibernation back on:

Powercfg /hibernate on

After a reboot the ability to hibernate is restored.

info: Microsoft now has a KB article on the bug as well.

Liked this article? Read another similar article.

Tags: , , , , , , , , , , ,

Share and Enjoy:
  • del.icio.us
  • StumbleUpon
  • Facebook
  • Google
  • Furl
  • Live
  • MisterWong.DE
  • NewsVine
  • Reddit
  • Yahoo! Buzz
  • MySpace
  • Slashdot
  • Technorati
  • YahooMyWeb
  • BlinkList
  • description
  • Fark
  • Netvouz
  • Spurl
  • MisterWong
  • Webnews.de
  • Blogsvine
  • description
  • kick.ie
  • Taggly
  • E-mail this story to a friend!
  • Print this article!

Related posts

4 Responses to “Fix hibernate after running disk cleanup”

  1. John Palk on 06 Jul 2007 at 2:39 pm #

    When I did the hibernate restore I had to “on” or “off” (Powercfg /hibernate “on”) hope this helps. John

  2. Douglas Stevinson on 21 Jul 2007 at 10:04 pm #

    WHY OH WHY PLEASE HELP ME I DONT REALLY GET IT AND MY HIBERNATION THINGY IS GONE AND I REALLY DONT KNOW HOW TO REHIBERNATE IT PLEASE OH PLEASE PLEASE HELP ME AS SOON AS YOU CAN PLEASE!!!!

  3. Marco on 31 Oct 2007 at 9:08 am #

    I try but it say”The file cannot be access, it is used by other program”. I also turn it off then on, it is the same. I just rebuild my system.

    Could anyone help me

  4. Philip Wagner on 07 Nov 2007 at 7:59 pm #

    OK.
    I saw the command and decided to go one step farther.
    First I open the folder System Tools under Accessories on the start menu.
    Normally there you only have short cuts. I then created a text file and pasted the following into the text file and I called it ReenableHIbernate.txt Name does not need to be exact. Then I pasted in the following:
    Powercfg /hibernate on
    Then I renamed it from .txt to .bat and said yes I’m sure.
    Then I open Windows explorer to see current drive space.
    Then I went to start menu \ Accesseries \ System Tools and clicked on my new file. It came up for a second and disappeared. And my drive space decreased by the size of my RAM so I know it is working. The reason I created this file is because occasionally I would like to delete the hibernate before defraging and then recreate it.
    Good Luck
    Philip
    MCSE

Leave a Reply