Windows-WMI -No CPU Data: Win32_PerfRawData_PerfProc_Process returns "Invaild Class" through WBEMTEST
1) Start Regedit.exe. (You cannot use Regedt32.exe because it does not allow searching for registry values.)
2)Find "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\PerfProc\Performance"
3)Check if there is a key "Disable Performance Counters" and with value set to "1",which means it is DISABLED.
4)Either Delete the key ,or set the value to "0".
5)Reboot of the server is required.
For other Performance Counters that may be disabled,this needs to be checked.Refer the solution provided by microsoft below:
- Start Regedit.exe. (You cannot use Regedt32.exe because it does not allow searching for registry values.)Click to select the following key
- HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services
- Select Find from the Edit menu.
- In the Find What field, type Disable Performance Counters.
- Click Find Next. This will locate a Performance key that may have this Registry value set to 1.
- If the Registry value is set to 1, set the value to 0 or delete the Registry value.
- Press F3 to find the next occurrence of this Registry value.
- Repeat the previous two steps until there are no Performance keys that have the Disable Performance Countersvalue set to 1.
New to ADSelfService Plus?
Related Articles
Windows Server Monitor - WMI Metrics Reference Tables
This document lists the WMI namespaces, classes, and WQL queries used by AppManager Windows Server Monitor scripts in WMI mode. These reference tables can be used to troubleshoot WMI-related issues, validate WMI queries using WBEMTEST, verify ...
Unable to retrieve data - WMI Mode
This article provides troubleshooting steps to identify and resolve data collection failures for Windows monitors configured in WMI mode. If one or more metrics are not being collected, the steps in this article will help determine whether the issue ...
WMI Query and Class Validation Errors
Applicable WMI Error Codes 0x80041017 - Invalid Query 0x80041010 - Invalid Class Overview This error occurs when the WMI query executed during monitor addition or data collection is invalid, references unavailable WMI classes or performance counters, ...
Windows Monitoring - FAQ
This Knowledge Base article provides answers to frequently asked questions about Windows Server monitoring using WMI mode. The articles are organized by the monitoring lifecycle to help you quickly identify the relevant troubleshooting guide. ...
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 ...