36

Marcius Tribelhorn Premier Field Engineer Microsoft South Africa WCL401

Embed Size (px)

Citation preview

Page 1: Marcius Tribelhorn Premier Field Engineer Microsoft South Africa WCL401
Page 2: Marcius Tribelhorn Premier Field Engineer Microsoft South Africa WCL401

Solving Common Problems by Using the Windows Troubleshooting Platform

Marcius TribelhornPremier Field EngineerMicrosoft South AfricaWCL401

Page 3: Marcius Tribelhorn Premier Field Engineer Microsoft South Africa WCL401

Current Helpdesk Issues

The cost of running a service desk can be as much as 10% of companies' IT operations staffing budgetThe typical support center supports over 300 applications The average call volume increased from less than 1 call per employee per month to 1.36 calls from 1995 to 2001

Page 4: Marcius Tribelhorn Premier Field Engineer Microsoft South Africa WCL401

Traditional Troubleshooting

Low-bandwidthInconvenientInvasiveFrustratingRepetitive

Page 5: Marcius Tribelhorn Premier Field Engineer Microsoft South Africa WCL401

Windows Troubleshooting Platform

Reduce number of support callsMake support calls more efficientIncrease customer satisfaction

Page 6: Marcius Tribelhorn Premier Field Engineer Microsoft South Africa WCL401

A Bit of Background

The Windows Troubleshooting Platform is a new featureThe Windows Troubleshooting Platform runs on Windows 7 and beyondWindows 7 trouble shooting focuses on relationship between helpdesk and end-user

Page 7: Marcius Tribelhorn Premier Field Engineer Microsoft South Africa WCL401

Today

Troubleshooting Overview & ArchitectureUsing the Windows Troubleshooting Pack Designer (TSPDesigner)Deploying & Running TroubleshootersGoing beyond the TSPDesignerBeyond TechEd

Page 8: Marcius Tribelhorn Premier Field Engineer Microsoft South Africa WCL401

Troubleshooting Overviewdemo

Page 9: Marcius Tribelhorn Premier Field Engineer Microsoft South Africa WCL401

Windows Troubleshooting Platform

AutomatedEfficientRepeatableStandardizedSecure

Page 10: Marcius Tribelhorn Premier Field Engineer Microsoft South Africa WCL401

Windows Troubleshooting Philosophy

Use well-known methodsAllow designers to focus on their expertiseAddress configuration issuesFix problems when we are certainCollect data when we are not

Page 11: Marcius Tribelhorn Premier Field Engineer Microsoft South Africa WCL401

Troubleshooting Client Demodemo

Page 12: Marcius Tribelhorn Premier Field Engineer Microsoft South Africa WCL401

Troubleshooting Pack

Win7 Troubleshooting Implementation

Root Cause

Root CauseDetect VerifyResolve

Page 13: Marcius Tribelhorn Premier Field Engineer Microsoft South Africa WCL401

Diagram of Troubleshooting Pack

Identification metadata identifies pack, security signature and user interactionScripts contain the logic to find and fix the problemUser-visible information stored in localized resources (MUI-support)

Identification MetadataDetection

ScriptsResolution

ScriptsVerification

ScriptsLocalized Resources

Trouble-shooting Pack

Page 14: Marcius Tribelhorn Premier Field Engineer Microsoft South Africa WCL401

