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: bootoptimizefunction is missing values

26 Aug 2013   #1

Windows 7 Ultimate x64
bootoptimizefunction is missing values

Some background:
This Windows 7 Ultimate x64 os was migrated from a failing SSD to the current WD160G some time ago. Migration went without issue and the system has been running fine, albeit booting more slowly as time goes on.

When it got to 300,000ms I took notice!

It turns out SuperFetch was never turned on, so by carefully switching that on in it's registry value, then starting the service it's working. The folder is getting files and the ReadyBoot folder is taking traces. Boot time is down to 190 seconds, but I feel there's more in it somewhere.

There is no layout.ini file in the prefetch folder and no amount of rundll32.dll advapi32.dll,ProcessIdleTasks will make it appear.

I checked the registry entry for bootoptimizefunction and there is no Enable switch and I suppose without that there's going to be trouble optimizing the boot up.

Here is the question:

If I by some magical means were to get the bootoptimizefunction string in the registry to have an 'Enable' function and I were to enable it, would the bootoptimzefunction then function normally, or would I be restoring to that restore point I created a hour ago?

My System SpecsSystem Spec
28 Aug 2013   #2

Windows 7 Ultimate x64

Well, I guess I can answer my own question - at least in part.

Over the last couple of days I have discovered that when I enabled SuperFetch I didn't enable PreFetch. Apparently that's important. Having found no information about what happens when you don't enable PreFetch I took a shot and enabled it along with the previously enabled SuperFetch.

Suddenly I was able to run ProcessIdleTasks and successfully create and populate the layout.ini file in the PreFetch folder as required. There was a lot of disk activity, so I assume while the idle tasks were processing a defrag of the boot cache was underway and this was borne out when on my next restart I had an astounding boot time of 48 seconds. Quite an improvement from the 300 seconds I started with many days ago.

As you can see, the bootoptimizefunction area in the registry now contains the necessary information without errors, but you can also see that there is STILL no 'enable' value.

I have another question and then we can move on to bigger and better things. Even though I don't have an 'enable' option in the registry and it seems the disk was optimized as if by magic (I knew magic was going to work it's way in here somewhere) is there any hope that as time goes on the disk will optimize normally and automatically without further input from me in cmd?

Hopefully this little foray into the inner workings of the dreaded registry - which is about a light year beyond my comfort zone - will help someone else. I've worn my fingers to the bone searching for an answer and have found precious little. At least I learned a few things... enough now to most likely get myself in even deeper trouble.


My System SpecsSystem Spec
31 Aug 2013   #3

Windows 7 Ultimate x64

I can now confirm that the automatic bootoptimizefunction works normally. When I got home from work a little while ago I booted the machine (in 52 seconds) then let the machine idle for 10 minutes. Disk activity indicated something was happening.

Checking the registry entries I still have no 'enable' value for bootoptimizefunction, but the last recorded, successful optimization took place about 03:20 on this date. The last one happened on the 28th when I Process(ed)IdleTasks.

The most recent restart completed in 43 seconds.

I'll call it solved.

Apparently, even if you have no enable value in your bootoptimizationfunction registry key, when you set up all the parameters of PreFetch and SuperFetch properly the process completes by default.

Many thanks to all the members that came rushing to my aid. I do feel welcome here.

My System SpecsSystem Spec


 bootoptimizefunction is missing values

Thread Tools

Similar help and support threads
Thread Forum
VBA - Test cell for multiple values
Hi, I built a large macro a while back that I need to reduce because with the recent additions I have made, I got "Procedure too large" as an error upon execution. I've already condensed most of my coding to something more elegant (I keep learning new things every time). Now I'd like to reduce...
Microsoft Office
Are these normal values for a 3Gb/s ssd
Hi, I'm running a Toshiba Tecra R840-16J laptop (i7-2640M, 8 GB RAM, Plextor M5Pro 512 GB). I know my SATA is 3 Gb/s...:(. I runned a quick AS SSD bechmark and the values seems a little low! What could be the cause? Any sugestion? Cheers, paulo
Hardware & Devices
Can't add values to Excel graph.
I just can't get new data to display on this graph (see below): I enter the values in the table on the left, and they won't show up in the graph! This has just started happening, as you...
Microsoft Office
Hex values of fonts
Hi, Any idea where can I get the Hex value for different fonts. I am looking for the Hex value for Helvetica Neue so that I can create a registry entry to make it as the default font. In other unrelated threads I could find the ones for Verdana and Calibri Calibri =...
General Discussion
Help interpreting SMART values
So I just lost 2 Western Digital 1TB HDDs (WD10EARS and WD10EADS) due to unknown causes. One went dead dead, the other one just nuked my Win7 partition and started arbitrary denying access to the other, data partition. Weird as hell since SMART never indicated anything wrong, they simply suddenly...
Hardware & Devices

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 17:11.
Twitter Facebook Google+