Accelerate the defragmentation of disk defragmentation

  

In order to make the system perform better, we often need to defragment the disk, but for large-capacity hard disk, this work usually takes a lot of time, this article will introduce you to some Speed ​​up the trick of defragmenting disk.

Closing the application

Since some programs may need to read the data on the hard disk repeatedly during the running process, this will affect the normal operation of the defragmentation program, and the system is unstable. In this case, it may even lead to the occurrence of a crash. Therefore, in order to speed up the defragmentation of disk defragmentation, it is best to turn off each running program.

Adjusting parameters or using dedicated software

If the capacity of a hard disk or the capacity of a partition is small, it will take too long to defragment it, but for some data-filled For large hard drives and partitions, a long wait is required. Therefore, when we are arranging these large-capacity hard disks or partitions, we can take the following two measures: First, you can turn off the optimization parameters in the finishing program attached to the Windows 9x system itself, which can speed up the defragmentation, but this method The effect may not be obvious. Alternatively, use a dedicated defragmentation tool to organize the hard disk or partition. For example, the Vop99 software I currently use is very fast. If we use Vop99 to defragment the disk every day, the disk will be optimized in a matter of minutes and the system will remain optimal at all times. I recommend that you use Windows's scheduled task program to set Vop99 to run automatically at least once a week. Vop99 can be downloaded from http://www.goldenbow.com.

Modifying the registry to automatically turn off the screen saver

Before performing defragmentation, first turn off the screen saver, otherwise the disk defragmenter will start repeatedly, but if you pass it every time Manually closing the application can be cumbersome. Here I tell you a little trick, that is, by automatically modifying the registry to achieve automatic shutdown of the screen saver. The specific steps are as follows: First, use the regedit command on the command line to open the registry, navigate to "HKEY_CURRENT_USER\\Software \\Microsoft\\Windows\\CurrentVersion\\Applets", and then look for the "Defrag" key value in this path. If not, create a new one, and the system has this key value by default. Create a new primary key called "Settings" under the "Defrag" key, then create a primary key called "DisableScreenSaver" under this newly created primary key, and finally change its default string value to " ;YES" (as shown in Figure 1). The screen protection will be automatically masked each time you run Disk Defragmenter, and it will be automatically restored after the operation is completed.

Changing the location of the swap file

We know that if a large number of fragments exist in the C drive, it may affect the startup speed of the system. In order to speed up the system startup, we should try to reduce the fragmentation in the C drive. In Windows 95/98 system, when the physical memory required by the application is insufficient, by default the system will generate a temporary swap file named win386.swp in the C:\\Windows system directory of the hard disk, and use this file. The occupied hard disk space is used as virtual memory, and even if no operation is performed, the file exists as long as the computer is turned on. Obviously, the virtual memory management program frequently reads and writes hard disks and generates a lot of fragmentation, which is the main reason for disk fragmentation. Because users are used to installing Windows 95/98 systems and applications separately

In C:\\Windows and C:\\Program Files, it takes up a lot of space. In order to avoid frequent fragmentation and frequent reading and writing of a large number of fragments on the C drive, we can specify the generation path of the temporary swap file in other partitions. The specific steps are as follows: Select "Control Panel"*"System", click the "virtual memory" button in the "Performance" tab of the dialog box, select "user-specified virtual memory settings "Options, then select "D:\\" from the "hard drive" option (note: D disk free space cannot be less than 100MB), and finally click the "OK" button (as shown in Figure 2). After restarting the system, we will find that the win386.swp temporary swap file has been generated in the root directory of the D drive.

Changing the location of temporary folders

When surfing the Internet with Internet Explorer, users often take offline browsing to access more information in order to access more information. . Each time you go online, IE will leave a lot of temporary files in the C:\\Windows\\Temporary Internet Files directory. If we frequently surf the Internet, Internet Explorer may generate a large number of temporary files in this directory. It will also frequently read and write the hard disk and generate a lot of fragmentation, which will affect the access speed. To avoid this, we can also assign temporary directories to other partitions. The method is as follows: First, create a temporary file storage directory in the D drive, select "Control Panel"*"Internet Options", click the "Set" button in the opened dialog box, and then click " ; move the folder " button, select the corresponding directory in the D drive (as shown in Figure 3).

Keep a certain amount of disk space

We will find that if the remaining space of the hard disk is too small, the running of the application will be slow and the defragmentation will be difficult. Therefore, for smaller disk partitions, it is best to keep more than 15% of available space; for larger disk partitions, it is best to keep more than 5% of available space; for boot partitions, at least 40MB of available space. In addition, in the process of using the computer, we should release the wasted disk space in time, such as frequently emptying the recycle bin, deleting the history after surfing the Internet, and deleting temporary folders and files.

Copyright © Windows knowledge All Rights Reserved