How to improve pre-read files

Source: Internet
Author: User

One, only read system files

Since the index information of the system and the application is saved in prefetch, from the angle of increasing the starting speed, the author reminds us that we can only set up the reading system files and skip the index file reading process of the application. For this, you can run "regedit" after you open the Registry Editor and select Hkey_local_machinesystemcurrentcontrolsetcontrolsession managermemory Managementprefetchparameters, double-click on the right side of "Enableprefetcher", you can see its value is 3, that is, read the system files and applications, we can change it to 2, that is, only pre-read Windows system files.

Second, the shutdown automatically empty pre-read files

We can also automatically empty the pre-read folder contents when the computer is turned off to speed up the next boot. Open Notepad, enter del%systemroot%prefetch*.*/q in it, and save the file as a Del.bat file. Then open the "Run" window, enter gpedit.msc after entering the Group Policy Editor, select "Computer Configuration-windows Settings-Script", double-click on the right side of the "Shut Down" item, click the "Add" button in the open window, add the Del.bat file. This allows the Group Policy to clear the contents of the read-ahead folder in the background by calling Del.bat and running the command at shutdown to increase the speed of the next boot.

Third, prohibit the program to produce index files

A read-ahead file causes the system to start slower because of the index file that is generated when the program is run. Therefore, we only need to prohibit the PF file generation.

After entering "Msconfig" in the Run window, enter to open 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, so that you can prevent the indexing file from being built.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.