• Announcements

    • xper

      MSFN Sponsorship and AdBlockers!   07/10/2016

      Dear members, MSFN is made available via subscriptions, donations and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, become a site sponsor and ads will be disabled automatically and by subscribing you get other sponsor benefits.
MagicAndre1981

How to speed up boot process under Windows Vista or Windows 7

673 posts in this topic

hello, i've used the method described in your post, and obtained a reduction from 120k to 80k ms. is it possible to decrease this even further? I've looked through the event viewier.. I did not see anything that I can shave seconds from.

Thanks for the awesome guide!

0

Share this post


Link to post
Share on other sites

make a full trace:

and give me the trace file.

0

Share this post


Link to post
Share on other sites

Hi,

timing bootDoneViaExplorer="49970" bootDoneViaPostBoot="116070"

Your Windows needs 50s to boot to the desktop and 106 seconds to boot completely.

 <interval name="PreSMSS" startTime="0" endTime="8469" duration="8469">

The PreSMSS subphase begins when the kernel is invoked. During this subphase, the kernel initializes data structures and components. It also starts the PnP manager, which initializes the BOOT_START drivers that were loaded during the OSLoader phase.

When the PnP manager detects a device, it loads and initializes the device’s drivers

Your takes 8.5s, this is ok.

<interval name="SMSSInit" startTime="8469" endTime="22670" duration="14200">

The SMSSInit subphase begins when the kernel passes control to the session manager process (Smss.exe). During this subphase, the system initializes the registry, loads and starts the devices and drivers that are not marked BOOT_START, and starts the subsystem processes. SMSSInit ends when control is passed to Winlogon.exe.

this takes 14s which is bit too long. I can see that the time difference between the both csrss.exe is 4s which means it takes 4s to initialize the graphic card driver. Are you using the latest driver or your NVIDIA GeForce GTX 285?

<interval name="WinlogonInit" startTime="22670" endTime="40805" duration="18134">

The WinLogonInit subphase begins when SMSSInit completes and starts Winlogon.exe. During WinLogonInit, the user logon screen appears, the service control manager starts services, and Group Policy scripts run. WinLogonInit ends when the Explorer process starts.

your takes 18s, which is also too long.

I found this:

- <notification type="Logon" sessionId="1" startTime="29088" endTime="38339" duration="9251">
<subscriber name="Profiles" startTime="29088" endTime="38332" duration="9244" />

So loading the profile takes too long. To see what happens there, download ProcessMonitor and activate bootlogging. Make a new boottrace with xbootmgr and reboot. Start ProcessMonitor again and save the data into a PML file. Zip both files (xbootmgr and PML file) and upload it.

 <interval name="ExplorerInit" startTime="40805" endTime="49970" duration="9164">

The ExplorerInit subphase begins when Explorer.exe starts. During ExplorerInit, the system creates the desktop window manager (DWM) process, which initializes the desktop and displays it for the first time.

this takes 9.2 seconds. This is also a bit too long.

Applications—such as antivirus programs or application servers—that are created during service start in this or previous phases can consume CPU resources during ExplorerInit. Some services might not be started yet when ExplorerInit is complete.

I can see that you use MSE/Commodo which causes a high CPU usage. remove both and see if it it faster.

<interval name="PostExplorerPeriod" startTime="49970" endTime="116070" duration="66100">

During PostBoot, Windows examines the entries in the various Run and RunOnce keys (Run, RunOnce, RunOnceEx, RunServices, and so on) in the registry and the Startup folder in the file system, and then starts the listed applications.

So starting all startup applications takes too long (56seconds). So use AutoRuns and try to remove all unneeded applications like the google and JAVA update checker.

Edited by MagicAndre1981
0

Share this post


Link to post
Share on other sites

