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:
- Open the Run dialog (Win + R), type regedit, and press Enter.
- Go to:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\PerfProc\Performance
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
- Locate the entry named 'Disable Performance Counters' and check it's value:
- Value = 1: Counters are disabled
- Value = 0: Counters are enabled
- If the value is set to "1", double-click it and change the value to "0".
- Restart Applications Manager for the changes to take effect.
Note:
- If the Disable Performance Counters registry key is not present, it indicates that Performance Counters have not been explicitly disabled in the registry.
- 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.
- Ensure you have administrative privileges to edit the registry.
- For large-scale environments, confirm that performance counters are enabled on all monitored servers.
- 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?