ADAP Event Messages Before Windows Vista

[The ADAP process is no longer available for use as of Windows Vista. Instead, use the WMIPerfClass and WMIPerfInst providers. For more information, see Performance Libraries and WMI.]

The AutoDiscovery/AutoPurge (ADAP) process transfers performance libraries to the WMI repository in operating system versions before Windows Vista. The Wmiadap.log file receives event notifications of ADAP actions. For more information, see WMI Log Files.

The ADAP process generates the following logged events when it parses the performance libraries to build the Win32_PerfRawData and Win32_PerfFormattedData classes in the WMI repository. Performance classes can be found in the root\cimv2 namespace or, for WDM drivers, the root\wmi namespace.

Note  The following documentation is designed for developers and IT administrators. If you are attempting to resolve a WMI error message on your home system, please refer to the Microsoft Support website.

The following table lists files logged in the WMI Log File Wmiadap.log.

Constant/value Description
WBEM_MC_ADAP_BAD_PERFLIB_MEMORY 3221225504 (0xC0000020)

The performance DLL caused a memory corruption. ADAP sets performance library status to -1, causing the WBEM_MC_ADAP_BAD_PERFLIB_BAD_LIBRARY error message on subsequent ADAP runs.

WBEM_MC_ADAP_BAD_PERFLIB_EXCEPTION 3221225505 (0xC0000021)

The performance DLL caused an Access Violation. ADAP sets performance library status to -1, causing the WBEM_MC_ADAP_BAD_PERFLIB_BAD_LIBRARY event on subsequent ADAP runs.

WBEM_MC_ADAP_BAD_PERFLIB_TIMEOUT 1073741858 (0x40000022)

The performance DLL required more than 60 seconds to return on function call. A non-fatal condition.

WBEM_MC_ADAP_BAD_PERFLIB_INVALID_DATA 1073741858 (0x40000022)

ADAP was unable to parse the data returned by a performance library. A non-fatal condition.

WBEM_MC_ADAP_BAD_PERFLIB_BAD_RETURN 3221225508 (0xC0000024)

ADAP received an invalid return code from a performance library. A non-fatal condition.

WBEM_MC_ADAP_BAD_PERFLIB_BAD_LIBRARY C0000025 (0x)

ADAP found a status of -1 for the performance library and is ignoring it. This status is set for any of the following reasons:

  1. ADAP detected memory corruption or an access violation (a fatal error).
  2. A user ran the Winmgmt/clearadap command, but may not have had write permissions to the registry. The next time ADAP runs, it will either run successfully or generate an event indicating the actual problem with the performance library.
  3. ADAP was halted three times on the same day while processing a performance library. It can be halted by termination on the taskbar (for a manually run instance of ADAP) or by stopping WMI.
  4. ADAP encountered a performance library that caused a stop error. In this rare case, the library is marked as bad.
  5. ADAP failed to find the Open/Collect/Close functions.

If a performance library cannot be loaded, the -1 status is not set.

WBEM_MC_ADAP_DUPLICATE_CLASS 3221225510 (0xC0000026)

A performance library returns a duplicate object to ADAP. A non-fatal condition.

WBEM_MC_ADAP_DUPLICATE_PROPERTY 3221225511 (0xC0000027)

A performance library returns a duplicate property to ADAP. A non-fatal condition.

WBEM_MC_ADAP_GENERAL_OBJECT_FAILURE 3221225512 (0xC0000028)

WMI returned an error to ADAP while creating an object. This is not a performance library error and, while non-fatal, may indicate other problems such as missing performance counter classes in WMI.

WBEM_MC_ADAP_MISSING_OBJECT_INDEX 3221225513 (0xC0000029)

A performance library returned an invalid names database index for an object. This can indicate either a corrupt names database or a misbehaving performance library. This is not a performance library error and, while non-fatal, may indicate other problems such as missing performance counter classes in WMI.

WBEM_MC_ADAP_MISSING_PROPERTY_INDEX 3221225514 (0xC000002A)

A performance library returned an invalid names database index for a property. This can indicate either a corrupt names database or a malfunctioning performance library. This is a non-fatal error, although there may be problems with performance counters on the computer.

WBEM_MC_ADAP_CONNECTION_FAILURE 3221225515 (0xC000002B)

ADAP was unable to connect to a WMI namespace. This is not a performance library error and, while non-fatal, may indicate other problems such as missing performance counter classes in WMI.

WBEM_MC_ADAP_MISSING_BASE_CLASS 3221225516 (0xC000002C)

ADAP was unable to locate the Win32_Perf base class or Win32_PerfRawData base class. This is not a performance library error and, while non-fatal, may indicate other problems, such as missing performance counter classes in WMI.

