Hibernation - Enable or Disable


  1. #1
    Hibernation - Enable or Disable

    Hibernation - Enable or Disable
    How to Enable or Disable Hibernation in Vista
    Hibernation - Enable or Disable

    How to Enable or Disable Hibernation in Vista

    information   Information
    If you accidentally wiped out the Hibernation file Cleaner in Disk Cleanup and caused your hybrid sleep or hibernate mode to stop working, then you accidentally disabled the hiberfil.sys file. By default, the size of the hiberfil.sys file is 75% of the total amount of installed RAM (memory) when hibernate is enabled in Vista.

    For more information, see: Microsoft Help and Support: KB929658 and Microsoft Help and Support: KB928897

    Note   Note
    If you cleaned (disabled) this, all Hybrid and Hibernate settings will also be removed from the Advanced Power Options window. You will still be able to use normal Sleep mode though.

    Tip   Tip
    To set your computer to either use or not use Hybrid or Hibernate sleep mode, make sure that the Power Plan Options in steps 7 and 8 in STEP TWO here: How to Troubleshoot a Vista Sleep Mode Problem and Find a Solution, then either enable (use) or disable (not use) hibernation below.






    METHOD ONE

    Using an Elevated Command Prompt

    1. Open a Elevated Command Prompt.

    2. Click on Continue in the UAC prompt.

    3. To Enable or Restore the Hibernation File
    A) In the elevated command prompt, type powercfg -h on and press Enter. (See screenshot below step 4)

    B) Set the recommended settings for Hibernation in STEP TWO here.

    C) Go to step 5.
    4. To Disable or Remove the Hibernation File
    NOTE: Using Disk Cleanup in METHOD TWO below is another way to disable or remove the hibernation file.
    A) In the elevated command prompt, type powercfg -h off and press Enter.
    5. Close the elevated command prompt when it is finished.
    NOTE: The Hibernation File Cleaner is now added back or removed from Disk Cleanup and the hibernate sleep mode is enabled or disabled again.
    Hibernation - Enable or Disable-command_prompt-jpg



    METHOD TWO

    Using Disk Cleanup

    1. Open Disk Cleanup.

    2. To Disable or Remove the Hibernation File
    A) Check the Hibernation File Cleaner box and click OK. (See screenshot below)
    Hibernation - Enable or Disable-disk_cleanup-jpg
    B) Click on Delete Files to confirm. (See screenshot below)
    NOTE: Disk Cleanup will now delete the Hibernation file and close.
    Hibernation - Enable or Disable-confirmation-jpg
    That's it,
    Shawn






    Published by


    Brink's Avatar
    Administrator

    Join Date: Apr 2007
    Location: Texas, USA
    Posts: 32,075
    Array
  2.    27 Jan 2012 #1
    Join Date : Jun 2011
    New Mexico, USA!
    Posts : 467
    Vista Home Premium x64, with others on VMware for fun!
    Local Time: 14:39
    usa us new mexico

    Re: Hibernation - Enable or Disable


    Is there any way to bring hibernation back if that hiberfil.sys file gets deleted, accidentally or on purpose? Short of a complete reinstall?
      My System SpecsSystem Spec

  3.    27 Jan 2012 #2
    Join Date : Oct 2011
    Central Florida in a small town
    Posts : 2,169
    Vista Home Basic. 32 bit SP 2
    Local Time: 15:39
    usa us florida

     

    Re: Hibernation - Enable or Disable


    SFC or repair install would work , right ? short of that, ya got me .
      My System SpecsSystem Spec

  4.    27 Jan 2012 #3
    Join Date : Jun 2011
    New Mexico, USA!
    Posts : 467
    Vista Home Premium x64, with others on VMware for fun!
    Local Time: 14:39
    usa us new mexico

     

    Re: Hibernation - Enable or Disable


    Hmmm. SFC is a good idea.

    I ask because I'm currently doing some research on this for a problem I have with hibernation, and have read that Windows puts that file in a reserved space at the beginning of your installation partition. So I got the impression that if it gets deleted (and then replaced by other files, since the whole point is to free up some space) that it couldn't be set back up since those other files would be taking up that space it needs. So I'm curious about if I'm right about that or if it can be put anywhere on the partition, or if once you delete it you're just out of luck.

    I don't actually have this problem though, so I can't test out your SFC idea. Darn
      My System SpecsSystem Spec

  5.    27 Jan 2012 #4
    Join Date : Oct 2011
    Central Florida in a small town
    Posts : 2,169
    Vista Home Basic. 32 bit SP 2
    Local Time: 15:39
    usa us florida

     

    Re: Hibernation - Enable or Disable


    The other thing that comes to mind, is the extract files from the OEM or Install disk trick
      My System SpecsSystem Spec

  6.    27 Jan 2012 #5
    Join Date : Dec 2008
    Fairfield County, CT
    Posts : 20,099
    Windows 7 SP1 x64
    Local Time: 16:39
    usa us connecticut

     

    Re: Hibernation - Enable or Disable


    IM not sure if the SFC would work in that situation. If it does not, I think this would do the trick
    Extract Files from Vista Installation DVD

    Maybe even a repair install
    Repair Install For Vista
      My System SpecsSystem Spec

  7.    27 Jan 2012 #6
    Join Date : Apr 2007
    Texas, USA
    Posts : 32,075
    64-bit Windows 10 Pro
    Local Time: 15:39
    usa us oklahoma

      Thread Starter

    Re: Hibernation - Enable or Disable


    Quote Originally Posted by Slammer View Post
    Is there any way to bring hibernation back if that hiberfil.sys file gets deleted, accidentally or on purpose? Short of a complete reinstall?
    Hello Adam,

    The hiberfil.sys file is only the file where memory is stored at when the system goes into hibernation. To restore it, you would just need to disable and enable hibernation to reset it. Afterwards, it will be restore the next time the system goes into hibernation.
      My System SpecsSystem Spec

  8.    27 Jan 2012 #7
    Join Date : Jun 2011
    New Mexico, USA!
    Posts : 467
    Vista Home Premium x64, with others on VMware for fun!
    Local Time: 14:39
    usa us new mexico

     

    Re: Hibernation - Enable or Disable


    Oh ok, thanks Brink. I didn't think it would be that easy. It must have much less stringent rules for using it than the darn page file does.

    And thanks to Yard Dog and Rich for the info about extracting the files, I had no idea you could do that!
      My System SpecsSystem Spec

  9.    27 Jan 2012 #8
    Join Date : Apr 2007
    Texas, USA
    Posts : 32,075
    64-bit Windows 10 Pro
    Local Time: 15:39
    usa us oklahoma

      Thread Starter

    Re: Hibernation - Enable or Disable


    You're most welcome Adam.

    Nar, you could pretty much do the same with the page file except it requires a restart after each off/on.
      My System SpecsSystem Spec

  10.    27 Jan 2012 #9
    Join Date : Jun 2011
    New Mexico, USA!
    Posts : 467
    Vista Home Premium x64, with others on VMware for fun!
    Local Time: 14:39
    usa us new mexico

     

    Re: Hibernation - Enable or Disable


    Well I'll be darned. Here I was thinking that these two files could hardly be looked at without causing some sort of system failure.
      My System SpecsSystem Spec

