how to optimize windows prefetch?

i have windows XP sp2.

my problem is that whenever i run/execute any program it takes time to start. whenever i delete my prefetch cache the programs start-up faster but after some time they become sluggish!

is there any way i can optimize my prefetch cache? 

localhost8080
Joined: 04/16/2008
User offline. Last seen 38 weeks 10 hours ago.
Re: how to optimize windows prefetch?

i found a great article about it here

http://www.intelliadmin.com/blog/2006/09/why-windows-ta...

basically you goto c:\windows\prefetch and delete all the files, the next reboot will be slow. but after that itll be fast =) but after a while itll get slow again.

to fix it open regedit and navigate to the key

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\PrefetchParameters

Under this key you should see a value named: EnablePrefetcher

It has 4 possible values:

0 - Disabled : The prefetch system is turned off.

1 - Application : The prefetch only caches applications.

2 - Boot : The prefetch only caches boot system files.

3 - All : The prefetch caches boot, and application files.

set it to 2 and reboot, your boot times will be much faster =)
one draw back is that applications will take slightly longer to start

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.