Sitemap
Ted James

Ted James

The world is my office, and every destination is my inspiration

WMI Invalid class but “WMI repository is consistent”

1 min readJun 20, 2024

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

Get Ted James’s stories in your inbox

Join Medium for free to get updates from this writer.

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

Answered By — Eduardo Elias Hernandez

Answer Checked By — Marie Seifert (FixIt Admin)

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

creative-commons-by-21pxcreative-commons-sa-21px

--

--

Ted James
Ted James

Written by Ted James

The world is my office, and every destination is my inspiration