Tuesday, February 07, 2006

Repairing the WMI (Advanced)

The Windows Management Instrumentation (WMI), is an API for performing certain system actions or getting information on how well your system is performing. Sometimes the WMI can get corrupted, and you will get an error like 'Windows Management Instrumentation might be corrupted.'

To find out if the the WMI is broken, from the Run... command type "wmimgmt.msc" press the OK button. This will launch the WMI console, if you get an error message when doing this, there is a good chance that your WMI is broken.

There are two ways to repair this problem, perform in an place upgrade by reinstalling Windows from the Installation disk. You can also try to force the WINMGMT service to re-register itself:
  • Open the command console, type "net stop winmgmt". When you get the warning that other services need to be stopped type 'Y' and continue.
  • Open 'My Computer' and then go to the folder '%SystemRoot%\System32\WBEM\Repository' and delete that folder.
  • Reboot your system.
  • After you login, open the command console, and type the following commands in order:
    • winmgmt /clearadap
    • winmgmt /kill
    • winmgmt /unregserver
    • winmgmt /regserver
    • winmgmt /resyncperf
Note: If this doesn't fix the problem, you need to reinstall Windows

7 comments:

Anonymous said...

It worked for me....THANKS!

Anonymous said...

Before reinstalling XP you may also try to type the following into Run "rundll32 wbemupgd, UpgradeRepository" Type without exclamation marks and type exactly as shown as command is case sensitive.

Unknown said...

I did this on my sony vaio in windows 7 but in the very first step when I typed "y" in commond console an error returned " Acceess denied" and I could not proceed to the next step. Can sombody help?

Unknown said...

@Ali Mohammad Hekmat: Start the console windows "As Administrator", then it will work.

Unknown said...

Well, I appreciate your article for Windows retrieving I would like to discus that you have some of information about Windows 8 files recovery. Thank you!
http://www.diskdoctors.net/

Jhun G. said...

Awesome..worked for me too (was about to re install windows)...thanks a lot

Anonymous said...

Thanks broh!! Worked perfectly! U sir, just saved me from lot of work!