Page 1 of 2 12 LastLast
Hibernation - Enable or Disable

Similar Threads
Thread Forum
DEP - Enable or Disable
How to Enable or Disable DEP in Vista, Windows 7, and Windows 8 Data Execution Prevention (DEP) is a security feature that can help prevent...
Tutorials
How To Disable Hibernation with GPO
How do we disable hibernation with a GPO? The command "powercfg.exe /hibernate off" in KB920730 works perfectly, but I need to be able to control...
Vista General
Hibernation got BSOD 0x01 ...disable DWM.exe seems ok
I few shutdown my NB because I always do hibernation instead it. But I got BSOD 0x01 sometimes......(not very often, but it exists) I checked the...
Vista General
Disable sleep (and hibernation) for all users
Gentlefolk, I have a number of labs with multiple computers in each lab. I'm currently reviewing Vista, planning a rollout as soon as it is...
Vista account administration
Disable Hibernation & Delete hiberfil.sys
Vista RTM Version 6000. Dual booting XP & Vista I'm running low on space on the C drive and until I can find a way of resizing partitions I'm...
Vista General
Disable hibernation to delete hiberfil.sys?
I have no intentions of using the hibernation feature and would like to reclaim the 2GB of disk space that the automatically created hiberfil.sys...
Vista performance & maintenance
Disable hibernation
How is hibernation disabled?
Vista installation & setup

Our Sites
  • Ten Forums
  • Eight Forums
  • Seven Forums
  • Help Me Bake
  • Site Links
  • Contact Us
  • Privacy and Cookies
  • About Us
    Windows Vista Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

    Designer Media Ltd
    All times are GMT -5. The time now is 15:39.
    .