Click to Rate and Give Feedback
MSDN
MSDN Library
WMI Reference
 wmiadap
wmiadap

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, Windows XP, Windows XP, and Windows 2000:  Use the wmiadap utility to 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.

wmiadap 
  [/f] 
  [/c] 
  [/r] 
  [/t]

Switches

/f

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

/c

Starting with Windows Vista, this switch is not used.

Windows Server 2003, Windows XP, and Windows 2000:  Clears all performance library statuses.
/r

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

/t

Starting with Windows Vista, this switch is not used.

Windows Server 2003, Windows XP, and Windows 2000:  Throttles the ADAP process if the user operates the mouse or keyboard.

Requirements

Client Requires Windows XP or Windows 2000.
Server Requires Windows Server 2003 or Windows 2000 Server.
DLL

Requires Wmiadap.exe.

See Also

Performance Libraries and WMI
winmgmt


Send comments about this topic to Microsoft

Build date: 8/20/2008

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker