Root Cause Slow Boot/Slow Login With WPT Chad Schultz Premier Field Engineer [email protected].
-
Upload
felix-mckinney -
Category
Documents
-
view
217 -
download
3
Transcript of Root Cause Slow Boot/Slow Login With WPT Chad Schultz Premier Field Engineer [email protected].
![Page 2: Root Cause Slow Boot/Slow Login With WPT Chad Schultz Premier Field Engineer Chad.a@Microsoft.com.](https://reader035.fdocuments.us/reader035/viewer/2022062714/56649cff5503460f949d165e/html5/thumbnails/2.jpg)
2
Top causes of slow boot/logon
GPOs
Start up/Logon scripts
Start up programs
Unstable drivers
Slow starting Windows Services
Known KB issues
![Page 3: Root Cause Slow Boot/Slow Login With WPT Chad Schultz Premier Field Engineer Chad.a@Microsoft.com.](https://reader035.fdocuments.us/reader035/viewer/2022062714/56649cff5503460f949d165e/html5/thumbnails/3.jpg)
3
What is a good boot time?
Windows 8/8.1
HDD - < 75s
SSD - < 45s
Windows 7
HDD - < 90s
SSD - < 60s
Windows Vista
HDD - < 120s
SSD - < 75s
![Page 4: Root Cause Slow Boot/Slow Login With WPT Chad Schultz Premier Field Engineer Chad.a@Microsoft.com.](https://reader035.fdocuments.us/reader035/viewer/2022062714/56649cff5503460f949d165e/html5/thumbnails/4.jpg)
4
Tools available to troubleshoot slow boot/logon
Windows Performance Toolkit
Process Monitor
Event Viewer (Vista+)
Autoruns
![Page 5: Root Cause Slow Boot/Slow Login With WPT Chad Schultz Premier Field Engineer Chad.a@Microsoft.com.](https://reader035.fdocuments.us/reader035/viewer/2022062714/56649cff5503460f949d165e/html5/thumbnails/5.jpg)
5
Windows Performance Toolkit - Setup
Windows 8/8.1 ADK (Windows 7 and up)
Windows 7 SDK (Windows 7 and below)
Local install or download
Can copy just files to other machines and run
![Page 6: Root Cause Slow Boot/Slow Login With WPT Chad Schultz Premier Field Engineer Chad.a@Microsoft.com.](https://reader035.fdocuments.us/reader035/viewer/2022062714/56649cff5503460f949d165e/html5/thumbnails/6.jpg)
6
Windows Performance Toolkit – Command Line
Simple boot trace:
Xbootmgr.exe -trace boot
Simple shutdown trace:
Xbootmgr.exe -trace shutdown
Simple hibernate trace:
Xbootmgr.exe -trace hibernate
Simple sleep/standby trace:
Xbootmgr.exe -trace Standby
In depth boot trace:
Xbootmgr.exe -trace boot -traceFlags latency+dispatcher -stackWalk Profile+ImageLoad+ProcessCreate+ThreadCreate+CSwitch+ReadyThread+ThreadCreate -postBootDelay 30 -resultPath c:\temp\
List traceFlags Groups
Xperf -providers KG
List stackWalk
Xperf -help stackwalk
Wprui.exe
![Page 7: Root Cause Slow Boot/Slow Login With WPT Chad Schultz Premier Field Engineer Chad.a@Microsoft.com.](https://reader035.fdocuments.us/reader035/viewer/2022062714/56649cff5503460f949d165e/html5/thumbnails/7.jpg)
7
Windows Performance Toolkit – Graph Order
Boot Phases
Windows Logon
Services
Processes
Generic Events
![Page 8: Root Cause Slow Boot/Slow Login With WPT Chad Schultz Premier Field Engineer Chad.a@Microsoft.com.](https://reader035.fdocuments.us/reader035/viewer/2022062714/56649cff5503460f949d165e/html5/thumbnails/8.jpg)
8
Windows Performance Toolkit
Demo traces
![Page 9: Root Cause Slow Boot/Slow Login With WPT Chad Schultz Premier Field Engineer Chad.a@Microsoft.com.](https://reader035.fdocuments.us/reader035/viewer/2022062714/56649cff5503460f949d165e/html5/thumbnails/9.jpg)
9
Process Monitor Boot Trace
Check then reboot and run Procmon
Save as .PML
![Page 10: Root Cause Slow Boot/Slow Login With WPT Chad Schultz Premier Field Engineer Chad.a@Microsoft.com.](https://reader035.fdocuments.us/reader035/viewer/2022062714/56649cff5503460f949d165e/html5/thumbnails/10.jpg)
10
Event Viewer
Microsoft-Windows-Diagnostics-Performance/Operational
Microsoft-Windows-GroupPolicy/Operational
Events built off of trace that happens each boot, %systemroot%\wdi\Logfiles\BootCKCL.etl
![Page 11: Root Cause Slow Boot/Slow Login With WPT Chad Schultz Premier Field Engineer Chad.a@Microsoft.com.](https://reader035.fdocuments.us/reader035/viewer/2022062714/56649cff5503460f949d165e/html5/thumbnails/11.jpg)
11
Autoruns http://live.sysinternals.com/tools/autoruns.exe
![Page 12: Root Cause Slow Boot/Slow Login With WPT Chad Schultz Premier Field Engineer Chad.a@Microsoft.com.](https://reader035.fdocuments.us/reader035/viewer/2022062714/56649cff5503460f949d165e/html5/thumbnails/12.jpg)
12
Links Chad’s Blog
http://blogs.technet.com/b/chad
Yong Rhee’s Blog
http://blogs.technet.com/b/yongrhee
Jeff Stokes Blog
http://blogs.technet.com/b/jeff_stokes
Ask PFE Platforms Blog
http://blogs.technet.com/b/askpfeplat/
Windows 8.1 RTM Assessment and Deployment Kit
http://download.microsoft.com/download/6/A/E/6AEA92B0-A412-4622-983E-5B305D2EBE56/adk/adksetup.exe
Windows 7 SDK
http://www.microsoft.com/en-us/download/details.aspx?id=8279
Sysinternals Tools
http://live.Sysinternals.com/tools
![Page 13: Root Cause Slow Boot/Slow Login With WPT Chad Schultz Premier Field Engineer Chad.a@Microsoft.com.](https://reader035.fdocuments.us/reader035/viewer/2022062714/56649cff5503460f949d165e/html5/thumbnails/13.jpg)
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION
Contact
Chad SchultzPremier Field Engineer(701) 610-1310www.microsoft.com/microsoftservices