A New Utility for Diagnosing and Repairing Problems with the WMI Service
The WMI Diagnosis Utility is a VBScript script written by Alain Lissoir of the WMI team at Microsoft. This utility is designed to help you ascertain the current state of the WMI service on a computer. The utility can do everything from verify the validity of all your WMI namespaces to check for possible corruption of the WMI repository.
Get it at Microsoft Script Center