Win7 off sleep method

  
After installing the win7 system, everyone has turned off the hibernation function. If it is not turned off, it will occupy the space of the C drive. I think everyone knows this problem. After I installed the WIN7 system, the first thing is to turn off the hibernation. .
The method I use is to turn on the power management, and then change the sleep time to never when the computer uses the external power supply, and then confirm the sleep time, so that the sleep is turned off, but whether Is it really closed sleep?
If you close the sleeping friend according to the above method, you can open the C drive, then open the folder option, select View, remove the hidden front of the protected operating system file, and then confirm, look at the extra one In the big hidden file, is there a file called hiberfil.sys, which is a nasty person that is a dormant file, even if you turn off the hibernation function using the above method, the file still exists.
If not, then when I didn't say it, huh, huh, if you delete this file directly, this is unscientific practice. I tried it at the time. The system prompts that I can't delete it, but I don't use the 360 ​​file shredder. Interested friends can try, huh, but I still think it should be deleted correctly, not forced to delete.
What I want to say now is how to completely shut down hibernation, including this folder, the method is:

start point--all programs--attachment--command prompt--and right-click the mouse-- Run as administrator, remember to run as administrator, otherwise invalid, then enter powercfg -h off in the command prompt window that opens and press Enter.

This completely shuts down the hibernation. At this time, you are looking at the space of the C drive. Is there more part?
If you want to turn on hibernation again, still use this method, open the command prompt window, or run as administrator, then enter powercfg -h on, this will open hibernation again, the file will appear again.

Copyright © Windows knowledge All Rights Reserved