Wednesday 21 September 2011

How to Reset WMI Repository

  • set the service winmgmt to disabled
  • stop the service winmgmt (also the depending services)
  • open a command prompt as administrator
  • type the following commands:
    • Winmgmt /salvagerepository %windir%\System32\wbem     
    • Winmgmt /resetrepository %windir%\System32\wbem
  • set the service winmgmt to automatic start again
  • restart the server