Windows-WMI -No CPU Data: Win32_PerfRawData_PerfProc_Process returns "Invaild Class" through WBEMTEST

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:


    1. Start Regedit.exe. (You cannot use Regedt32.exe because it does not allow searching for registry values.)Click to select the following key
    2. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services
    3. Select Find from the Edit menu.
    4. In the Find What field, type Disable Performance Counters.
    5. Click Find Next. This will locate a Performance key that may have this Registry value set to 1.
    6. If the Registry value is set to 1, set the value to 0 or delete the Registry value.
    7. Press F3 to find the next occurrence of this Registry value.
    8. 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

                      • Unable to Retrieve Data Through WMI Mode

                        Overview 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 ...
                      • While trying to monitor servers, I get a "No data Available" error for CPU Core Utilization.

                        The data for CPU Core utilization may not be shown due to problem in executing and getting the output of CPU command on the server. For different modes of monitoring (WMI/Telnet/SSH/SNMP) we use different methods to collect data. Find the steps below ...
                      • 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 ...
                      • 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 related to Windows Server monitoring through WMI. The articles are categorized based on the monitoring lifecycle to help you quickly identify the relevant troubleshooting ...