Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

WMI database seems to be broken, you need to follow this guide:

https://msdn.microsoft.com/en-us/library/aa394603(v=vs.85).aspx

to run WMI Diagnosis Utility, which will help you to confirm if that is really your issue and then fix it by following this guide:

First try:

winmgmt /verifyrepository

If the result is shown as inconsistent, go to next step:

winmgmt /salvagerepository
winmgmt /verifyrepository - to check again wmi repository had been repaired successfully
If it fails - try fully rebuild the WMI Repository follow these steps:

Disable and stop the winmgmt service
Remove or rename C:\Windows\System32\wbem\repository
Enable and start the winmgmt service
Open a CMD prompt as Administrator
In the CMD prompt Navigate to C:\Windows\System32\wbem
Run the following command:

for /f %s in ('dir /b *.mof') do mofcomp %s

Note: This will take a minute or so to complete.

Now run the command (dont worry if it doesn’t work):

for /f %s in ('dir /b en-us*.mfl') do mofcomp en-us%s

Reboot

  • No labels