90s are still a bit to high, make a boot trace (http://www.msfn.org/board/index.php?showtopic=140247), zip and and upload it. Maybe I can find something to reduce the time again.

I just make a boot trace following your intruction. When computer starting, the "dead green screen" appeared. I cannot log in the computer. I have to use repair dick several times to fix "startup ...".

Please see the attachment file!

THank you so much

My link

PS: It seems the Sidebar takes much time!

0

Share this post


Link to post
Share on other sites

timing bootDoneViaExplorer="45239" bootDoneViaPostBoot="138339" 

Your Windows takes 45 to boot to the desktop and 128s to boot completely.

<interval name="PreSMSS" startTime="0" endTime="5088" duration="5088">

The PreSMSS subphase begins when the kernel is invoked. During this subphase, the kernel initializes data structures and components. It also starts the PnP manager, which initializes the BOOT_START drivers that were loaded during the OSLoader phase. When the PnP manager detects a device, it loads and initializes the device’s drivers

This takes 5. Which is ok.

 <interval name="SMSSInit" startTime="5088" endTime="15581" duration="10492">

The SMSSInit subphase begins when the kernel passes control to the session manager process (Smss.exe). During this subphase, the system initializes the registry, loads and starts the devices and drivers that are not marked BOOT_START, and starts the subsystem processes. SMSSInit ends when control is passed to Winlogon.exe.

Provider Name, Task Name, Time (s)
, smss:InitializeRegistry,
, , 5.941076308, win:Start
, , 8.476292276, win:Stop

so initializing of the registry take a bit too long.

<interval name="WinlogonInit" startTime="15581" endTime="29551" duration="13970">

The WinLogonInit subphase begins when SMSSInit completes and starts Winlogon.exe. During WinLogonInit, the user logon screen appears, the service control manager starts services, and Group Policy scripts run. WinLogonInit ends when the Explorer process starts.

from what I can see is that KasperSky service starts too slowly:

serviceTransition name="AVP" group="" transition="start" totalTransitionTimeDelta="32507"

interval name="ExplorerInit" startTime="29551" endTime="45239" duration="15687">

The ExplorerInit subphase begins when Explorer.exe starts. During ExplorerInit, the system creates the desktop window manager (DWM) process, which initializes the desktop and displays it for the first time.

this also takes too long, because of Kaspersky:

Applications—such as antivirus programs or application servers—that are created during service start in this or previous phases can consume CPU resources during ExplorerInit. Some services might not be started yet when ExplorerInit is complete.

- <interval name="PostExplorerPeriod" startTime="45239" endTime="138339" duration="93100">

During PostBoot, Windows examines the entries in the various Run and RunOnce keys (Run, RunOnce, RunOnceEx, RunServices, and so on) in the registry and the Startup folder in the file system, and then starts the listed applications.

Remove the googleupdater and remove the amount of index folders. The Windows Search service also takes too long to start.

I think that Kaspersky is the cause of the slowdown. Remove it.

0

Share this post


Link to post
Share on other sites

Remove the googleupdater and remove the amount of index folders. The Windows Search service also takes too long to start.

I think that Kaspersky is the cause of the slowdown. Remove it.

Thank you indeed. I will remove something as your suggestion. Kaspersky is to protect my computer from internet harmful attacks. So I may have to accept its usage time. This is a contradiction! :-<

0

Share this post


Link to post
Share on other sites

So loading the profile takes too long. To see what happens there, download ProcessMonitor and activate bootlogging. Make a new boottrace with xbootmgr and reboot. Start ProcessMonitor again and save the data into a PML file. Zip both files (xbootmgr and PML file) and upload it.

Hi MagicAndre1981,

here it is. the one with the processmonitor trace. i've updated my graphics driver as you advised, and cleared off some programs that are not needed in autoruns. but i might have to leave comodo and MSE in for now, or i would have no internet security >.<

thanks for the advise thus far! :)

0

Share this post


Link to post
Share on other sites

Thank you indeed. I will remove something as your suggestion. Kaspersky is to protect my computer from internet harmful attacks. So I may have to accept its usage time.

use a different tools (free tool) like Aivra AntiVir and the in Windows included Firewall.

0

Share this post


Link to post
Share on other sites

but i might have to leave comodo and MSE in for now, or i would have no internet security >.<

The cause of the slow login is COMODO (cmdagent.exe) which scans all commands + MSE + you highly fragmented HDD which is used by 100%.

same suggestion like aboto. use Aivra AntiVir + Windows included Firewall and run the optimization again.

0

Share this post


Link to post
Share on other sites

Thank you indeed. I will remove something as your suggestion. Kaspersky is to protect my computer from internet harmful attacks. So I may have to accept its usage time.

use a different tools (free tool) like Aivra AntiVir and the in Windows included Firewall.

