You could also verify if WMI is consistent by running
winmgmt /verifyrepository at the command prompt
if it says inconsistent ... Then follow the advice by Cluberti
If nothing works ... follow this from
Microsoft Quote:
If /salvagerepository or /resetrepository does not resolve the issue, then manually rebuild repository:
1. Change startup type to Window Management Instrumentation (WMI) Service to disabled
2. Stop the WMI Service; you may need to stop IP Helper Service first or other dependent services before it allows you to stop WMI Service
3. Rename the repository folder: C:\WINDOWS\system32\wbem\Repository to Repository.old
4. Open a CMD Prompt with elevated privileges
5. CD windows\system32\wbem
6 for /f %s in ('dir /b /s *.dll') do regsvr32 /s %s
7. Set the WMI Service type back to Automatic and start WMI Service
8. cd /d c:\ ((go to the root of the c drive, this is important))
9. for /f %s in ('dir /s /b *.mof *.mfl') do mofcomp %s
10. Reboot the server