How to delete the sleep file of Win8/Win8.1?

  
The common function of our computer is the sleep function, that is, the computer enters the low-power state after a certain period of time, and the working attitude is saved in the memory, and the original working state can be restored in 1-2 seconds after the recovery. This feature is very useful and is the most commonly used.
And hibernation is to write the working state, that is, all memory information to the hard disk, taking 4G memory as an example, that is, to write 4G files to the hard disk, and then shut down. To restore the original working interface, you need to read the 4G file to the memory. The reading and writing of 4G files takes a lot of time, which is no less than normal booting, so the hibernation function is not practical now (for 1G or more memory, 512MB or less of small memory still has a certain effect).
The Hiberfl.SYS file that is dormant is used to save memory state during sleep. Will occupy the space equivalent to the memory capacity of the C drive (for example,

4G memory, this file is also 4G), so it can be deleted without affecting everyone's use. It will also greatly reduce the occupation of the C disk space.
Delete Hibernation File Operation Method:
Method 1. Run CMD with administrator privileges and call the following command: POWERCFG -H OFF to delete the file automatically. Everyone can see the changes in the C disk space before and after processing (refresh).
Method 2, run the command gpedit.msc to open the policy group
Open Computer Configuration——Administrative Templates——System——Shutdown
Double-click Require use of hybrid boot, set to Disabled.

Copyright © Windows knowledge All Rights Reserved