Thank you, Andre! Windows 7 is known as a best OS, why are you still a Vista lover ? :D (Just for fun)

---------------------

PS: I want to ask you a marginal question: Do you know there are any way to install windows live mesh on XP? ( I am sorry for this question, but I just want to sync data between my two computers, one uses Xp OS and one is win7 OS)

0

Share this post


Link to post
Share on other sites

Windows 7 is known as a best OS, why are you still a Vista lover ? :D (Just for fun)

Windows 7 = Vista R2/SE. Ask the second question in the XP forums.

0

Share this post


Link to post
Share on other sites

The cause of the slow login is COMODO (cmdagent.exe) which scans all commands + MSE + you highly fragmented HDD which is used by 100%.

same suggestion like aboto. use Aivra AntiVir + Windows included Firewall and run the optimization again.

ok! thanks. glad to know those 2 are the only causes. i'll try other softwware, (and defragment my drives :P) thank you very much ^^

0

Share this post


Link to post
Share on other sites

(and defragment my drives :P) thank you very much ^^

but only with this guide and the internal defrag tool! No O&O and other crapware!

0

Share this post


Link to post
Share on other sites

Sorry I have a question here, my boot time did lessen but it's quite inconsistent for some reason... Like for example after I changed some minor settings and stuffs, the startup becomes very slow again...

So do I need to run the optimization everytime i change some startup program and install/uninstall stuffs?

0

Share this post


Link to post
Share on other sites

Which changes do you make that causes the slowdown?

0

Share this post


Link to post
Share on other sites

Hmm, changing some bootup settings for avast for example.. or after install/uninstalling stuffs?

0

Share this post


Link to post
Share on other sites

I just did a simple restart... It was slower again... Very inconsistent, sometimes it's faster.. I wonder what's the problem? So i was wondering whether I need to do this thing regularly?

Btw, I have tune-up utilities installed, would that be the factor that is affecting my inconsistent boot time?

0

Share this post


Link to post
Share on other sites

remove all useless tweaking and defrag tools and make the optimization again.

0

Share this post


Link to post
Share on other sites

I just uninstalled Tune-Up utilities... still have the same problem... I did optimisation, improved to 30+ seconds boot time... But after that I had some windows update and some programs updated plus uninstalled some programs.. It became 10 seconds slower again...

0

Share this post


Link to post
Share on other sites

after running WindowsUpdates (Patchday) run it again.

0

Share this post


Link to post
Share on other sites

Hi,

I registered on this forum just for this topic, hopefully you can help me. I've did what your post said (Install WPT and run the xbootmgr command) with a little trouble (Had to change some registry values in order to get the defragmenter to work).

I've created an xml file using the xperf command and looked through it. My boot takes about 10-20 min. and it's doing a lot of DiskIO during the boot-up. Can you tell me why this is taking so long? (Malfunctioning HDD? Bad drivers? Fragmented?)

I used to run Defraggler but I'm running the built in defragmenter as we speak (Although analysis told me it was 0% defragmented). Hopefully you can tell me what I can do to reduce my boot-time.

Oh and I am running Comodo network security which seeing other posts here I suspect of slowing my computer down since I tried upgrading right when the slowness began, but I haven't heard a lot of good things about microsoft's security programs and comodo has worked fine for me so far.

http://rapidshare.com/files/432468908/traces.7z

I couldn't find any personal info in there so I haven't passworded it. If you see anything personal, let me know and I'll take it down once you got it.

Thanks in advance :D

Alexander

0

Share this post


Link to post
Share on other sites

This doesn't work for me?

Followed the instructions and get everything installed and verified all settings are on.

Ran it and the first time I let it countdown and didn't press FINISH. On next boot it said my copy of W7 was not genuine? OK, clicked authenticate and it did so immediately and continued. However, it couldn't find the PREFETCH and quit?

So I looked in the log, true it was logged as such, but on the first boot it was able too? Odd?

I'll just delete the files and try again, but press FINISH this time.

Same result?

Log : This time it is GONE? Found it, it is now not in the root of C: but Windows\System32?

------------------

[2010/12/04-09:23:39.837] Detected Win7RTM physical (ReadyBoot) prefetcher; the SysMain service is auto-started.

[2010/12/04-09:23:39.872] Could not delete ReadyBoot boot plan.

