Knowledge Base FAQ Item #7240028
Q7240028: I cannot find a particular WMI class on my target machine, although it should be there. Is there a way to rebuild the WMI repository?
Yes you can. Use the winmgmt command-line tool to rebuild the WMI repository on the target Windows platform:
- Open an Elevated Command Prompt
- Stop the WMI Service by typing: net stop winmgmt
- Rebuild the WMI Repository by typing: winmgmt /salvagerepository
- Restart the WMI Service by typing: net start winmgmt
- Check for errors by typing: winmgmt /verifyrepository
- REBOOT THE WINDOWS MACHINE