If performance counters become corrupt you will see issues in the Resource Monitoring Tool agent. The issue will be reported in the backgrounder log file and will look similar to the following example:

This may be due to some performance counters being missing on the server. To check this, run perfmon.exe and check for any warning messages.

If perfmon.exe confirms the performance counters are missing, you can attempt to fix it by rebuilding all of the counters. See below.

Rebuilding all performance counters:

To rebuild all performance counters, type the following commands at an Administrative command prompt. Press ENTER after each command.

                    cd c:\windows\system32
lodctr /R
cd c:\windows\sysWOW64
lodctr /R

Next, resync the counters with Windows Management Instrumentation (WMI):

                    WINMGMT.EXE /RESYNCPERF

Finally, stop and restart the Performance Logs and Alerts service.

Who can do this

You need to be a Administrator on the machine and be a Resource Monitoring Tool Administrator in order to troubleshoot WMI query issues.

Thanks for your feedback!