Prefetch folder always empty????

  • Thread starter Thread starter RL
  • Start date Start date
I don't think this is right. XPpro.
TIA

The registry entry for the prefetch folder may be set wrong. If you
feel comfortable about getting into the registry, do this:

Click Start, Run, type in "regedit.exe" (no quotes)

Navigate to the following key:

HKLM\System\CurrentControlSet\Control\Session Manager\Memory
Management\PrefetchParameters

Change the key "EnablePrefetcher" from 0 to 1 to turn prefetch on.

Reboot. It'll take several days for the prefetch folder to begin to
fill up with entries.
 
Try this one:
1. run "regedit";
2. goto
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory
Management\PrefetchParameters\EnablePrefetcher];
3. Set the value to either 0-Disable, 1-App launch prefetch, 2-Boot Prefetch, 3-Both ("3" is
recommended).
4. reboot.

It should decrease the boot time and the time it takes to load programs.
 
I've seen this problem before. For some reason if the Prefetch
folder is completed deleted (Contents), Windows Xp doesn't
want to recreate the data. I suspect this may be due to the
Layout.Ini file not being found. Even with Task Scheduler &
appropriate Registry Keys set, I worked on a PC that refused
to log .PF's and function correctly. As best as I can remember
we extracted the original Layout.ini from an image and installed.
Afterwards, the Prefetching resumed operation.

In my opinion, Prefetch is a self-maintenance utility and it's best
to leave the data/settings alone.
 
R. McCarty;

Excerpt from: John L. Joseph
Diskeeper Development Section
Executive Software

[I deleted the file layout.ini (in the same WINDOWS\PREFETCH directory). Then I rebooted my system
three times. This was to force the boot-related files to be re-evaluated and have their prefetch
data refreshed. I then opened a command prompt window and entered the command:
rundll32.exe advapi32.dll,ProcessIdleTasks

At this point, the file layout.ini was rebuilt.
I then forced a "boot optimization" by entering the command (in the command prompt window):

defrag c: -boot

It finished pretty fast, so I looked in the registry to see what happened:
HKEY_LOCAL_MACHINE
SOFTWARE
MICROSOFT
DFRG
BootOptimizeFunction

and the "OptimizeComplete" item was set to Yes. So I set the LcnStartLocation to zero and the
LcnEndLocation to zero, and ran the -boot again. These two fields are the logical cluster numbers1
of the beginning and ending of the boot-optimized "zone". The built-in defragmenter (and Diskeeper)
do not move files in this zone in order to honor the boot-optimization.
This time running "defrag" took longer and the LcnEndLocation was 363658, with the LcnStartLocation
being 345622. That's a range of 282MB on this volume.]
===
I had a problem with Prefetch not recreating the Layout.ini. I followed the steps above and it was
recreated.
 
Back
Top