Improved XP read-ahead file for system startup speed

  
        With the growing size of Windows systems, Microsoft has provided a pre-reading feature in Windows XP. That is, a Prefetch folder has been added to the Windows folder to take advantage of this feature to improve the performance of the xp system and speed up system startup and file reading. However, as the usage time increases, each time the user uses a program, the system will leave an index file with the PF extension in the folder. The read-ahead file causes the system to start slowing down because it is caused by reading the index file generated when the program is run. Therefore, we only need to prohibit the generation of PF files.
I. Close related services
Enter "msconfig" in the "Run" window and press Enter to open the system configuration utility window, switch it to the "Services" tab, and then put the "Task Scheduler" item in front of it. Check the box to cancel and save the settings, which will prevent the index file from being created.
Second, only read the system file
Since Prefetch saves the system and application index information, from the perspective of improving the startup speed, you can only set the read system file, and skip the application's index file. The reading process. To do this, you can run "regedit" and open the registry editor, select HKEY_LOCAL_MacHINE\\SYSTEM\\CurrentControlSet \\Control\\Session Manager\\Memory Management\\PrefetchParameters, double-click "EnablePrefetcher" on the right, you can see that the value is 3, that is, Read system files and applications, we can change it to 2, that is, only pre-read Windows system files.
Third, shut down automatically clear the pre-read file
We can also automatically clear the contents of the pre-read folder when shutting down, in order to speed up the next boot speed. Open Notepad and enter del %systemroot%\\Prefetch\\*.* /q in it to save the file as a del.bat file. Then open the "Run" window, enter gpedit.msc and press Enter to open the Group Policy Editor, select "Computer Configuration - Windows Settings - Script", double-click the "Shutdown" item on the right, click in the window that opens. Add button to add the del.bat file. In this way, when the system is shut down, the group policy will call del.bat in the background and run the commands to clear the contents of the pre-read folder, thus improving the speed of the next startup.
Copyright © Windows knowledge All Rights Reserved