Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

So I have been provided with a bunch of performance counters that are housed within a particular performance object (i.e. these are not one of the default perf counters that come with Windows) and because I need to access these statistics on a remote machine, I have to use WMI to achieve this.

However, I can't work out which WMI class this particular performance object relates to (I've looked through the list of Win32_PerfRawData_* classes but there isn't anything that looks like it relates to the performance object in question at least by name).

My questions:

  1. Can a performance counter exist without a backing WMI class?
  2. How do I work out which WMI class I should query to get the perf stats I need?
share|improve this question

Sometimes WMI classes may not appear automatically as they should. If you execute 'wmiadap /f' in the command prompt it will reparse all performance libraries on the system (you'll be able to see new libraries after system restart).

In a meanwhile performance counter you are looking for is one of the standard you may want to take a look at Performance Counter Classes list.

share|improve this answer

WMI doesn't automatically map each performance object and it's counters. You need a specific WMI provider or atleast a MOF-file describing the classes.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.