Repairing a corrupt WMI repositoryPosted February 10th, 2009 by novakl
I ran across a broken SMS client today and when trying to run the client cleaner and client installer I received an error suggesting there was an invalid WMI namespace. After a little research I located <a href=”http://windowsxp.mvps.org/repairwmi.htm”>an article</a> which described my problem pretty well and also linked to a Microsoft KB article with additional description of the problem. Both articles gave instructions for checking the WMI consistency and repairing it. In my case, I was working with a Windows XP Pro SP2 system so I simply needed to run the following command:
rundll32 wbemupgd, UpgradeRepository
This command is a one-step operation for detecting and repairing WMI problems. The Windows 2003 steps are a little different.