Home - microsoft/MSO-Scripts GitHub Wiki

Welcome to MSO-Scripts!

Democratizing Windows Performance Analysis

Why is that app so slow!?

What is the system even doing!?

What code / component is responsible!?

Easily analyze the behavior and resource usage of Microsoft Office, Windows, and related apps:

  • CPU
  • Network Connections and Activity
  • Memory: RAM, Heap, Virtual Memory
  • File & Disk I/O
  • Handles: Kernel, User, GDI
  • Registry
  • Thread Activity
  • Anything and everything else!

What types of code does it work with?

  • Native Code: C++ / C / Assembly
  • Managed Code: C# / Common Language Runtime
  • JavaScript: Chromium / Chakra

How does it do it?

  • Uses Event Tracing for Windows (ETW) and Microsoft's Windows Performance Analyzer (WPA)
  • Pre-configured to expose usage of common resources over time.
  • Reveals the names of the modules and functions responsible (symbolic call stacks).
  • Handles all the tricky cases with a few simple commands.
  • Highly Customizable: 1000s of resource types are traceable.
  • Straightforward Documentation gets you up-to-speed.

What are the requirements?

Capture the Trace

  • Windows 11+, 10, 8.x, 7:   x86 / x64 / ARM
  • PowerShell 2+, Core and Desktop (part of Windows)
  • Windows Performance Recorder (WPR) (part of Windows 10+, or the Windows ADK)
  • Adminstrator access

Analyze the Trace

  • Windows 11+, 10, 8.1:   x64
  • PowerShell 2+, Core and Desktop (part of Windows)
  • Windows Performance Analyzer (WPA)

How do I get started!?

See: FAQ - Quick Start


Programmers' Creed

I will claim credit for the functionality provided by my code.
I will accept responsibility for the resources it consumes.

⚠️ **GitHub.com Fallback** ⚠️