Windows XP takes the murderer of the hard drive

  

Recently, I installed a friend for a friend. After the new computer came home, I helped him install the system. Now of course, Win XP is preferred. 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 rush to the horse, I found that the system disk C disk really has less space. 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. In the view of the folder options, remove the "Hide Protected Operating System Files (Recommended)" option 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 in the future. Its size is exactly 256M, how it will be the same size as the memory. What about the 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 & Rarr; Power Options & Rarr; Hibernate & rdquo;, & ldquo; enable sleep & rdquo; option removed (Figure 2). At this time, I found that the hiberfil.sys file has disappeared under the C drive.

Let's take a look at the pagefile.sys file, which is the system page file (also known as the virtual memory file). Its size depends on how much the program is open and the minimum value of the page file you originally set. , is constantly changing, sometimes only tens of M, and sometimes more than 600M. Since this file has made the system partition tight, we will adjust it and adjust it to other free partitions (the E disk has more than 10 G unused space, put it on the E disk). Select “Control Panel →System →Advanced", click the “Set" button in the Performance area; then select “Advanced →Change", in the Open Virtual Memory Settings window, select the system where the system is located. Partition, select “ no paging file & rdquo; remove the system partition (Figure 3); finally select the E disk, if you want to manually set the minimum maximum memory memory, select "custom size", if you want the system to If you manage it yourself, choose "System Management Partition".

Tip: After removing the page file of a partition and setting the page of a partition, click the “Settings” button next to it, so that your settings will take effect, click the window directly. “The OK” button is not working.

After the above settings, the hiberfil.sys and pagefile.sys files under the C drive disappeared, and the system partition space finally recovered.

Copyright © Windows knowledge All Rights Reserved