Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All


Wmiadap is a service that runs on Microsoft operating systems that transfer performance libraries to the WMI repository. Generally, this allows developers and IT Administrators to create scripts that access performance information, such as the amount of memory used by an application. The following topic describes the command-line interface you can use to control how wmiadap retrieves information.

Wmiadp is installed with the operating system on most systems, in the <windows>/system32/wbem directory. If you are seeing error messages concerning wmiadap.exe, search Microsoft Support. Generally, you should not delete wmiadp.exe from your system, unless otherwise instructed.

Beginning with Windows Vista, the transfer of data from the performance libraries and the refresh of classes derived from Win32_PerfRawData and Win32_PerfFormattedData is done by the WmiPerfClass and WMIPerfInst providers and does not require the AutoDiscovery/AutoPurge (ADAP) process. The WmiPerfClass provider updates WMI Performance Counter Classes only when a new performance object is added. You still can run Wmiadap with the /r switch to parse the Windows Driver Model drivers to create performance objects. The /f switch still forces an update of the WMI classes from the performance libraries.

Windows Server 2003:  Use the wmiadap utility to update the WMI performance classes from the performance libraries. Running wmiadap updates all the performance classes.

It is not recommended that you create performance classes derived from Win32_Perf and use wmiadap to transfer them to the performance libraries. For more information about when ADAP runs automatically on various Windows operating systems, see ADAP Event Messages Before Vista.

The following switches are available at the command prompt.




Parses all the performance libraries on the system and refreshes the Performance Counter Classes.


Starting with Windows Vista, this switch is not used.

Windows Server 2003:  Clears all performance library statuses.


Parses all the Windows Driver Model drivers on the system to create performance objects.


Starting with Windows Vista, this switch is not used.

Windows Server 2003:  Throttles the ADAP process if the user operates the mouse or keyboard.

See also

Performance Libraries and WMI



© 2015 Microsoft