Skip to content

How-ToCPU

How to Record a Performance Trace in Windows 11 with WPR and WPA

Windows Performance Recorder can capture exactly what your CPU, drives and drivers were doing when your PC stuttered or slowed down. How to choose a profile, record a trace from the WPR window or the built-in wpr command, record slow boots, and read the results in Windows Performance Analyzer.

By , Systems & Technical Editor

7 min read

How to Record a Performance Trace in Windows 11 with WPR and WPA

When a PC stutters, hangs for a second or feels slow for no obvious reason, Task Manager often shows nothing useful by the time you open it. Windows Performance Recorder (WPR) solves that problem: it records what the system was doing in detail, using Event Tracing for Windows (ETW), so you can look back at the moment things went wrong in Windows Performance Analyzer (WPA). Microsoft describes the pair as tools for investigating particular areas of performance and understanding resource consumption.

It's the deep end of Windows diagnostics, so start with the simpler tools if you haven't already. Task Manager and Resource Monitor are fine for problems you can watch happening, Performance Monitor can log counters over time, and LatencyMon is the usual first stop for audio crackles and DPC latency. Reach for WPR when those tools show a problem but can't tell you what caused it.

What you need

  • WPR command line (wpr.exe). Microsoft says WPR.exe ships with Windows (Windows 8.1 or later) and needs no extra installation, so it's already on a Windows 11 PC.

  • WPR user interface (WPRUI) and WPA. These come with the Windows Performance Toolkit, which is part of the Windows Assessment and Deployment Kit (Windows ADK). On 26 November 2026, Microsoft's ADK download page listed ADK 10.1.26100.9457 (September 2026) as supporting Windows 11 versions 26H2, 25H2, 24H2 and earlier supported versions. For this guide you only need the Windows Performance Toolkit, one of the components the ADK includes. Microsoft notes that the toolkit installation is split into several MSI packages, so run setup.exe rather than an individual MSI.

  • Free disk space. Traces can be large, especially in file mode, and Microsoft lists freeing space on the system drive as one way to avoid lost events.

Step 1: Pick the right recording settings

WPR has three settings that matter most for home troubleshooting:

Setting

Options

Default

When to change it

Profile

General, plus resource profiles such as CPU usage, Disk I/O activity, File I/O activity, Networking I/O activity, GPU activity and Power usage

General

Add a resource profile when you already suspect the CPU, a drive or the GPU

Detail level

Light or Verbose

Verbose

Light carries less overhead and interferes less with the system; Verbose is more useful for thorough analysis

Logging mode

Memory or File

Memory

File suits short, predictable events such as an app launch; Memory suits problems you can't predict

Microsoft's guidance on logging mode is the key point. Memory mode records into circular buffers, so you can leave it running for a long time without it consuming ever more memory; it's the mode to use when you're waiting for a random stutter. File mode is better for a short event you can trigger on demand, but the file can grow very large because the only limit is free disk space, and Microsoft warns that WPA can't analyse extremely large files.

The General profile is what WPR runs by default. According to Microsoft, it records basic system issues and performance data, and its kernel logger includes keywords such as context switches, disk I/O, DPCs, interrupts, hard faults, memory information and power. That makes it a sensible first recording when you don't know where the problem lies.

