ict.ken.be

Delivering solid user friendly software solutions since the dawn of time.

Rebuilding the WMI/WBEM repository

Categories: Windows
  • net stop winmgmt
  • delete c:\windows\system32\wbem\repository\
  • net start winmgmt
  • re-stored/compiled all the .mof files with a batch file containing this one line:
    for %%i in (*.mof,*.mfl) do Mofcomp.exe %%i