WBEM_MC_ADAP_ENUM_FAILURE 3221225517 (0xC000002D)

ADAP was unable to enumerate classes under Win32_PerfRawData. This is not a performance library error and, while non-fatal, may indicate other problems, such as missing performance counter classes in WMI.

WBEM_MC_ADAP_PERFLIB_SUBKEY_FAILURE 3221225518 (0xC000002E)

ADAP was unable to open a performance names database. This is not a performance library error and, while non-fatal, may indicate other problems, such as missing performance counter classes in WMI.

WBEM_MC_ADAP_PERFLIB_REG_VALUE_FAILURE 3221225519 (0xC000002F)

ADAP was unable to retrieve data from the performance library subkey. This is not a performance library error and, while non-fatal, may indicate other problems, such as missing performance counter classes in WMI.

WBEM_MC_ADAP_PERFLIB_PUTCLASS_FAILURE 3221225520 (0xC0000030)

ADAP was unable to save a performance library class to WMI. This is not a performance library error and, while non-fatal, may indicate other problems, such as missing performance counter classes in WMI.

WBEM_MC_ADAP_PERFLIB_REMOVECLASS_FAILURE 3221225521 (0xC0000031)

ADAP was unable to remove a performance library class from WMI. This is not a performance library error and, while non-fatal, may indicate other problems, such as missing performance counter classes in WMI.

WBEM_MC_ADAP_BAD_PERFLIB_INVALID_ENTRYPOINT 3221225522 (0xC0000032)

ADAP was unable to locate a specified entry point in a performance library. This is a non-fatal performance library error but may indicate other problems, such as missing performance counter classes in WMI. ADAP marks the performance library status as bad (set to -1).

WBEM_MC_ADAP_BAD_PERFLIB_FAILED_LOADLIBRARY 3221225523 (0xC0000033)

ADAP was unable to load a performance library. This is a non-fatal performance library error but may indicate other problems, such as missing performance counter classes in WMI.

WBEM_MC_ADAP_BAD_PERFLIB_BAD_PROPERTYTYPE 3221225524 (0xC0000034)

A performance library returned invalid data in the form of a bad property type. This is a non-fatal performance library error, but may indicate other problems, such as missing performance counter classes in WMI.

WBEM_MC_ADAP_BAD_NAME_DB 3221225525 (0xC0000035)

ADAP was unable to load a names database from the registry. This is a non-fatal performance library error, but may indicate other problems, such as missing performance counter classes in WMI or missing counters in System Monitor.

WBEM_MC_ADAP_STARTING 1073741878 (0x40000036)

WMI ADAP is starting.

WBEM_MC_ADAP_STOPPING 1073741879 (0x40000037)

WMI ADAP is stopping.

WBEM_MC_ADAP_UNABLE_TO_ADD_PROVIDER 3221225528 (0xC0000038)

ADAP was unable to create a provider instance object for the performance counter provider. This is not a performance library error and, while non-fatal, may indicate other problems such as missing performance counter classes in WMI.

WBEM_MC_ADAP_UNABLE_TO_ADD_PROVREG 3221225529 (0xC0000039)

ADAP was unable to create a provider registration for the Performance Counter provider. This is not a performance library error and, while non-fatal, may indicate other problems such as missing performance counter classes in WMI.

WBEM_MC_ADAP_UNABLE_TO_ADD_WIN32PERF 3221225530 (0xC000003A)

ADAP was unable to create the Win32_Perf base class. This is not a performance library error and, while non-fatal, may indicate other problems such as missing performance counter classes in WMI.

WBEM_MC_ADAP_UNABLE_TO_ADD_WIN32PERFRAWDATA 3221225531 (0xC000003B)

ADAP was unable to create the Win32_PerfRawData base class. This is not a performance library error and, while non-fatal, may indicate other problems such as missing performance counter classes in WMI.

WBEM_MC_ADAP_PROCESSING_FAILURE 3221225532 (0xC000003C)

ADAP was unable to process performance libraries due to an unspecified error. This is not a performance library error and, while non-fatal, may indicate other problems such as missing performance counter classes in WMI.

WBEM_MC_ADAP_PERFLIB_FUNCTION_TIMEOUT 3221225533 (0xC000003D)

ADAP was unable to process a performance library because a function call took longer than 60 seconds to return. This is a non-fatal performance library error but other problems may also exist, such as missing performance counter classes in WMI.

WBEM_MC_ADAP_BLOB_HAS_NO_SIZE 3221225534 (0xC000003E)

A performance library returned inconsistent data, incorrectly indicating that the library contained a particular object when the object did not exist. This is a non-fatal error but may indicate other problems, such as missing performance counter classes in WMI.

See also

WMI Events

WMI Troubleshooting