Windows7c disk automatically generates hiberfil.sys and pagefile.sys file problems

  
        

Users bought a new computer, bought the software after installation, the default size of c drive 48.8G nearly 50G, select all the files, found that the size is only 20G, but the remaining space is 17.5G, then 48-20 still have 28G is right, then there is 11G running there?

In fact, there are two files hiberfil.sys and pagefile.sys in the root directory of the C drive, first set the display system file plus hidden file method in my computer, press the Alt key, come out menu, tools -> Folder Options - "View, tick off" hide protected operating system files & rdquo;, select Show hidden files, folders and drives, OK. If you don't set these two files, you can't see them. Even if you just set hidden files, you can't see them.

After found, ready to delete, found that can not be deleted, so enter the system through pe, delete files, find one can be deleted, the other can not be deleted, then restart, restarted and found that the file is still, and generated .

Network search solution:

This file is generated by using the sleep function. If you don't use the sleep function, you can delete it. If you want to use the sleep function frequently, it is not recommended to close it. Of course, there are also open methods after closing. The shutdown method is as follows: Close the hibernation function: 1. Enter the path C:\\windows\\system32, find cmd.exe, right click, select to run as administrator; 2. Then in the cmd command Enter powercfg -h off in the window to turn off hibernation and the hiberfil.sys file will be deleted automatically. To enable the sleep function: 1. Repeat the above 1 step; 2. Enter powercfg -h on in the window to enable the sleep function. You can use this method to conveniently turn off and turn on the sleep function. The operation is very simple

Copyright © Windows knowledge All Rights Reserved