Thursday, August 20, 2009

How to enable and disable hibernation in Windows 7

When enabled, the size of the hibernation file (hiberfil.sys) will be the same as the amount of installed RAM on your computer

You can set your computer to either use or not use the Hybrid or Hibernate sleep mode option from the Advanced Power Plan Options.

METHOD-1  THROUGH COMMAND PROMPT

 

Only using this method to disable hibernation will delete the hiberfil.sys file.

1. Open a Elevated Command Prompt.

2. TO ENABLE HIBERNATE

A) In the elevated command prompt, type powercfg -h on and press Enter.  

B) Now set your Power Plan settings to the recommended settings for Hibernate

C) Go to step 4.

3. To Disable Hibernate -

A) In the elevated command prompt, type powercfg -h off and press Enter.

METHOD-2  THROUGH POWER OPTION

1. Open Power Options to change the advanced power settings, and expand Sleep and Hibernate after.

2. To Disable Hibernate -

A) Under Hibernate after, set the Setting (Minutes) to Never. (See screenshot above)

B) Under Allow hybrid sleep, set Setting to Off.

C) Click on OK.

3. To Enable Hibernate -

A) Set the Setting (Minutes) to how many minutes your computer is inactive for before hibernating, then click on OK.



How to prevent unwanted automatic wakeup from sleep in Windows 7

I was plagued with this problem for long. Every time I put my shiny new computer with Windows 7 RC to sleep, it will wake up automatically after some time. Now this was very annoying as I am on an Internet plan which allows me unlimited download between 2 am to 8 am. So I have automated this process so that my computer wakes up at 2 am and goes back to sleep at 8 am. This way I was saving on electricity bill and some component life too. But though I liked windows 7 much more than my XP and Vista, I had to abandon it due to this problem. But then I found the solution and here it is:

Step -1 Right click on 'Computer' and select 'Properties'

Step -2 Select 'Device Manager'

Step -3 Expand 'Network Adapter'

Step -4 Uncheck 'Allow this device to wake the computer.'

Step -5 click 'ok' and close all the windows.

Step -6 You are done.