XP: Registry Hack to Disable or Modify Prefetch

Contributor Icon Contributed by William_Wilson  
Tag Icon Tagged: Windows  

Change the amount of memory stolen by prefetch or stop it completely


Prefetch does exatly as it sounds, it loads programs, libraries and everything else the computer deems often (at one time) and loads them all into memory, whether they are commonly used now, even if they don’t exist now… these programs and files could still be using some of your memory, so let’s get it back!

This option does speed up the opening and running of popular programs, but should also be kept under control.

Clean up the prefetch folder:
navigate to C:\Windows\prefetch
-delete any heading which you do not use often enough, or if the program loads quickly without being prefetched.
*NOTE you can delete them all if you like, they will be updated again when Windows deems fit.

The items removed, will likely load a little slower than usual the first time you run them, but this is a reasonable trade off if your overall system performance is improved.

Determine how you want prefetch to run:
*This involves the registry, if you are uncomfortable with this, you should stop here.

move to path: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\PrefetchParameters
On the right side look for a key named: EnablePrefetcher
This decides if and how prefetch runs, here are the value and what they do:
0: Disable
1: Prefetch when an application runs
2: Prefetch on startup or bootup
3: Always Prefetch

*Here you will have to make your own decision on what is best for your system.. i personally do a boot on app run, the length of wait is very minimal compared to any other setting, and windows startup is considerably faster! Which is what really matters.
Once a program has been added to prefetch it then will run faster the next time you open it until reboot.

Further information regarding the prefetch can be found here:
XP: Speed Up Your System – When, Where, and How to Clear the Prefetch

Questions/Comments: william_a_wilson@hotmail.com
-William. ยง (marvin_gohan)

 

4 Comments -


  1. Mitu said on October 2, 2008

    Mucho thanks Larry…. I really appreciate it…

  2. ClearlbyBiased said on May 14, 2009

    I have prefect running with the scheduler. Every few days, or so, I delete the contents. Always makes things load faster. Almost instantly when I delete the fetch. Then wait and wait after a few days of a full fetch.
    Why? Others have the same thing. I was hoping to find that I could list only the 15 or so programs I use most often. Like setting the “page” to 15 instead of 4000 (dec) but that probably isn’t the right approach. I need to find someone who understands the interplay of the parameters. I also know it degrades when I use the registry to turn it off.

  3. Anonymous said on October 27, 2009

    I do not like prefetch system. I believe to be another Microsoft BS. When I delete my prefetch directory my PC starts faster and without any problem.

    Once a virus kept reappearing, it was loaded in a prefetch file.

    Based on this experience, I have modified my shutdown and reboot system –> they empty the prefetch directory.

    I am having less problem since.

  4. Carpet Cleaning said on January 17, 2011

    It’s a great technology. Thanks for sharing with us.

 

RSS feed for comments on this post. TrackBack URL

Leave a comment -