windows64-bitwmi

WMI Invalid class but "WMI repository is consistent"


On my Windows 10 Pro 64-bit PC, when I go to WMI Control in Computer Management under "Services and Applications" and select "More Actions" -> Properties, it displays the following:-

Failed to initialize all required WMI classes.

Win32_Processor: WMI: Invalid class

Win32_WMISetting: WMI: Invalid class

Security information: Successful Win32_OperatingSystem: WMI Invalid class

However, when I run command "winmgmt /verifyrepository" in an elevated command prompt (as advised in many web-pages) it reports: "WMI repository is consistent" which, I'm led to believe means the WMI Repository is NOT corrupt. How do I fix this?


Solution

  • I had the same problem and the solution was ran winmgmt /resetrepository in the cmd with administrator privilege. About the cause of the problem according to this information source is because Antivirus scanning cause corruption in WMI https://techcommunity.microsoft.com/t5/ask-the-performance-team/wmi-missing-or-failing-wmi-providers-or-invalid-wmi-class/ba-p/375485