XP: Speed Up Your System – When, Where, and How to Clear the Prefetch

Contributor Icon Contributed by MickeyMouse Date Icon September 8, 2004  
Tag Icon Tagged: Windows

Prefetching can speed up and slow down your computer. Here’s in skinny.


Window prefetches parts of files to help speed up your applications you use the most. Windows loads aspects of programs beforehand to accelerate your program execution.

If windows places enough of these sections of files in the pretech folder, the system can be slowed down. The systems that I have seen this affect the most are systems with a small amount of memory. People that run (and try out) a huge number of different programs seem also to be affected.

To see what you have prefetched, just explore your prefetch folder.

    1. Click Start
    2. Click Run
    3. Type the following in the textbox and click OK
    C:\windows\Prefetch

My folder right now contains several installers which I’ll never run again. If you look at the details view, you can see the date of all of these files. You can delete all of these file sniplets from this explorer window or though a dos box:

    1. Click Start
    2. Click Run
    3. Type cmd in the textbox and press OK to open a command prompt
    4. From the command prompt, type the following and hit ENTER:
    del c:\windows\prefetch\*.pf
Previous recipe | Next recipe |
 
  • AlexTheBeast
  • Anonymous
    WRONG WRONG WRONG!!

    This article is based on a complete misunderstanding of how prefetch works. Contrary to popular opinion, prefetch does NOT preload applications at bootup. Application prefetching does not take place until application launch has been initiated. Unused or rarely used prefetch entries will have virtually no impact on performance in any way. In any event the prefetch folder is self cleaning after 128 entries. Manual deletion of these files will impair performance and has no benefits. This has been extensively tested.

    See my comments on this article for a description of how prefetch really works:
    http://www.tech-recipes.com/windows_tips1285.html

    Larry Miller
    Microsoft MCSA
    CompTIA Network+, A+
  • Thanks for your input, Larry.
blog comments powered by Disqus