MSFN Forum: How to speed up boot process under Windows Vista or Windows 7 - MSFN Forum

Jump to content


  • 31 Pages +
  • « First
  • 14
  • 15
  • 16
  • 17
  • 18
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

How to speed up boot process under Windows Vista or Windows 7 Rate Topic: -----

#301 User is offline   compsavvy 

  • Newbie
  • Group: Members
  • Posts: 22
  • Joined: 01-January 11
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 28 June 2011 - 09:09 AM

@Marian
Open cmd.exe as admin

Type this:
rundll32.exe advapi32.dll,ProcessIdleTasks

And wait for it to complete


#302 User is offline   Marian 

  • Newbie
  • Group: Members
  • Posts: 14
  • Joined: 07-June 11
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 28 June 2011 - 09:33 AM

View Postcompsavvy, on 28 June 2011 - 09:09 AM, said:

@Marian
Open cmd.exe as admin

Type this:
rundll32.exe advapi32.dll,ProcessIdleTasks

And wait for it to complete


It just finishes straight away. No messages, not nothing. Is it the normal behavior?

#303 User is offline   MagicAndre1981 

  • after Windows 7 GA still Vista lover :)
  • Group: Patrons
  • Posts: 4,977
  • Joined: 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Posted 28 June 2011 - 11:50 AM

Still no reply. If you still have the 90day free support start a support case

#304 User is offline   compsavvy 

  • Newbie
  • Group: Members
  • Posts: 22
  • Joined: 01-January 11
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 29 June 2011 - 02:13 AM

@marian
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 User is offline   Grimm 

  • Group: Members
  • Posts: 2
  • Joined: 30-June 11
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 30 June 2011 - 11:47 AM

Ok, this has been killing me for a day.


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 User is offline   MagicAndre1981 

  • after Windows 7 GA still Vista lover :)
  • Group: Patrons
  • Posts: 4,977
  • Joined: 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Posted 30 June 2011 - 12:09 PM

Which Windows 7 do you use? Sp1 or RTM? Is it a clean DVD or a recovery DVD from an OEM?

#307 User is offline   Grimm 

  • Group: Members
  • Posts: 2
  • Joined: 30-June 11
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 30 June 2011 - 12:19 PM

It's a co-worker's wife's computer. They just had it reset to original, and its a toshiba laptop. The only thing on it besides the OS were the toshiba utlities they bundle with it, and norton antivirus which I removed.

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 User is offline   MagicAndre1981 

  • after Windows 7 GA still Vista lover :)
  • Group: Patrons
  • Posts: 4,977
  • Joined: 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Posted 30 June 2011 - 04:18 PM

I checked the trace. The boot is slow because the ReadyBoot prefetcher is completely untrained. Make a double click and look at the readyBoot IO graph. It is mostly black, which means there are cache misses. This is very bad. The TOSHIBA MK2555GSX 250GB 5400rpm Hard Drive is not the fastest so a fully working Prefetcher is really needed to have a fast Windows boot.

I can see that the Windows is Windows 7 RTM. So install the Sp1 + all post Sp1 Updates.

Now try it again, please.

#309 User is offline   Marian 

  • Newbie
  • Group: Members
  • Posts: 14
  • Joined: 07-June 11
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 01 July 2011 - 05:53 AM

View Postcompsavvy, on 29 June 2011 - 02:13 AM, said:

@marian
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 User is offline   MagicAndre1981 

  • after Windows 7 GA still Vista lover :)
  • Group: Patrons
  • Posts: 4,977
  • Joined: 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Posted 01 July 2011 - 07:34 AM

go to the C:\Windows\prefetch folder. Do you see files there or is the folder empty?

#311 User is offline   Marian 

  • Newbie
  • Group: Members
  • Posts: 14
  • Joined: 07-June 11
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 01 July 2011 - 11:46 AM

View PostMagicAndre1981, on 01 July 2011 - 07:34 AM, said:

go to the C:\Windows\prefetch folder. Do you see files there or is the folder empty?


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 User is offline   MagicAndre1981 

  • after Windows 7 GA still Vista lover :)
  • Group: Patrons
  • Posts: 4,977
  • Joined: 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Posted 01 July 2011 - 04:47 PM

correct, this is not good. You should see .pf files in the prefetch folder.

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 User is offline   compsavvy 

  • Newbie
  • Group: Members
  • Posts: 22
  • Joined: 01-January 11
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 02 July 2011 - 07:18 AM

@marian
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 User is offline   Marian 

  • Newbie
  • Group: Members
  • Posts: 14
  • Joined: 07-June 11
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 03 July 2011 - 08:51 AM

@MagicAndre1981: The setting were already like that.
@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 User is offline   anon13872 

  • Group: Members
  • Posts: 1
  • Joined: 03-July 11
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 03 July 2011 - 10:58 AM

I just wanted to say thank you for this guide! This, along with setting the amount of cores used at boot in msconfig->boot->advanced options from the default 1 to 8 on my hp envy 14 has halved my boot up time to just under a minute :)

#316 User is offline   MagicAndre1981 

  • after Windows 7 GA still Vista lover :)
  • Group: Patrons
  • Posts: 4,977
  • Joined: 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Posted 03 July 2011 - 11:14 AM

View Postanon13872, on 03 July 2011 - 10:58 AM, said:

This, along with setting the amount of cores used at boot in msconfig->boot->advanced options from the default 1 to 8 on my hp envy 14 has halved my boot up time to just under a minute :)


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 User is offline   Marian 

  • Newbie
  • Group: Members
  • Posts: 14
  • Joined: 07-June 11
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 04 July 2011 - 07:14 AM

@MagicAndre1981: did that and it didn't help. But I did find a problem: the ImagePath of SysMain was incorrect, so I fixed that and I am not getting the "Error 2" error, but I am getting another error:

Attached File  error-1297.jpg (83.72K)
Number of downloads: 6

Any thoughts on this?

#318 User is offline   Marian 

  • Newbie
  • Group: Members
  • Posts: 14
  • Joined: 07-June 11
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 04 July 2011 - 07:15 AM

Oh, btw... I can't see to open Local Group Policy Object Editor either... :huh:

#319 User is offline   MagicAndre1981 

  • after Windows 7 GA still Vista lover :)
  • Group: Patrons
  • Posts: 4,977
  • Joined: 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Posted 04 July 2011 - 07:52 AM

it looks like you damaged the security configuration of your account. Create a new admin account and try it there again.

#320 User is offline   Marian 

  • Newbie
  • Group: Members
  • Posts: 14
  • Joined: 07-June 11
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 04 July 2011 - 09:27 AM

I have installed all the updated for Windows 7 SP1 and Superfetch started to work again.

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! :) But bootDoneViaPostBoot shows -1 on both xml files.

Share this topic:


  • 31 Pages +
  • « First
  • 14
  • 15
  • 16
  • 17
  • 18
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

2 User(s) are reading this topic
0 members, 2 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy