Category Archives: WMI

WMI error

If WMI don’t work do this to make it work again.

1. Disable and stop the WMI service.

sc config winmgmt start= disabled

net stop winmgmt

2. Run the following commands:

Winmgmt /salvagerepository %windir%\System32\wbem (if it fails run the next command and then this again)

Winmgmt /resetrepository %windir%\System32\wbem

3. Activate the WMI service and start it again

sc config winmgmt start= auto

net start winmgmt