XP: Pull out the murderer who occupies the hard disk

  

Recently, I installed a friend for a friend. After the new computer came home, I helped him install the system. Now I prefer Win XP. When partitioning the system disk, I thought that after installing an XP system, it would occupy less than 2G, and it would be enough to give it a 4G. I did not expect to use it for a while, he rushed to me, the taskbar always prompted the system disk space is insufficient!

After the patrol arrived, I found that the system disk C disk really has less space left. Look at the C drive, found that friends did not install too much software to the C drive and did not store too many files, after using the disk cleaning tool to clean up, the remaining space of the C drive is only about 400M. A Win XP 1G, plus a friend installed a little software and stored files will be less than 3G, then where is the other 1G space?

The murderer's appearance

Select all the files under the C drive and view the size, which is only 2G. Remove the "Hide Protected Operating System Files (Recommended)" option in the View of Folder Options and select "Show All Files and Folders" in the "Hide and Folders" option. Finally found the problem, found in the root directory of the C drive hiberfil.sys and pagefile.sys these two files are surprisingly large, view the size, found that the two files actually have more than 700 M! It seems that they are the ghosts of both of them.

Killing the murderer

Let's take a look at the hiberfil.sys file, check its size, and find the strange phenomenon later, its size is exactly 256M, how it will be and memory The size is the same size? Coincidence? This is too clever, of course not, I found that as soon as the startup function of WinXP is started, the file will exist. When the system is sleeping, the information in the memory is saved to the Hiberfil.sys file on the hard disk. To ensure that you can return to the state before hibernation when waking up. To be honest, the sleep function of XP is really not good, and it takes up a lot of space. If it is not compatible with the ACPI of the motherboard, it will cause the shutdown to be abnormal. It must be turned off, open "Control Panel → Power Options → Hibernate" and remove the "Enable Hibernate" option (Figure 2). At this time, I found that the hiberfil.sys file has disappeared under the C drive.

Copyright © Windows knowledge All Rights Reserved