Root Cause Slow Boot/Slow Login With WPT
215K - views

Root Cause Slow Boot/Slow Login With WPT

Similar presentations


Download Presentation

Root Cause Slow Boot/Slow Login With WPT




Download Presentation - The PPT/PDF document "Root Cause Slow Boot/Slow Login With WPT" is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.



Presentation on theme: "Root Cause Slow Boot/Slow Login With WPT"— Presentation transcript:

Slide1

Root Cause Slow Boot/Slow Login With WPT

Chad SchultzPremier Field EngineerChad.a@Microsoft.com

Slide2

Top causes of slow boot/logon

2

GPOs

Start up/Logon scripts

Start up programs

Unstable drivers

Slow starting Windows Services

Known KB issues

Slide3

What is a good boot time?

3

Windows 8/8.1

HDD - < 75s

SSD - < 45s

Windows 7

HDD - < 90s

SSD - < 60s

Windows Vista

HDD - < 120s

SSD - < 75s

Slide4

Tools available to troubleshoot slow boot/logon

4

Windows Performance Toolkit

Process Monitor

Event Viewer (Vista+)

Autoruns

Slide5

Windows Performance Toolkit - Setup

5

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

Slide6

Windows Performance Toolkit – Command Line

6

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+Read

yThread+ThreadCreate

-

postBootDelay

30 -

resultPath

c:\temp\

List

traceFlags

Groups

Xperf

-providers KG

List

stackWalk

Xperf

-help stackwalk

Wprui.exe

Slide7

Windows Performance Toolkit – Graph Order

7

Boot Phases

Windows Logon

Services

Processes

Generic Events

Slide8

Windows Performance Toolkit

8

Demo traces

Slide9

Process Monitor

9

Boot Trace

Check then reboot and run

Procmon

Save as .PML

Slide10

Event Viewer

10

Microsoft-Windows-Diagnostics-Performance/Operational

Microsoft-Windows-

GroupPolicy

/Operational

Events built off of trace that happens each boot, %

systemroot

%\

wdi

\

Logfiles

\

BootCKCL.etl

Slide11

Autoruns

11

http://live.sysinternals.com/tools/autoruns.exe

Slide12

Links

12

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

Slide13

© 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 Schultz

Premier Field Engineer

(701) 610-1310

www.microsoft.com/microsoftservices