4

In august 2015, I have upgrade my laptop from windows 8.1 to windows 10. But it spends always 10 minutes to boot it. It is not normal that it spends so long. What can I do for boot him faster? Below some information about my laptop.

  • age: +/- 2 year (on august 2015)
  • edition: Windows 10 Home

File trace are removed.

Update:

  • I must also say that always there comes a windows update, I have the same problem again form slow booting. Is it good that I turn off the updates? If yes, how can I do that?
  • Also it is in periods that my pc booting to slow. Some time it is like normal (a few seconds) and other times a few minutes. I don't know how it comes that it is fast or slow.

boot trace

9

To see why Windows boots slowly you need to install the Windows Performance Toolkit, which is part of the Windows 10 SDK.

enter image description here (all other entries can be unselected)

Run WPRUI.exe, select First Level, CPU Usage, DiskIO, FileIO and under Performance Scenario select Boot. Number of iteration can be set to 1 and click to start.

enter image description here

This reboots Windows and captures all activity during boot. After the reboot let the countdown tick to 0.

Now make a double click on the generated ETL file to open the ETL in Windows Performance Analyzer (WPA.exe), click on Profiles->Apply->Browse Catalog and select the file FullBoot.Boot.wpaprofile you see this overview:

enter image description here

and see that the longest delay happens during the WinlogonInit phase. This takes 197 seconds to finish.

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.

Visual Cues WinLogonInit begins shortly before the logon screen appears. It ends just before the desktop appears for the first time.

WinLogonInit Performance Vulnerabilities

Many operations occur in parallel during WinLogonInit. On many systems, this subphase is CPU bound and has large I/O demands. Good citizenship from the services that start in this phase is critical for optimized boot times. Services can declare dependencies or use load order groups to ensure that they start in a specific order. Windows processes load order groups in serial order. Service initialization delays in an early load order group block subsequent load order groups and can possibly block the boot process .

When I look at the disk IO table, I see that the slow Samsung HDD (SAMSUNG Spinpoint M8) is very busy. I can also see that the prefetcher ReadyBoost is not working, it only generates "misses". This causes slowdowns to starting services like the lmhosts which takes 129s to start.

As a workaround you can improve boot performance by running this command:

xbootmgr -trace boot -prepSystem -verboseReadyBoot

this reboots Windows several times, does a defrag and trains the prefetcher again. But to fully speedup boot, replace the 5400rpm HDD with a SSD.

  • 1
    same as before. The prefetcher is broken and the HDD is busy all the time. the optimization is only a workaround. Replace the HDD with a faster SSD. – magicandre1981 Oct 4 '15 at 14:53
  • 1
    TIL SSDs are 3x as fast only for large sequential access. They're up to 50x as fast for small random access. So I believe you now. – Noumenon Oct 19 '15 at 16:33
  • 2
    did Windows finish all 6 steps? if yes, run xbootmgr -remove to stop it – magicandre1981 Nov 1 '15 at 18:24
  • 1
    ETL? WPA? Please expand your acronyms so that we all may understand your answer. – Lightness Races in Orbit Apr 25 '17 at 0:58
  • 1
    @magicandre1981: I mean, in the answer. – Lightness Races in Orbit Apr 25 '17 at 9:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.