[2010/12/04-09:23:39.880] Registering for auto-run with a 120000 msec delay...

[2010/12/04-09:23:39.881] Completed auto-run change.

[2010/12/04-09:23:39.896] Starting trace...

[2010/12/04-09:23:40.159] Enabled boot logging to 'C:\Windows\system32\bootPrep_BASE+CSWITCH_1_km_premerge.etl'

[2010/12/04-09:26:31.085] Detected Win7RTM physical (ReadyBoot) prefetcher; the SysMain service is auto-started.

[2010/12/04-09:26:31.116] Stopping trace...

[2010/12/04-09:27:23.958] Stopped kernel logger.

[2010/12/04-09:27:24.290] Stopped user-mode logger.

[2010/12/04-09:27:24.295] The trace you are capturing "C:\Windows\system32\bootPrep_BASE+CSWITCH_1.etl" may contain personally identifiable information, including but not necessarily limited to paths to files accessed, paths to registry accessed and process names. Exact information depends on the events that were logged. Please be aware of this when sharing out this trace with other people.

[2010/12/04-09:28:50.141] Merged ETL file to 'C:\Windows\system32\bootPrep_BASE+CSWITCH_1.etl'

[2010/12/04-09:28:50.159] Waiting for prefetcher...

[2010/12/04-09:29:20.161] Waiting for Win7RTM prefetcher done.

[2010/12/04-09:29:20.162] Saving prefetcher data...

[2010/12/04-09:29:20.182] Failed to save prefetcher data (C:\Windows\prefetch\layout.ini) in cab archive (stage 1, error 0)

[2010/12/04-09:29:27.965] Saved prefetcher data from C:\Windows\prefetch\ReadyBoot\*.* in cab archive.

[2010/12/04-09:29:27.965] Saved prefetcher data from C:\Windows\prefetch\AgCx*.db in cab archive.

[2010/12/04-09:29:28.312] Saved prefetcher data from C:\Windows\system32\bootPrep_BASE+CSWITCH_1.ppf.newPlan in cab archive

[2010/12/04-09:29:28.333] Starting trace...

[2010/12/04-09:29:28.365] Enabled boot logging to 'C:\Windows\system32\bootPrep_BASE+CSWITCH_2_km_premerge.etl'

[2010/12/04-09:31:26.720] Detected Win7RTM physical (ReadyBoot) prefetcher; the SysMain service is auto-started.

[2010/12/04-09:31:26.729] Stopping trace...

[2010/12/04-09:33:20.613] Stopped kernel logger.

[2010/12/04-09:33:20.614] Couldn't stop user-mode logger (0x00001069).

[2010/12/04-09:33:20.614] Couldn't find user-mode logger in active logger list.

[2010/12/04-09:33:20.617] Waiting for prefetcher...

[2010/12/04-09:38:10.643] Gave up waiting for Win7RTM physical prefetcher after 300 seconds.

[2010/12/04-09:38:10.643] Could not wait for prefetcher.

[2010/12/04-09:38:10.643] Stopping trace...

[2010/12/04-09:38:10.699] Couldn't find kernel logger in active logger list.

[2010/12/04-09:38:10.699] Couldn't find user-mode logger in active logger list.

[2010/12/04-09:38:10.700] Unregistering auto-run...

[2010/12/04-09:38:10.700] Completed auto-run change.

----------------

Not sure what happened here? Any reason why it couldn't find Prefetch on the 2nd boot? Folder shows updates at the timestamps shown in the last part of the log?

Are there access/permissions problems possibly, can't tell for sure?

Irv S.

0

Share this post


Link to post
Share on other sites

Windows Error 0x00001069 - 4201

The instance name passed was not recognized as valid by a WMI data provider.

ERROR_WMI_INSTANCE_NOT_FOUND

Have you modified the WMI settings?

0

Share this post


Link to post
Share on other sites

Windows Error 0x00001069 - 4201

The instance name passed was not recognized as valid by a WMI data provider.

ERROR_WMI_INSTANCE_NOT_FOUND

Have you modified the WMI settings?

Not that I know of?

I can run WBEMTEST, anything I should do with it?

post-311281-0-78254100-1291485276_thumb.

EDIT: I worked the first time though, didn't it? On the second boot it didn't?

Edited by irvs
0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.