You can check if the Windows Management Instrumentation (WMI) repository is damaged by using the following command from the elevated Command Prompt (Start -> Search -> type "cmd" -> right-click and select Run as administrator):
winmgmt /verifyrepository
If the repository is not corrupted, a “WMI Repository is consistent” message is returned. If the repository is consistent, you need to troubleshoot more granularly using the WMI Events in Event Viewer.
If the command returns that the WMI database is in an inconsistent state, it may be best to perform a recovery of the repository.