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: Solution to: "Gave up waiting for Win7RTM physical prefetcher" problem


20 Mar 2013   #1

 
Solution to: "Gave up waiting for Win7RTM physical prefetcher" problem

I am not sure if I'm posting in the right section or not but felt a strong urge to give a solution to an unresolved problem (as far as it seems while Googling).

Many of you must be aware of the process of optimization Windows' boot process using Windows Performance Toolkit (described here). That command makes Windows first do a reboot to trace the boot, then reboots again and after the second reboot, the boot files are moved around the HD and placed in an optimized layout so as to reduce to seek time as much as possible and make Windows boot faster. The subsequent reboots (4 remaining) trains the prefetcher to load the files in the fastest way possible.

The re-positioning of files on the HD after the second reboot depends much on the layout.ini that you may find in the "Prefetch" folder inside the "Windows" folder. This layout.ini file contains the list of all files accessed during Windows boot up process and after the user has logged in (upto 1 or 2 minutes). This file is generated ONLY when Windows has been idle for a certain amount of time. It may take upto 3 days before this file is generated after a fresh Windows installation. If Windows has never been idle, this file will probably never be generated unless you keep it idle. Also, the automatic de-fragmentation process occurs only when Windows is idle. If you're a kind of a person who never keeps Windows idle, then probably you are not gonna get much of the benefits of Windows Superfetch.

If this layout.ini file is absent and you try to optimize Windows using WPT, you may encounter the "Gave up waiting for Win7RTM physical prefetcher after 300 seconds. Could not wait for prefetcher" error in between the reboots. Although this guy seems to have a solution that works, but that solution is kind of "fake", his solution only makes all 6 reboots successful but DOES NOT optimize/train Windows Prefetcher at all. Also, it kind of breaks the Superfetch service totally.

The creation of layout.ini takes around 10-15 minutes. To solve this problem, start from the scratch:

1. Navigate to %systemdrive%/Windows/Prefetcher and delete everything in there (trust me!).
2. Reboot Windows, run all your most frequently used programs and do all your most frequently performed tasks.
3. Repeat Step 2 4-5 times.
4. Now check the prefetch folder. Everything's is back, isn't?
5. Now you need to manually invoke Windows to create layout.ini file.
Run command prompt as admin and run the following command:
Rundll32.exe advapi32.dll,ProcessIdleTasks
6. This process will take about 10-15 minutes with no sign of visual activity except you may see HDD indicator glowing.
7. You will find a process called "rundll32.exe" running in task manager. When this process vanishes, that would indicate that the process has completed.
8. Now you'll find layout.ini in the Prefetch folder. Please DO NOT edit its contents.
9. Once this is done, you may also run this command: defrag c: -boot
This would invoke a boot optimization. It *might* take a lot of time in some cases.
Now you may follow the WPT optimization tutorial and run the "xbootmgr -trace boot -prepSystem -verboseReadyBoot" command to successfully optimize and train Windows and hopefully you'll be treated with a fast Windows startup further!

Hope this helps all guys searching for the solution.

Thanks,
Nilanko Halder


My System SpecsSystem Spec
.

Reply

 Solution to: "Gave up waiting for Win7RTM physical prefetcher" problem




Thread Tools




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 08:14 AM.
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