Step 2: Record with the WPR window

  1. Open Windows Performance Recorder (it's installed with the Windows Performance Toolkit). To run the default profile straight away you can simply click Start, but it's worth checking the options first.

  2. Click More options to show the profile list.

  3. In the Select profiles for performance recording box, select at least one profile, adding resource profiles such as CPU usage or Disk I/O activity if you suspect a particular component.

  4. Set Performance scenario to General. Microsoft says to choose General unless you're recording an on/off transition such as boot or shutdown.

  5. Choose the Detail level and Logging mode using the table above.

  6. Click Start, then reproduce the problem: launch the game, run the export, or carry on working until the stutter happens.

  7. Click Save soon after the problem occurs. Enter a short description of what went wrong, then click Save again.

By default, WPR saves recordings in the WPR Files folder inside your Documents folder. If you click Cancel instead of Save, nothing is kept. If WPR warns that events were lost, Microsoft suggests selecting fewer profiles, simplifying what you're testing, freeing disk space on the system drive or using larger or more buffers.

Step 3: Or record from the command line

The command-line tool is handy because it's already on every Windows 11 PC. Open Windows Terminal and use these commands from Microsoft's WPR reference:

wpr -profiles
wpr -start GeneralProfile
wpr -status
wpr -stop C:\Traces\stutter.etl "Game stutters after 10 minutes"
  • wpr -profiles lists the built-in profile names you can pass to -start.

  • wpr -start CPU starts the verbose CPU profile in memory mode, and wpr -start CPU.light -filemode starts the light version in file mode. You can combine several profiles in one recording.

  • wpr -status shows whether a recording is running, how long it's been going, how many events were dropped and the logging mode.

  • wpr -stop saves the recording to the ETL file you name, with an optional problem description in quotes. Make sure the folder exists first.

  • wpr -cancel stops a recording without saving anything.

If you start a recording from the command line, the WPR window also shows its status. Microsoft notes that if you try to start a new recording while another WPR session is running, WPR asks whether to stop the existing session first.

Step 4: Record a slow boot, shutdown or resume

For slow start-ups, WPR has on/off transition scenarios: Boot, FastStartup, Shutdown, RebootCycle, Standby/Resume and Hibernate/Resume. Choose one from the Performance scenario list in the WPR window. Microsoft says these are always logged to a file and, by default, reboot the computer three times, so save your work and allow time before starting. From the command line, the same scenarios are available through wpr -start with the -onoffscenario option.

If your PC is slow to reach the desktop after a memory upgrade, check our guide to slow boots and DDR5 memory training before you start tracing: a long first boot after changing RAM settings can be normal.

Step 5: Open the trace in WPA

  1. Open Windows Performance Analyzer, then use File > Open to load your ETL file. Recent versions of WPR also have an Open in WPA button after a recording is saved.

  2. The Graph Explorer window shows thumbnails for every graph in the recording, grouped under several nodes. Expand a node by clicking the small triangle, then drag a graph (for example, a CPU usage graph) onto the Analysis tab, or double-click it.

  3. Drag across the timeline to select the period around the stutter, then right-click and choose Zoom to selected time range. Every graph on the same Analysis tab shares that timeline, so CPU, disk and other graphs line up.

  4. Use the layout icons on a graph's title bar to show the data table. Click a column header to sort, for example by CPU usage or disk time, to see which process was busiest at that moment.

  5. Use the drop-down on the graph title bar to view data in a different way, such as CPU usage by process, by CPU, or by process and thread.

The Analysis Assistant pane explains the graph or table you've selected. When you've arranged a useful layout, Profiles > Export saves it as a view profile you can apply to future traces.

What to look for

WPA shows far more data than most people need, so keep it focused on the moment the problem happened:

  • A process at 100% of a core during a stutter points to that app or game, or to something running in the background, such as an update or a scan. Our guide to fixing high CPU usage covers the next steps.

  • Long disk activity at the same moment suggests storage is the bottleneck. Check the drive's health and free space before you blame the game.

  • Spikes in DPC or interrupt time may point towards a driver. Update or roll back the driver for the device involved, one at a time.

For frame-time measurements rather than system-wide events, Intel PresentMon is the easier tool. Our general guide to fixing stuttering in PC games covers the common causes.

Privacy: be careful when sharing traces

Microsoft warns that recordings can contain personally identifiable or security-related information, including file paths, registry access and process names. Think before you upload an ETL file to a public forum. Share it only with someone you trust to help, such as a vendor's support team that has asked for it.

Our verdict

Windows Performance Recorder is the tool to use when a stutter or slowdown comes and goes too quickly for Task Manager. The command-line version is already built into Windows 11: start a General recording in memory mode, reproduce the problem, then save the trace straight afterwards. Install the Windows Performance Toolkit from the Windows ADK to get the WPR window and Windows Performance Analyzer. In WPA, zoom into the seconds around the problem and sort the CPU and disk tables to see what was busy. Be careful who you share traces with, because they can contain personal information. For problems you can see live, the simpler tools in our Sysinternals roundup and Windows' own monitors are quicker.

The bottom line

Windows Performance Recorder is the tool to use when a stutter or slowdown comes and goes too quickly for Task Manager. The command-line version is already built into Windows 11: start a General recording in memory mode, reproduce the problem, then save the trace straight afterwards. Install the Windows Performance Toolkit from the Windows ADK to get the WPR window and Windows Performance Analyzer. In WPA, zoom into the seconds around the problem and sort the CPU and disk tables to see what was busy. Be careful who you share traces with, because they can contain personal information. For problems you can see live, the simpler tools in our Sysinternals roundup and Windows' own monitors are quicker.

Sources

  1. 01Windows Performance Recorder (Microsoft Learn)
  2. 02Introduction to WPR (Microsoft Learn)
  3. 03WPR How-to Topics (Microsoft Learn)
  4. 04WPR Command-Line Options (Microsoft Learn)
  5. 05Recording for Basic System Diagnosis (Microsoft Learn)
  6. 06Built-in Recording Profiles (Microsoft Learn)
  7. 07Recording On/Off Transitions (Microsoft Learn)
  8. 08Windows Performance Toolkit (Microsoft Learn)
  9. 09What's New in the Windows Performance Toolkit (Microsoft Learn)
  10. 10WPA Step-by-Step Guide (Microsoft Learn)
  11. 11Introduction to the WPA User Interface (Microsoft Learn)
  12. 12Download and install the Windows ADK (Microsoft Learn)

About the author

Marcus Thorne

Systems & Technical Editor

Marcus writes Forge PC's step-by-step build, troubleshooting and system optimisation guides. His background spans Windows kernel and power-state diagnostics, UEFI/BIOS configuration, NVMe storage arrays, ATX 3.1 power delivery and running local AI and LLM workloads on consumer graphics cards.

More from Marcus Thorne

Read next

Disk Management vs DiskPart: Which Windows Drive Tool Should You Use?

Versus

Disk Management vs DiskPart: Which Windows Drive Tool Should You Use?

Windows has two built-in drive tools: the Disk Management window and the DiskPart command line. We compare what each can do for initialising, partitioning, formatting, extending and shrinking drives, where DiskPart goes further with clean, convert gpt and read-only attributes, and which to use.

Callum Reid6 min

How to Use Coreinfo to Check Your CPU's Cores, Cache and Features

How-To

How to Use Coreinfo to Check Your CPU's Cores, Cache and Features

Microsoft's free Sysinternals Coreinfo shows how your CPU is really laid out: which logical processors share a core, P-cores and E-cores, cache sizes and sharing, NUMA nodes and supported instruction sets. How to use its graphical and command-line versions, and why its virtualisation check can mislead.

Marcus Thorne6 min

How to Run a Local LLM on an NVIDIA Jetson Orin Nano Super

How-To

How to Run a Local LLM on an NVIDIA Jetson Orin Nano Super

Run a private chatbot on an NVIDIA Jetson Orin Nano Super. Why Ollama needs JetPack 6 rather than JetPack 7.2, which storage to use, how to set the MAXN SUPER power mode and how to install Ollama and Open WebUI.

Marcus Thorne6 min

How to Run a Powercfg Energy Report in Windows 11

How-To

How to Run a Powercfg Energy Report in Windows 11

Windows 11's built-in powercfg tool can diagnose power problems. How to run an energy-efficiency report with powercfg /energy, find what's stopping your PC sleeping with /requests, check sleep with /systemsleepdiagnostics, and use SleepStudy on modern standby laptops.

Marcus Thorne6 min