Windows Hardware Performance Counters Registry Key

This article explains how to locate and configure hardware and system performance counter settings within the Windows Registry Editor (Regedit). You will find the precise registry paths used by the Windows operating system to register, enable, disable, and monitor hardware and service performance counters, along with the specific values responsible for counter configurations.

Primary Performance Counters Registry Path (Perflib)

The central repository for all registered performance counters in Windows is managed by the Performance Library (Perflib). You can find this configuration at:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Perflib

Key Subkeys and Values in Perflib:


Service and Driver Hardware Performance Counter Path

Individual hardware drivers, services, and subsystems register their specific performance counters under their respective service entries in CurrentControlSet.

To locate a specific hardware or service counter, navigate to:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\<ServiceName>\Performance

Replace <ServiceName> with the target service or hardware driver name (such as PerfOS, PerfDisk, or PerfProc).

Common Values in the Performance Key:


System-Wide Counter Configuration

To globally manage or query system-level profiling and hardware event counters (such as CPU Performance Monitoring Units via ETW/Kernel tracing), check the Session Manager and WMI tracing keys:


How to Access These Keys in Regedit

  1. Press Win + R, type regedit, and press Enter.
  2. Copy any of the paths listed above.
  3. Paste the path directly into the address bar at the top of the Registry Editor window and press Enter to navigate immediately to the configuration key.