I'm getting the following error whenever I try to view the dependencies for any service on our Windows 2003 Enterprise Server:
WMI: Not Found
So three questions pop into my head at this point:
- Obviously, what can I do to fix this? Hopefully the answer is not a re-pave.
- Is it actually possible that WMI is not installed? I didn't set this machine up so I'm not sure what the other person did.
- Could the WMI repository be corrupt?
So, how can I fix this? How can I tell if WMI was just not installed or if the WMI Repository is corrupt?
The following script can be run to rebuild a corrupt WMI
(Source: Duncan McAlynn, 2004-11-22, How Do I Rebuilt a Corrupt WMI Repository?) (Dead link. Archived version here.)
Check out the folder
%SystemRoot%\System32\Wbem\Repository\FS
-- this is where your WMI repository is stored. If there are files in there, it means it is installed, but probably corrupt.Delete everything in
%SystemRoot%\System32\Wbem\Repository
then reboot to fix the problem.Alternatively, you could try Microsoft's WMI Diagnosis Utility to diagnose WMI.