When Exchange performance counters don't show up in WMI apps

Please let others know how useful this tip is via the rating scale at the end of it. Do you have a useful Exchange or Outlook tip, timesaver or workaround to share? Submit it to our tip contest and you could win

    Requires Free Membership to View

a prize.

Every server-level Microsoft application (and many non-MS applications, too) maintain performance counters -- real-time statistics about the program's behavior that can be collected and analyzed. Exchange 2003 is no exception, of course, and it too maintains a bevy of real-time statistics that can be gathered either programmatically or through the Performance Logs and Alerts console.

Sometimes Exchange 2003 performance counters don't show up, however, and this may lead people to think something's seriously wrong. What's actually happening is a little complicated, but deserves a detailed explanation.

The WMI (Windows Management Instrumentation) interface, which controls and aggregates performance counters, uses a process called ADAP (AutoDiscovery/AutoPurge) to assemble a list of all the available performance counters in the system. Essentially, each running service is polled and "asked" for a list of all available performance counters. The list of performance counters is then assembled from this poll. Consequently, if the Exchange 2003 Service isn't running when this is done, no Exchange 2003 performance counters will show up.

Fortunately, you can force a refresh of the ADAP process from the command line. Make sure Exchange 2003 is running, then use wmiadap /f to re-parse all of the available libraries on the system. Note that you may need to restart the WMI service (winmgmt) after this.

About the author: Serdar Yegulalp is editor of the Windows 2000 Power Users Newsletter and a regular contributor to SearchExchange.com.

Do you have comments on this tip? Let us know.

This was first published in February 2005

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

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.