Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Allow prefetch for applications on HDD but not on SSD

24 Jul 2012   #1

Windows 7 Enterprise 32bit, Windows 7 Home Premium 64bit.
Allow prefetch for applications on HDD but not on SSD

Hello everyone,

On my desktop machine, I have a 256gb Samsung SSD as the primary boot drive it contains the OS and a few applications. In addition to the SSD I have a 2tb HDD which contains the bulk of my data and some applications.

After reading about SSD tweaks, one of the things that was oft repeated was to disable prefetch for systems with SSDs (and even that Win 7 'may' do this autonomously).

I know where the registry key is for prefetch and the 4 options. In my case I would like to set the option to "1" for allowing only prefetching of applications (no prefetching the boot since the OS is on the SSD). Of course all the applications on the SSD will still prefetch which is not optimal.

Basically I want the system to parse the path before an application gets run. If the path starts with "D:" (HDD) allow prefetch to do its work, otherwise skip the prefetch process.

Perhaps this could be done with a mini script or something along those lines but since it would need to run for pretty much every program it would need to be quick.

Does anyone know of a way to do this?

Quick Addition: The system in question above is an slightly older Intel Nehalem i7 920 running Windows 7 Home Premium x64.

I did find a way to run a script in place of/before an application by modifying the registry entry at "HKCR\exefile\shell\open\command". The default entry is a simple batch style parameter "%1" %* which can be replaced by a different command. I have tested this for notepad.exe only so far but I was able to run my mini script before notepad started. My only issue is, I have no idea how to get a script to turn on or off prefetch when starting an application.

Side note: If you mess with the reg key you might want to make sure to have a backup and not to close regedit; cause if you mess it up (like I did a few times) you cant start any new programs at all!

Again, any help is greatly appreciated!

My System SpecsSystem Spec


 Allow prefetch for applications on HDD but not on SSD

Thread Tools

Similar help and support threads for2: Allow prefetch for applications on HDD but not on SSD
Thread Forum
Restore deleted Prefetch? Performance & Maintenance
prefetch folder Performance & Maintenance
Prefetch and SSDs Performance & Maintenance
question about prefetch Performance & Maintenance
Prefetch? On, Or Off? Performance & Maintenance
I was deleted the Prefetch folder Performance & Maintenance
How do I delete prefetch files in 7? Performance & Maintenance

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 04:21 PM.
Twitter Facebook Google+

Windows 7 Forums

Seven Forums Android App Seven Forums IOS App

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33