How to repair Windows Management Instrumentation (WMI)

How to repair Windows Management Instrumentation (WMI)

This error might occur if Windows Management Instrumentation (WMI) components are missing or not registered correctly.
This error manifest itself, among others, by not displaying any more processor information in System Properties, and by returning a “Class no registered” error message after running the “systeminfo” command.
Registering the WMI components ought to resolve the problem:
The .dll and .exe files used by WMI are located in %windir%\system32\wbem. You might need to re-register all the .dll and .exe files in this directory. If you are running a 64-bit system you might also need to check for .dll and .exe files in %windir%\sysWOW64\wbem.

To re-register the WMI components, run the following commands at the command prompt:

cd /d %windir%\system32\wbem
for %i in (*.dll) do RegSvr32 -s %i
for %i in (*.exe) do %i /RegServer

Restart Windows. If that does not help, you may try repairing the WMI using the comprehensive rebuild method provided in article Repairing and re-registering the WMI. (http://windowsxp.mvps.org/repairwmi.htm)

Leave a Reply