From Blush Eider, 4 Years ago, written in Plain Text.
Embed
  1. Run "sfc /scannow". If unsuccessfull, try to rebuild WMI:
  2.  
  3. net stop winmgmt /y
  4. rd %systemroot%\system32\repository /s /q
  5. net start winmgmt
  6. for %D in (%systemroot%\system32\wbem\*.dll) do regsvr32 /s %D
  7. for %D in (%systemroot%\system32\wbem\*.mof) do mofcomp %D
  8.  
  9. (If you run this in a batch, replace %D with %%D)
  10.  
  11. This is the hardcore method to get a clean fresh WMI database. For me it
  12. worked almost every time WMI was corrupt.
  13.  
  14. sincerely, Martin
  15.  
  16.  
  17.  
  18.  
  19.  
  20. Wokr nice for me : Repair WMI...
  21. sc config winmgmt start= disabled
  22. net stop winmgmt /y
  23. Winmgmt /salvagerepository %windir%\System32\wbem
  24. Winmgmt /resetrepository %windir%\System32\wbem
  25. sc config winmgmt start= auto

Replies to Repair Corrupt WMI rss

Title Name Language When
Re: Repair Corrupt WMI - Win7 Chunky Horse text 4 Years ago.