SYMPTOMS
When you view the Application Event Viewer log on your computer, one or more of the following events may be logged.
Event message 1
Event Type: Error
Event Source: WinMgmt
Event Category: None
Event ID: 37
Description: WMI ADAP was unable to load the file name performance library due to an unknown problem within the library: 0x0
Event message 2
Event Type: Error
Event Source: WinMgmt
Event Category: None
Event ID: 41
Description: WMI ADAP was unable to create Object Index number from the Performance Library serivce name because the value is not found in 009 subkey
Event message 3
Event Type: Error
Event Source: WinMgmt
Event Category: None
Event ID: 61
Description: WMI ADAP was unable to process the file name performance library due to a time violation in the open function
WORKAROUND
Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall your operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.
Try to dredge the computer's performance libraries again by using the following commands:
This command clears all WMI-related values from the service's performance registry key.
winmgmt /resyncperf "winmgmt service pid"
This command registers the computer's performance libraries with the WMI.
You can find the WMI service PID information on the
Process tab of Windows Task Manager.
The performance registry keys for the involved services include the following registry keys:
WbemAdapFileSize
WbemAdapFileTime
WbemAdapStatus
Note For more information about the command options that are available with WMI, type
winmgmt/? at a command prompt.
Another possible cause for the events may be that the counters are slow to respond due to other activities during startup. You can tune this timeout by adding the value Collect Timeout REG_DWORD 10000 to the appropriate registry location:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\[counterfile]\Performance
Where [counterfile] is the
file name performance library listed in the error message from Event Viewer.
For example, if the message in Event Viewer is
WMI ADAP was unable to process the perfproc.dll performance library due to a time violation in the open function
then the registry key will be:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\PerfProc\Performance
Please note that this registry path does not include the file extension (.dll).
If events continue to be logged after you make these changes, change the WbemAdapStatus value manually to REG_DWORD 0 under the service's performance registry key, and then increase the ADAPPerflibTimeout value to REG_DWORD 180 in the following registry key:
HKEY_LOCAL_MACHINE\Software\Microsoft\Wbem\CIMOM
Note You must enter all registry changes as decimal values.
In addition, you can disable performance counters for a specific service with the Exctrlst.exe utility from the Windows 2000 Resource Kit. This utility disables the specific counter by adding a registry key similar to the example below. You can add these registry entries under the specific counter entry manually if Exctrlst.exe is not available or desirable.
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Spooler\Performance
Value name: Disable Performance Counters
Value type: REG_DWORD
Value data: 1
Note To use these commands, click
Start,
Run, and then type
cmd to access the command prompt.