Troubleshooting Pack Details<?xml version="1.0" encoding="utf-8"?><dcmPS:AdvDiagnosticPackage SchemaVersion="1.0" Localized="false" xmlns:dcmPS="http://www.microsoft.com/schemas/dcm/package/2007" xmlns:dcmRS="http://www.microsoft.com/schemas/dcm/resource/2007"> <DiagnosticIdentification> <ID>91f3d9b6-aca6-435d-b9ca-829ab02a4aef</ID> <Version>1.0</Version> </DiagnosticIdentification> <DisplayInformation> <Parameters /> <Name> <dcmRS:LocalizeResourceElement comment="Comment" index="1">Fabrikam Billing Troubleshooter</dcmRS:LocalizeResourceElement> </Name> <Description> <dcmRS:LocalizeResourceElement comment="This is a comment" index="2">This troubleshooter will help solve common problems with the Fabrikam billing software</dcmRS:LocalizeResourceElement> </Description> </DisplayInformation> <PrivacyLink>http://www.fabrikam.com/privacy/</PrivacyLink> <PowerShellVersion>2.0</PowerShellVersion> <SupportedOSVersion clientSupported="true" serverSupported="true">6.1</SupportedOSVersion> <Rootcauses> <Rootcause> <ID>WrongBillingServer</ID> <DisplayInformation> <Parameters /> <Name> <dcmRS:LocalizeResourceElement comment="This is a comment" index="3">The application is trying to contact the wrong billing server</dcmRS:LocalizeResourceElement> </Name> <Description> <dcmRS:LocalizeResourceElement comment="This is a comment" index="4">The billing server can change but the application has no way to update the billing server outside of the registry. This will check that the registry points to the most current billing server</dcmRS:LocalizeResourceElement> </Description> </DisplayInformation> <Troubleshooter> <Script> <Parameters /> <ProcessArchitecture>Any</ProcessArchitecture> <RequiresElevation>false</RequiresElevation> <RequiresInteractivity>false</RequiresInteractivity> <FileName>TS_WrongBillingServer.ps1</FileName> <ExtensionPoint />

Page 15: Marcius Tribelhorn Premier Field Engineer Microsoft South Africa WCL401

A Little Less Detail

<DiagnosticIdentification/><DisplayInformation/><PrivacyLink/><PowerShellVersion /><SupportedOSVersion /> <RootCauses>

<ID/><DisplayInformation/><Troubleshooter/><Resolvers/><Verifiers/>

</RootCauses><Interactions/>

Page 16: Marcius Tribelhorn Premier Field Engineer Microsoft South Africa WCL401

Writing and Deploying Troubleshooters

Page 17: Marcius Tribelhorn Premier Field Engineer Microsoft South Africa WCL401

Windows Troubleshooting Pack Designer

GUI-based authoring environmentGenerates the metadata to describe a troubleshooting packLinks to Graphical PowerShell Editor to create PowerShell scriptsSigns each pack with a certificatePackages the troubleshooting pack into a cab

Page 18: Marcius Tribelhorn Premier Field Engineer Microsoft South Africa WCL401

Two New Concepts

Root CausesInteractions

Page 19: Marcius Tribelhorn Premier Field Engineer Microsoft South Africa WCL401

Four New PowerShell Commandlets

Get-DiagInputWrite-DiagProgressAdd-DiagRootcauseUpdate-DiagReport

Page 20: Marcius Tribelhorn Premier Field Engineer Microsoft South Africa WCL401

Component Interaction

Windows Troubleshooting Framework

Process 1

Process 2

Troubleshooting Runtime

Engine

PowerShell Runtime

Results and

Reports

GUI CMD

Troubleshooting Pack

Get-DiagInputUpdate-DiagReportUpdate-DiagRootCauseWrite-DiagProgress

PowerShell Scripts

Platform cmdlets

Page 21: Marcius Tribelhorn Premier Field Engineer Microsoft South Africa WCL401

Authoring a Troubleshooting Packdemo

Page 22: Marcius Tribelhorn Premier Field Engineer Microsoft South Africa WCL401

Deploying Troubleshooting Packs

Deploy Troubleshooting Packs using Configuration Manager or Group PolicyPost troubleshooting packs online

Intranet SharePoint siteInternal network sharesTechnical support websites

Provide links in your help documentation

Page 23: Marcius Tribelhorn Premier Field Engineer Microsoft South Africa WCL401

Command Line Execution

Uses Powershell to run scripts remotely via the command line

Get-TroubleshootingPackInvoke-TroubleshootingPack

