Windows Management Instrumentation (WMI) is a subsystem in Windows that lets you programmatically access a good deal of information about the system or running applications. But WMI is a fairly esoteric system, and from the outside, it's hard to determine if it's running correctly. If something goes wrong with WMI, the symptoms can be hard to trace; what may look like a problem in another part of the system entirely may in fact be a WMI problem.
Microsoft created its WMI Diagnosis Utility to help an experienced administrator learn about possible problems in a system's WMI setup. It consists of a VBScript program and a collection of data files in Excel spreadsheet format, which the admin can use to check the WMI namespaces in the system he is scanning against the expected results.
When you run the script, it checks every possible namespace that it has data for and logs the results to a very long and detailed results file. For this reason, the tool really isn't for use by anyone except experts who know how to interpret the results.
However, whenever it logs an error (look for the string !!ERROR in the log), it will suggest a fix for any problems it encounters (assuming one is available). The most critical errors that indicate a functional problem with WMI will be logged prominently and will return a "Fail" code. Less critical errors will be logged but without causing the entire analysis to be logged as a failure.
There are a few ways to cut through the
Requires Free Membership to View
About the author: Serdar Yegulalp is editor of the Windows Power Users Newsletter. Check it out for the latest advice and musings on the world of Windows network administrators.
More information from SearchWinSystems.com
- Tip: Repairing damaged WMI
- Topics: Windows Management Instrumentation
- RSS: Sign up for our RSS feed to receive expert advice every day.
This was first published in April 2006
Enterprise Server Strategies for the CIO
Join the conversationComment
Share
Comments
Results
Contribute to the conversation