As the size of the Windows system grows, Microsoft offers a pre read feature in Windows XP. That is, a prefetch folder has been added to the Windows folder to use this feature to improve system performance, speed up system startup, and read files. However, with the increase in the use of time, each user using a program, the system will be in the folder to leave a pf extension of the index file. Pre-read files cause system startup to slow because the index files generated when you run the program are read. Therefore, we only need to prohibit the production of PF files.
First, close related services
When you enter "Msconfig" in the Run window, return to the System Configuration Utility window, switch it to the Services tab, and then cancel and save the settings before the "task Scheduler" item in it, thus preventing the indexing file from being established.
Second, read only system files
Since the index information for the system and the application is saved in prefetch, from the angle of increasing the startup speed, you can only set the read system files and skip the application's index file read process. To do this, you can run "regedit" to open Registry Editor, and then select Hkey_local_machinesystemcurrentcontrolsetcontrolsession managermemory Managementprefetchparameters, double click on the right side of "Enableprefetcher", you can see that its 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, the shutdown automatically empty the pre-read files
We can also automatically empty the contents of the read-only folder by shutting down the machine, so as to speed up the next boot. Open Notepad and enter del%systemroot%prefetch*.*/q inside to save the file as a Del.bat file. Next, open the Run window, enter Gpedit.msc, turn on the Group Policy Editor, select Computer Configuration-windows Settings-script, double-click the "Shutdown" item on the right, and click the "Add" button in the open window to add the Del.bat file. In this way, Group Policy will call Del.bat in the background and run commands to clear the contents of the read-only folder, thereby increasing the speed of the next boot.