Virtual techdays INDIA │ 18-20 august 2010 Windows Sysinternals Primer: Process Explorer, Process Monitor & More Tools Aviraj Ajgekar │ Regional Site Manager.

Slides:



Advertisements
Similar presentations
MCTS Guide to Microsoft Windows Server 2008 Network Infrastructure Configuration Chapter 6 Managing and Administering DNS in Windows Server 2008.
Advertisements

15.1 © 2004 Pearson Education, Inc. Exam Managing and Maintaining a Microsoft® Windows® Server 2003 Environment Lesson 15: Configuring a Windows.
How to use Sysinternals tools to troubleshoot SharePoint/Office
Sysinternals Primer: Gems Aaron Margosis Principal Consultant Microsoft Corporation SIA311.
1 Configuring Web services (Week 15, Monday 4/17/2006) © Abdou Illia, Spring 2006.
14.1 © 2004 Pearson Education, Inc. Exam Planning, Implementing, and Maintaining a Microsoft Windows Server 2003 Active Directory Infrastructure.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 11: Monitoring Server Performance.
Chapter 14 Chapter 14: Server Monitoring and Optimization.
70-270, MCSE/MCSA Guide to Installing and Managing Microsoft Windows XP Professional and Windows Server 2003 Chapter Thirteen Performing Network.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 10: Server Administration.
MCITP Guide to Microsoft Windows Server 2008 Server Administration (Exam #70-646) Chapter 14 Server and Network Monitoring.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 10: Server Administration.
Front end GUI for PsExec, A fast and easy remote deployment utility.
CCNA 2 v3.1 Module 2.
Virtual techdays INDIA │ November 2010 Windows Virtual PC & Windows XP Mode Aviraj Ajgekar │ Regional Site Manager │ Microsoft Corporation Blog:
CN1176 Computer Support Kemtis Kunanuraksapong MSIS with Distinction MCT, MCTS, MCDST, MCP, A+
1 Semester 2 Module 2 Introduction to Routers Yuda college of business James Chen
Guide to MCSE , Enhanced 1 Activity 10-1: Restarting Windows Server 2003 Objective: to restart Windows Server 2003 Start  Shut Down  Restart Configure.
Virtual techdays INDIA │ august 2010 IIS 7/7.5 Tips & Tricks Jaskirat Singh │ Technical Lead [IIS|Asp.Net team], Microsoft.
Ch 11 Managing System Reliability and Availability 1.
70-270: MCSE Guide to Microsoft Windows XP Professional Chapter 5: Users, Groups, Profiles, and Policies.
Hands-On Microsoft Windows Server 2008 Chapter 1 Introduction to Windows Server 2008.
Windows Operating System Internals - by David A. Solomon and Mark E. Russinovich with Andreas Polze Unit OS4: Scheduling and Dispatch 4.6. Demos.
Chapter-4 Windows 2000 Professional Win2K Professional provides a very usable interface and was designed for use in the desktop PC. Microsoft server system.
Administering Windows 7 Lesson 11. Objectives Troubleshoot Windows 7 Use remote access technologies Troubleshoot installation and startup issues Understand.
®® Microsoft Windows 7 for Power Users Tutorial 8 Troubleshooting Windows 7.
Chapter 7 Microsoft Windows XP. Windows XP Versions XP Home XP Home XP Professional XP Professional XP Professional 64-Bit XP Professional 64-Bit XP Media.
Module 4: Add Client Computers and Devices to the Network.
©Kwan Sai Kit, All Rights Reserved Windows Small Business Server 2003 Features.
Chapter Fourteen Windows XP Professional Fault Tolerance.
Computer & Information Tech BANGKOK CHRISTIAN COLLEGE English Immersion Program Mathayom Department Computer & Information Technology Class Teacher David.
Section 10: Assigning and Publishing Software Packages Using MSI Packages to Distribute Software Using Group Policy as a Software Deployment Method Deploying.
®® Microsoft Windows 7 for Power Users Tutorial 13 Using the Command-Line Environment.
Module 7: Fundamentals of Administering Windows Server 2008.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 11: Monitoring Server Performance.
The In’s and Out’s of the IIS 6.0 Migration Tool The In’s and Out’s of the IIS 6.0 Migration Tool Chris Adams Web Platform Supportability Lead Microsoft.
Windows XP to Windows 7 using P2V Migration. Agenda Deploying Local P2V Migration for SA Retro Mode Scripts Customize MDT 2010 with Disk2VHD Windows Virtual.
Windows Vista Inside Out Chapter 22 - Monitoring System Activities with Event Viewer Last modified am.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 10: Server Administration.
70-270: MCSE Guide to Microsoft Windows XP Professional 1 Windows XP Professional User Accounts Designed for use as a network client for: Windows NT Windows.
Troubleshooting Windows Vista Lesson 11. Skills Matrix Technology SkillObjective DomainObjective # Troubleshooting Installation and Startup Issues Troubleshoot.
Windows XP Professional Features ©Richard L. Goldman February 5, 2003.
1 Introduction to Microsoft Windows 2000 Windows 2000 Overview Windows 2000 Architecture Overview Windows 2000 Directory Services Overview Logging On to.
14 Step-by-Step Instructions for an Upgrade Installation n Prepare for the installation Verify that all devices and applications are Windows 2000 compatible.
MCTS Guide to Microsoft Windows Server 2008 Applications Infrastructure Configuration (Exam # ) Chapter Five Windows Server 2008 Remote Desktop Services,
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 11: Monitoring Server Performance.
Working with Users and Groups Lesson 5. Skills Matrix Technology SkillObjective DomainObjective # Introducing User Account Control Configure and troubleshoot.
Lesson 12: Configuring Remote Management
Administering Group Policy Chapter Eleven. Exam Objectives in this Chapter  Plan a Group Policy strategy using Resultant Set of Policy Planning mode.
NetTech Solutions Security and Security Permissions Lesson Nine.
Sysinternals Primer: Gems Aaron Margosis Principal Consultant Microsoft Corporation SIA311.
1 Active Directory Administration Tasks And Tools Active Directory Administration Tasks Active Directory Administrative Tools Using Microsoft Management.
Alessandro Cardoso, Microsoft MVP Creating your own “Private Cloud” with Windows 10 Hyper- V WIN443.
Working with Users and Groups Lesson 5. Skills Matrix Technology SkillObjective DomainObjective # Introducing User Account Control Configure and troubleshoot.
Hyperion Artifact Life Cycle Management Agenda  Overview  Demo  Tips & Tricks  Takeaways  Queries.
TechEd 2010: Process Explorer, Process Monitor, PsExec TechEd 2011: Autoruns, Disk2Vhd, ProcDump, BgInfo, AccessChk TechEd 2012: “Gems” (Procmon.
Unit 4: Processes, Threads & Deadlocks June 2012 Kaplan University 1.
Module 14: Advanced Topics and Troubleshooting. Microsoft ® Windows ® Small Business Server (SBS) 2008 Management Console (Advanced Mode) Managing Windows.
Troubleshooting Workflow 8 Raymond Cruz, Software Support Engineer.
Troubleshooting Windows Vista Lesson 11. Skills Matrix Technology SkillObjective DomainObjective # Troubleshooting Installation and Startup Issues Troubleshoot.
Exploreengage elevate explore engage elevate Presented By: Laura Murphy, Turnkey Technologies.
/Reimage-Repair-Tool/ /u/6/b/ /channel/UCo47kkB-idAA-IMJSp0p7tQ /alexwaston14/reimage-system-repair/
Windows Server 2003 { First Steps and Administration} Benedikt Riedel MCSE + Messaging
Managing Server 2012 Lecture 3 Lecturer: Dr. Simon Tran Course: IT 442.
Chapter Objectives In this chapter, you will learn:
Bomgar Remote support software
Introduction to Computers
Microsoft Ignite NZ October 2016 SKYCITY, Auckland.
Windows Processes and Services
Software - Operating Systems
Presentation transcript:

virtual techdays INDIA │ august 2010 Windows Sysinternals Primer: Process Explorer, Process Monitor & More Tools Aviraj Ajgekar │ Regional Site Manager │ Microsoft Corporation │

 Introduction to Sysinternals  Process Explorer  Process Monitor  PsExec  Additional Sysinternals Utilities - Demo virtual techdays INDIA │ august 2010 S E S S I O N A G E N D A

 High quality, advanced diagnostic and troubleshooting tools  Single executable package, no install needed  Free!  Authored by Mark Russinovich and/or Bryce Cogswell  Quick turnaround/update cycle  Limited support virtual techdays INDIA │ august 2010 Introduction To Sysinternals

  Redirects to technet.microsoft.com  Sysinternals Suite contains all the tools in one zip file  Site blog announces all updates   Run directly from the web: Sysinternals Live  or  \\live.sysinternals.com\tools\procmon.exe \\live.sysinternals.com\tools\procmon.exe  UNC syntax requires WebClient service  Videos on troubleshooting with the tools virtual techdays INDIA │ august 2010 Sysinternals Website Features

virtual techdays INDIA │ august 2010 Ever See This? Or this?

virtual techdays INDIA │ august 2010 Tip: Unblock before extracting (Remote Zone Information)

 What is a process?  Task Manager – The Good, The Bad, The Ugly  Demo’s virtual techdays INDIA │ august 2010 Processor Explorer

What is a Process? A process is a container for a set of resources, including one or more threads. Threads – not processes – do the work and consume CPU, memory, etc Every process has at least one thread One or More threads Open handles Security Tokens Virtual Memory Address space

 The good  Great for users of limited technical knowledge.  High level flat list of processes, services, users and system performance.  The bad  Doesn’t show path to executable.  Doesn’t show fractional CPU.  The ugly  Doesn’t show multi purpose processes.  Example: svchost.exe  Doesn’t show what might be causing a process to misbehave.  Doesn’t distinguish the different types of processes.  Doesn’t show threads virtual techdays INDIA │ august 2010 Task Manager The good, the bad, the ugly

 The Good  Parent/Child Relationships  “Peer” into processes  The Better  Options galore  Process Highlighting  The Best  Customized Columns  Threads  CPU, Context Switch Delta, Cycles Delta  Determine which thread is consuming CPU virtual techdays INDIA │ august 2010 Process Explorer The good, the better, the best

virtual techdays INDIA │ august 2010 DEMO: Process Explorer Aviraj Ajgekar │ Microsoft Corporation

 Process Explorer shows a moving snapshot  Process Monitor is a logging utility  Captures detailed info about:  All registry activity  All file system activity  Process and thread events, including DLL load  Network activity  Periodic process profiling data virtual techdays INDIA │ august 2010 Process Monitor

 Save results for viewing elsewhere  Can log boot activity  Advanced filtering capabilities  Filters can be saved and exported  Analysis tools for data mining  Command-line scriptable  Highly scalable virtual techdays INDIA │ august 2010 Process Monitor Features

Process Monitor Event Detail

virtual techdays INDIA │ august 2010 DEMO: Process Monitor Aviraj Ajgekar │ Microsoft Corporation

 Execute processes on remote computers  Redirected console I/O  Remote-enable console apps  Execute processes as System virtual techdays INDIA │ august 2010 PsExec

PsExec Syntax psexec [Computers] [Options] command [arguments] Computers = \\computer[,computer2[,...]] or \\* Alternate credentials (optional): -u username [-p password]

PsExec Alternate Credentials [-u username [-p password]]  Can omit -p: it prompts you, doesn’t echo Used twice: 1.To authenticate to the remote computer 2.To create a new logon on the remote computer  #2 puts the credentials on the wire in the clear  Required for remote access when:  Current account is not admin on the remote, or  Remote process needs to access network, or  Remote process needs to run interactive

PsExec Options (Eye chart) OptionDescription -dDon’t wait for the process to terminate. Process Performance Options -background -low -belownormal -abovenormal -high -realtime Run the process at a different priority. -a n,n…Specify the CPUs on which the process can run. Remote Connectivity Options -c [-f|-v] Copies the specified program from the local to the remote system. If you omit this option, the application must be in the system path on the remote system. Adding -f forces the copy to occur; -v performs a version or timestamp check and copies only if the source is newer. -n secondsSpecifies timeout in seconds connecting to remote computers. Runtime environment options -sRun the process in the System account. -i [session]Run the program on an interactive desktop. -xRun the process on the Winlogon secure desktop. -w directorySet the working directory of the process. -eDoes not load the specified account’s profile. -hUse the account’s elevated context, if available. -lRun the process as a limited user.

virtual techdays INDIA │ august 2010 DEMO: PsExec Aviraj Ajgekar │ Microsoft Corporation

PsExec Tips Don’t forget /accepteula Remoted Sysinternals utilities will hang Things you can’t do in a redirected console: CLS MORE Text coloring Tab completion PowerShell v1

Run Procmon Past Logoff Non-interactively, with PsExec -s Must specify a backing file Must not have user interaction Procmon must exit cleanly To start: PsExec -s -d Procmon.exe /AcceptEula /Quiet /BackingFile C:\Procmon.pml To stop: PsExec -s -d Procmon.exe /AcceptEula /Terminate

virtual techdays INDIA │ august 2010 DEMO: Sysinternals Utilities such as Disk2VHD & More Aviraj Ajgekar │ Microsoft Corporation

Additional Resources Mark Russinovich’s blog: – Blog posts and utilities by Aaron Margosis – – Aviraj Ajgekar’s Blog –

question & answer

virtual techdays THANKS │ august │Blog: Thank You