How to resolve WMI Monitoring Issues due to Disabled Performance Counters

How to resolve WMI Monitoring Issues due to Disabled Performance Counters

Applications Manager uses WMI (Windows Management Instrumentation) for collecting performance metrics. In some cases, specific WMI classes (e.g., Win32_PerfRawData_PerfProc_Process) fail to retrieve data if performance counters are disabled in the Windows registry. This KB provides steps to identify and resolve the issue by enabling performance counters.

Follow the steps given below to enable the performance counters:
  1. Open the Run dialog (Win + R), type regedit, and press Enter.
  2. Go to: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\PerfProc\Performance
  3. If specific attributes, such as disk, network, or operating system metrics, are unavailable, verify the following registry paths for their performance counters:

    • Disk:
      HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\PerfDisk\Performance

    • Network:
      HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\PerfNet\Performance

    • Operating System:
      HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\PerfOS\Performance

  4. Locate the entry named 'Disable Performance Counters' and check it's value:
    1. Value = 1: Counters are disabled
    2. Value = 0: Counters are enabled
  5. If the value is set to "1", double-click it and change the value to "0". 
  6. Restart Applications Manager for the changes to take effect.
Notes
Note: 
  1. If the Disable Performance Counters registry key is not present, it indicates that Performance Counters have not been explicitly disabled in the registry.
  2. Applications Manager support does not provide assistance for issues resulting from improper registry modifications. The Windows registry stores critical information essential for your computer and applications. To avoid potential issues, ensure you back up the registry before making any changes.
  3. Ensure you have administrative privileges to edit the registry.
  4. For large-scale environments, confirm that performance counters are enabled on all monitored servers.
  5. For detailed instructions on using the Windows Registry Editor and guidance on backing up and restoring it, refer to the Microsoft Support article titled Windows registry information for advanced users.


                    New to ADSelfService Plus?

                      • Related Articles

                      • Configuring non-admin user account for WMI monitoring

                        By default, Windows allows only members of the Administrators or Domain Admin groups to read WMI class information. However, you can configure a regular user to access WMI information by performing the following steps on the server that needs to be ...
                      • Setting WMI access through Active Directory and Group Policy Object for non-admin user

                        In our case, we run Active Directory on Windows 2008 R2 and we want to scan the target machine which is Windows 2012 R2 machine. Our domain is called “APMCLU” and we name our dedicated WMI user-account “wmiuser”. First – Setting done from Active ...
                      • WMI Error Troubleshooting Guide

                        WMI Error Troubleshooting Guide Overview This Knowledge Base provides troubleshooting guidance for commonly encountered Windows Management Instrumentation (WMI) errors that may occur while adding a Windows monitor or collecting metrics through WMI ...
                      • Monitoring HAProxy - Configuring the HAProxy Stats page

                        To effectively monitor an HAProxy instance, you can enable and access the HAProxy stats page, which provides real-time metrics about HAProxy's performance. Steps to Enable HAProxy Stats: Open the HAProxy Configuration File: The HAProxy configuration ...
                      • Limitations when monitoring Network Drives via WMI in Windows Monitors

                        Overview When monitoring Windows systems via WMI, mapped network drives may not appear under Monitor Details → Disk Tab → Disk Utilization. This is because mapped drives are associated with a specific user's login session, and WMI queries executed ...