Improved XP read-ahead file for speed-up and refueling

  

1. Prohibit program from generating index file

Read-ahead file causes system startup to slow down because it is caused by reading the index file generated when running the program. . Therefore, we only need to prohibit the generation of PF files.

Enter “msconfig” in the "Run" window and press Enter to open the System Configuration Utility window, switch it to the "Services" tab, and then click on the "Task Scheduler" item. The previous tick cancels and saves the settings, so you can disable the purpose of creating an index file (know know: what if the computer is slow to shut down?).

Second, only read system files

Since Prefetch saves the index information of the system and application, from the perspective of improving the startup speed, Starling Network (http://www. It8g.com) reminds everyone to just set the read system file and skip the application's index file reading process. To do this, you can run “regedit” after opening the registry editor, select HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\Session Manager\\Memory Management\\PrefetchParameters, double-click on the right side of "EnablePrefetcher", you can see the value is 3 That is to read the system files and applications, we can change it to 2, that is, only pre-read the Windows system files (fast know: let the computer automatically shut down).

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 & mdash; Windows Settings & mdash; Script", double click on the right side of the "Shutdown" item. Click the “Add” button in the window that opens 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 (fast know: play Shutdown, do a regular shutdown) .

Through the above operation, I believe that the pre-reading file will play its original function and will no longer become an obstacle to booting. In addition, in Windows XP, you can also fully understand the handling of shutdown faults under Xp by reading the method described in http://www.it8g.com/XiTong/200808/199.htm.

Copyright © Windows knowledge All Rights Reserved