Admin Tip #33 : WinMgmt Event ID 37 and 61

Hits: Failed to execute CGI : Win32 Error Code = 3



After upgrading to Windows 2000, the following event is seen in the Application Event Log:


     Event Type:      Error
     Event Source:    WinMgmt
     Event Category:  None
     Event ID:        37
     Date:            2/7/2000
     Time:            10:05:55 AM
     User:            N/A
     Computer:        [machinename]
     Description:     WMI ADAP was unable to load the perfproc.dll 
                      performance library due to an unknown problem within 
                      the library: 0x0 

According to Microsoft, it is caused by a problem in the WMI Performance Library Dredger. It is supposed to be resolved by running at the commandline:


    winmgmt /clearadap 
  or 
    winmgmt /resyncperf -p processID 

  where processID is the processID of the running WINMGMT process. 

Unfortunately this is not working for many. If it does not work, you can stop the errors from occuring by stopping the performance counter for the perfproc.dll using the Windows NT/Window 2000 Resource tool kit utility ExCtrLst extensible counter list utility. You could use the registry approach. In regedt32, open HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Spooler\performance and set WbemAdapStatus=0.

And of course, you can simply ignore the error message. Your system is running normally.

For more information, see How to Troubleshoot WinMgmt-Based Performance Counter Errors





After the Resource Kits, the Admin Companions are next most useful books from Microsoft.


eagerly awaited