You are hereInvalid Class / Invalid Class

Invalid Class


How do I fix Collections failing with "Invalid Class" Errors? sticky icon

If WMI collections fail with an error referencing Invalid Class (example at the end of this topic), resynchronizing the performance counters may correct the issue.

To resynchronize the performance counters, run the following from the command line on the computer that you are trying to monitor:

  • For Windows 2003/2008/XP run:

    winmgmt /resyncperf
  • For Windows 2000 run the following (substituting the process ID of the Winmgmt process):

    winmgmt /resyncperf {Winmgmt_Process_ID}

kb63: Windows collections fail with "Invalid Class" error

Resolving "Invalid Class" errors is discussed in the FAQ Article How do I fix Collections failing with "Invalid Class" Errors?.

If you still get the "Invalid Class" error after following the steps in the FAQ, a reboot may correct the problem.