Root Cause Slow Boot/Slow Login With WPT

Download Report

Transcript Root Cause Slow Boot/Slow Login With WPT

Root Cause Slow
Boot/Slow Login
With WPT
Chad Schultz
Premier Field Engineer
[email protected]
10/26/2013
Top causes of
slow
boot/logon
GPOs
Start up/Logon scripts
Start up programs
Unstable drivers
Slow starting Windows Services
Known KB issues
2
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
3
Tools available
to
troubleshoot
slow
boot/logon
Windows Performance Toolkit
Process Monitor
Event Viewer (Vista+)
Autoruns
4
Windows
Performance
Toolkit Setup
Windows 8/8.1 ADK
Windows 7 SDK
Local install or download
Can copy just files to other machines
and run
5
Windows
Performance
Toolkit –
Command
Line
Xbootmgr.exe -trace boot
Xbootmgr.exe -trace shutdown
Xbootmgr.exe -trace hibernate
Xbootmgr.exe -trace Standby
Xbootmgr.exe -trace boot -traceFlags latency+dispatcher -stackWalk
Profile+ImageLoad+ProcessCreate+ThreadCreate+CSwitch+Read
yThread+ThreadCreate -postBootDelay 30 -resultPath c:\temp\
List traceFlags Groups
Xperf -providers KG
List stackWalk
Xperf -help stackwalk
Wprui.exe
6
Windows
Performance
Toolkit –
Graph Order
Boot Phases
Windows Logon
Services
Processes
Generic Events
7
Windows
Performance
Toolkit
Demo traces
8
Process
Monitor
Boot Trace
Check then reboot and run Procmon
Save as .PML
9
Event Viewer
Microsoft-Windows-Diagnostics-Performance/Operational
Microsoft-Windows-GroupPolicy/Operational
10
Autoruns
http://live.sysinternals.com/tools/auto
runs.exe
11
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-983E5B305D2EBE56/adk/adksetup.exe
Windows 7 SDK
http://www.microsoft.com/en-us/download/details.aspx?id=8279
12
Contact
Chad Schultz
Premier Field Engineer
(701) 610-1310
www.microsoft.com/microsoftservices
© 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
© 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
date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION
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