Home > Windows Systems Management Tips > Windows Systems Management and Administration > Microsoft utility helps admins diagnose WMI services
WinComputing Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

WINDOWS SYSTEMS MANAGEMENT AND ADMINISTRATION

Microsoft utility helps admins diagnose WMI services


Serdar Yegulalp, Contributor
04.05.2006
Rating: -3.25- (out of 5)


Expert advice on Windows-based systems and hardware
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


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 thicket of data that the script returns and get the most relevant bits of information. For instance, if you only want to scan a given namespace, you can pass the basenamespace parameter to the script. This limits the script's scanning to the namespace in question and will speed things up if you know you're experiencing problems with a given namespace. More details on how to narrow the scope of the scan or find more precise results are listed in the script's documentation. Which, as you might guess, is extremely detailed..

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


Rate this Tip
To rate tips, you must be a member of SearchWinComputing.com.
Register now to start rating these tips. Log in if you are already a member.




Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


RELATED CONTENT
Windows Management Instrumentation (WMI) Scripting
Windows scripting secrets for disk quota management
Windows scripting tutorials for systems administrators
Filtering output from Windows PowerShell
Working with WMI providers to PowerShell
Vista's Windows kill switch: What to do if RFM kicks in
Scripting School: Why you should care about Windows PowerShell
Defrag script for all volumes
Christa Anderson's Scripting School for Windows administrators
Microsoft tool exposes WMI namespaces and properties
Scripting School: Enhancing scripts that require user input

Windows Systems Management and Administration
Quick hits: Troubleshooting service account failure, batch job execution
Case Study: Troubleshooting Windows service dependency failures
Troubleshooting common Windows service failures
How to format NTFS: More tricks to improve file system performance
Key enhancements to SCCM give admins more control over assets, licensing
Windows scripting secrets for disk quota management
Optimizing NTFS file system performance
The new Microsoft System Center: What happened to SMS and MOM?
TeraCopy beefs up Windows file copy operations
New Russinovich tool scans for open file references from command line

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary

DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.

HomeNewsTopicsITKnowledge ExchangeTipsAsk the ExpertsWebcastsWhite PapersIT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




All Rights Reserved, Copyright 2004 - 2008, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts