cn133
Level 2

Install

Thank you this fixed it! I am going to post the info here in case that link goes away one day.

 

Diagnosis:

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

 

Solution steps:

 

Run these commands given below from Admin command prompt (run as administrator) to reset WMI components which should not be harm other Windows services or components.

 

From command prompt navigate to C:\windows\system32\wbem

* note (orig line did not work so I edited it and removed the > from the string: C:\>windows\system32\wbem)

regsvr32 /s %systemroot%\system32\scecli.dll

regsvr32 /s %systemroot%\system32\userenv.dll

regsvr32 cimwin32.dll

mofcomp cimwin32.mof

mofcomp cimwin32.mfl

mofcomp rsop.mof

mofcomp rsop.mfl

for /f %s in ('dir /b /s *.dll') do regsvr32 /s %s

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

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

regsvr32 wmisvc.dll

wmiprvse /regserver

/end of steps

 

I did not even have to reboot and DB manager works again!