Performance Counter Registry Configuration Is Inconsistent After Manual Repair

Casper Whristle 40 Reputation points
2026-11-25T22:40:27.0466667+00:00

After an administrator manually rebuilds performance counters, some providers remain duplicated or point to invalid registry paths, causing monitoring tools to return inconsistent counter names. How can I compare provider registration data with the installed manifests and safely identify registrations that need repair?

Windows for business | Windows 365 Business
0 comments No comments

1 answer

Sort by: Most helpful
  1. Hoang Le Huy 2,400 Reputation points Independent Advisor
    2026-11-25T23:16:06.1033333+00:00

    Hello Casper Whristle,

    Yes, I would absolutely start by validating the registration state before running another global rebuild. When counters remain duplicated or point to invalid locations after a lodctr /R, the issue is often stale provider registrations rather than corruption of the counter database itself.

    My usual approach is to compare the provider information under HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Perflib and the affected service's HKLM\SYSTEM\CurrentControlSet\Services\<ServiceName>\Performance key against the manifests currently installed on the system. If the referenced DLL, INI file, or manifest is missing from disk, or the Library value points to a non-existent module, that registration is a strong candidate for repair.

    I would also review Perflib, LoadPerf, and related event log entries first. Those events frequently identify the exact counter DLL, service, or manifest that failed to load, which is much safer than assuming all registrations are damaged. Duplicate counter names often indicate that the same provider has been registered multiple times or that an older registration was never removed after an update.

    If the issue is limited to a small number of providers, re-registering only the affected manifest, INI, or performance DLL with the appropriate lodctr command is generally preferable to another full rebuild. A complete lodctr /R should be reserved for cases where the Perflib database itself is demonstrably inconsistent across many native Windows counters.

    Finally, verify the result by comparing the output of typeperf -q, Get-Counter -ListSet *, and PerfMon after the repair. If a provider still appears but references invalid paths, focus on correcting or removing the stale registration rather than rebuilding the entire counter infrastructure again.

    If my answer is useful for you, please hit Accept the answer for me please.

    HL.

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.