Delete hiberfil.sys in windows 7

How to enable or disable Hibernate Option in windows 7:

Click on start button and open Command prompt.
To enable Hibernate in the command prompt, just type this command

powercfg -h on

and press Enter.

To disable or Delete the Hibernation File which is called hiberfil.sys, type

powercfg -h off

in the command promptand press Enter.

Close the command prompt. If enable, set your Power Plan settings for Hibernate.