How to speed up boot process under Windows Vista or Windows 7
#301
Posted 28 June 2011 - 09:09 AM
Open cmd.exe as admin
Type this:
rundll32.exe advapi32.dll,ProcessIdleTasks
And wait for it to complete
#302
Posted 28 June 2011 - 09:33 AM
#303
Posted 28 June 2011 - 11:50 AM
#304
Posted 29 June 2011 - 02:13 AM
It happens if "idle tasks" have been taken care of recently.
Have you tried boot defrag?? if not try this in an elevated command prompt
defrag.exe [drive letter]: -b
#305
Posted 30 June 2011 - 11:47 AM
Problem: Startup takes too long, and system is sluggish
So, on a clean install (and no media or recovery partition to reinstall so i'm having to be very careful ><)
I put in the SDK, ran the exe and went to
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Dfrg\
but there was no Dfrg, and no
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Dfrg\BootOptimize
so I created Dfrg, and made
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Dfrg\BootOptimizeFunction
and set:
Enable: Y
LcnEndLocation: 0
LcnStartLocation: 0
OptimizeComplete: No
OptimizeError: Missing Registry Entries
as per a different thread, and also ran defrag c: /u /v from an admin command prompt to make sure it works, and it does.
I checked Superfetch next which wasn't running, and when I tried to start the service would give me a "cannot find file" error.
so I set
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\SysMain to 0 (boot)
I checked sysmain.dll, which was in the correct directory
now Superfetch still wont start from services. But I plod on valiantly
I added HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Prefetcher
"BootFilesOptimized" with a D-Word data of 1
ran xbootmgr -trace boot -prepSystem -verboseReadyBoot from cmd.exe with admin priviledges.
Result:
[2011/06/30-11:42:37.347] Detected inactive Win7 physical (ReadyBoot) prefetcher (the SysMain service start type is 0).
[2011/06/30-11:42:37.362] Registering for auto-run with a 120000 msec delay...
[2011/06/30-11:42:37.362] Completed auto-run change.
[2011/06/30-11:46:39.518] Detected inactive Win7 physical (ReadyBoot) prefetcher (the SysMain service start type is 0).
[2011/06/30-11:46:39.549] Waiting for prefetcher...
[2011/06/30-11:46:39.549] Saving prefetcher data...
[2011/06/30-11:50:29.020] Detected inactive Win7 physical (ReadyBoot) prefetcher (the SysMain service start type is 0).
[2011/06/30-11:50:29.035] Waiting for prefetcher...
[2011/06/30-11:50:29.035] Saving prefetcher data...
[2011/06/30-11:55:12.228] Detected inactive Win7 physical (ReadyBoot) prefetcher (the SysMain service start type is 0).
[2011/06/30-11:55:12.243] Waiting for prefetcher...
[2011/06/30-11:55:12.243] Saving prefetcher data...
[2011/06/30-12:00:10.849] Detected inactive Win7 physical (ReadyBoot) prefetcher (the SysMain service start type is 0).
[2011/06/30-12:00:10.864] Waiting for prefetcher...
[2011/06/30-12:00:10.864] Saving prefetcher data...
[2011/06/30-12:04:39.873] Detected inactive Win7 physical (ReadyBoot) prefetcher (the SysMain service start type is 0).
[2011/06/30-12:04:39.889] Waiting for prefetcher...
[2011/06/30-12:04:39.889] Saving prefetcher data...
[2011/06/30-12:08:40.700] Detected inactive Win7 physical (ReadyBoot) prefetcher (the SysMain service start type is 0).
[2011/06/30-12:08:40.731] Waiting for prefetcher...
[2011/06/30-12:08:40.731] Saving prefetcher data...
[2011/06/30-12:08:40.731] Preparing system...
[2011/06/30-12:08:40.731] Launching attempt #1 to defragment disk...
[2011/06/30-12:08:45.006] ProcessIdleTasks returned.
[2011/06/30-12:08:45.006] Failed to defrag - status key is 'No', error description is 'Missing Registry Entries'. Retrying.
[2011/06/30-12:08:45.006] Launching attempt #2 to defragment disk...
[2011/06/30-12:08:53.367] ProcessIdleTasks returned.
[2011/06/30-12:08:53.367] Failed to defrag - status key is 'No', error description is 'Missing Registry Entries'. Retrying.
[2011/06/30-12:08:53.367] Launching attempt #3 to defragment disk...
[2011/06/30-12:09:01.308] ProcessIdleTasks returned.
[2011/06/30-12:09:01.308] Failed to defrag - status key is 'No', error description is 'Missing Registry Entries'. Retrying.
[2011/06/30-12:09:01.308] Launching attempt #4 to defragment disk...
[2011/06/30-12:09:09.357] ProcessIdleTasks returned.
[2011/06/30-12:09:09.357] Failed to defrag - status key is 'No', error description is 'Missing Registry Entries'. Retrying.
[2011/06/30-12:09:09.357] Launching attempt #5 to defragment disk...
[2011/06/30-12:09:17.251] ProcessIdleTasks returned.
[2011/06/30-12:09:17.251] Failed to defrag - status key is 'No', error description is 'Missing Registry Entries'. Retrying.
[2011/06/30-12:09:17.251] Failed to defragment disk after 5 attempts.
[2011/06/30-12:09:17.251] PrepareSystem failed.
[2011/06/30-12:09:17.251] Stopping trace...
[2011/06/30-12:09:21.588] Couldn't find kernel logger in active logger list.
[2011/06/30-12:09:21.588] Couldn't find user-mode logger in active logger list.
[2011/06/30-12:09:21.588] Unregistering auto-run...
[2011/06/30-12:09:21.588] Completed auto-run change.
And thats all i've really accomplished in about 60 reboots.
#306
Posted 30 June 2011 - 12:09 PM
#307
Posted 30 June 2011 - 12:19 PM
Its running Windows 7 home premium 32bit, probably SP1
curiously it did produce a boot trace at some point, though theres no defrag
Here
This post has been edited by Grimm: 30 June 2011 - 12:37 PM
#308
Posted 30 June 2011 - 04:18 PM
I can see that the Windows is Windows 7 RTM. So install the Sp1 + all post Sp1 Updates.
Now try it again, please.
#309
Posted 01 July 2011 - 05:53 AM
compsavvy, on 29 June 2011 - 02:13 AM, said:
It happens if "idle tasks" have been taken care of recently.
Have you tried boot defrag?? if not try this in an elevated command prompt
defrag.exe [drive letter]: -b
No, I doesn't work. I get this error:
Boot optimization could not run because the prefetch layout file is missing or invalid. <0x8900001B>
#310
Posted 01 July 2011 - 07:34 AM
#311
Posted 01 July 2011 - 11:46 AM
MagicAndre1981, on 01 July 2011 - 07:34 AM, said:
There is only one folder, ReadyBoot, which contains a few files with these extensions: .avail, .dqpafm, .dqpafmsg, .dqpa, .dqpaf and .etl, but I`m guessing this ain't good, eh?
#312
Posted 01 July 2011 - 04:47 PM
What are the values of the EnableSuperfetch and EnablePrefetcher under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\PrefetchParameters? Both should be set to 3.
#313
Posted 02 July 2011 - 07:18 AM
If what MagicAndre1981 suggested does not help, open notepad as admin and save a blank file as layout.ini(and not layout.ini.txt) in the prefetch folder.
#314
Posted 03 July 2011 - 08:51 AM
@compsavvy: done that and tried "defrag C: -b" and it worked, then tried "xbootmgr -trace boot -prepSystem -verboseReadyBoot" and it failed after the 1st restart.... ARGHHH! Oh, and now layout.ini is missing.
Btw... when I try to start the Superfetch service it says: "Window could not start the Superfetch service on Local Computer. Error 2: The system cannot find the filed specified.".
This post has been edited by Marian: 03 July 2011 - 09:00 AM
#315
Posted 03 July 2011 - 10:58 AM
#316
Posted 03 July 2011 - 11:14 AM
anon13872, on 03 July 2011 - 10:58 AM, said:
only xbootmgr did it, Windows ALWAYS uses all cores.
http://www.withinwin...-with-msconfig/
@Marian
run sfc /Scannow to detect and fix missing Windows files.
#317
Posted 04 July 2011 - 07:14 AM
error-1297.jpg (83.72K)
Number of downloads: 6
Any thoughts on this?
#318
Posted 04 July 2011 - 07:15 AM
#319
Posted 04 July 2011 - 07:52 AM
#320
Posted 04 July 2011 - 09:27 AM
Then I tried to speed up the boot process, but an error occurred at the last step (I think), then I followed the steps presented here: http://social.msdn.m...cf-f0ca25b4b33a and the process worked fine!
- ← Disabling Group Policy restrictions through the registry
- Windows Tips 'n' Tweaks
- How to get the cause of high CPU usage by DPC / Interrupt →



Help

Back to top