Runs the same Troubleshooting packs as the wizard runsEasy to discover package contentsProvides scripted or remote execution

Page 24: Marcius Tribelhorn Premier Field Engineer Microsoft South Africa WCL401

Running a Troubleshooting Pack from the Command Line

demo

Page 25: Marcius Tribelhorn Premier Field Engineer Microsoft South Africa WCL401

Beyond the TSP Designer

Page 26: Marcius Tribelhorn Premier Field Engineer Microsoft South Africa WCL401

Basic .diag file structure

<DiagnosticIdentification/><DisplayInformation/><PrivacyLink/><PowerShellVersion /><SupportedOSVersion /> <RootCauses>

<ID/><DisplayInformation/><Troubleshooter/><Resolvers/><Verifiers/>

</RootCauses><Interactions/>

Page 27: Marcius Tribelhorn Premier Field Engineer Microsoft South Africa WCL401

Extension points

XML markup tags that customize the declarative UINot available from the designerRequires using commandline tools to generate a troubleshooting pack

Page 28: Marcius Tribelhorn Premier Field Engineer Microsoft South Africa WCL401

Commandline tools

sdmc.exe – compiles a .diag file into a .diagpkgsdcatalog.exe – creates the security catalog for a troubleshooting packsigntool.exe – creates a digital signature for the security catalog and .diagcab filecabarc.exe – packages the troubleshooting pack into a .diagcab file

Page 29: Marcius Tribelhorn Premier Field Engineer Microsoft South Africa WCL401

Extending a Troubleshooting Packdemo

Page 30: Marcius Tribelhorn Premier Field Engineer Microsoft South Africa WCL401

Topics That We Didn’t Cover Today

Answer filesExtension pointsLocalizationCustom icons Global TroubleshootersSigning with a trusted certificateGroup policy

Page 31: Marcius Tribelhorn Premier Field Engineer Microsoft South Africa WCL401

More information

Learn more by searching for Windows Troubleshooting Platform on msdn

Give feedback by e-mailing [email protected]

Page 32: Marcius Tribelhorn Premier Field Engineer Microsoft South Africa WCL401

In Summary…

The Windows Troubleshooting Platform makes finding and fixing problems both more approachable and more efficientThe Troubleshooting Pack Designer allows you to rapidly create simple troubleshootersThe Windows Troubleshooting Platform provides an extensible framework beyond the Designer

Page 33: Marcius Tribelhorn Premier Field Engineer Microsoft South Africa WCL401

Track ResourcesMicrosoft Deployment Toolkit, which can be used to automate Windows 7 deployments – note that for Windows 7, you need the 2010 version which is in beta: http://technet.microsoft.com/en-us/solutionaccelerators/dd407791.aspx

If you need to use it for legacy applications, you can download XPMode & Virtual PC here http://www.microsoft.com/windows/virtual-pc/download.aspx

Are your applications compatible with Windows 7? Run the Application Compatibility Toolkit 5.5 http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=24da89e9-b581-47b0-b45e-492dd6da2971 Are your machines capable of running Windows 7? Run MAP 4.0 to find out http://technet.microsoft.com/en-us/solutionaccelerators/dd537566.aspx

Page 34: Marcius Tribelhorn Premier Field Engineer Microsoft South Africa WCL401

www.microsoft.com/teched

International Content & Community

http://microsoft.com/technet

Resources for IT Professionals

http://microsoft.com/msdn

Resources for Developers

www.microsoft.com/learning

Microsoft Certification & Training Resources

Resources Tech·Ed Africa 2009 sessions will be made available for download the week after the event from: www.tech-ed.co.za

Page 35: Marcius Tribelhorn Premier Field Engineer Microsoft South Africa WCL401

Complete a session evaluation and enter to win!

10 pairs of MP3 sunglasses to be won

Page 36: Marcius Tribelhorn Premier Field Engineer Microsoft South Africa WCL401

© 2009 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.