Performance counter library corruption disabling Hyper-V metrics

Hafiz Omar 0 Reputation points
2026-09-15T08:12:56.03+00:00

Hi community, we observe this behavior: Hyper-V admin consoles fail to display host CPU and memory metrics because Hyper-V Virtual Machine Health Monitor performance counters are corrupt. How do we reregister counters using lodctr?

Windows for business | Windows 365 Enterprise
0 comments No comments

1 answer

Sort by: Most helpful
  1. Xuan Nhu 970 Reputation points Independent Advisor
    2026-09-15T08:44:29.99+00:00

    Hello Hafiz,

    If the Hyper-V performance counter library is corrupted, you can rebuild the Windows performance counter registrations from an elevated Command Prompt:

    `cd /d %windir%\system32 lodctr /R

    cd /d %windir%\SysWOW64 lodctr /R

    WINMGMT.EXE /RESYNCPERF`

    Afterward, restart the Performance Logs & Alerts and Windows Management Instrumentation services, or reboot the Hyper-V host during an appropriate maintenance window.

    Then verify that the Hyper-V counters are available:

    Get-Counter -ListSet "Hyper-V*"

    Hyper-V normally exposes counter sets such as Hyper-V Virtual Machine Health Summary, Hyper-V virtual processors, dynamic memory, storage, and networking counters.

    I would use lodctr /R to rebuild the registered counter library rather than manually modifying individual Hyper-V counter registry entries. If the Hyper-V counter sets are still missing afterward, please share the Windows Server version/build and the output/error from lodctr /R and Get-Counter -ListSet "Hyper-V*".

    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.