Perflib Error 1008: The Open procedure for service NetIQmc in DLL mccnt.dll failed (NETIQKB27229)

  • 7727229
  • 02-Feb-2007
  • 09-Dec-2010


NetIQ AppManager 6.x
NetIQ AppManager 7.0.x


Perflib Error 1008: The Open procedure for service NetIQmc in DLL mccnt.dll failed
AppManager Performance Counters for the NetIQmc and NetIQccm services are missing in Windows Performance Monitor.
The following Event appears in the Windows Application Event Log on machines where the AppManager Agent has been installed:

Source: perflib
Event ID: 1008.
The Open Procedure for service "NetIQmc" in DLL "C:\Program Files\NetIQ\AppManager\bin\mccnt.dll" failed.

The following event is ALSO present:

Source: NetIQmcCnt:
Event ID: 2001
Unable to read the "First Counter" value under the NetIQmc\Performance Key. Status codes returned in data.

NOTE: This message may appear as the following. If so, please refer to article NETIQKB9076 for information regarding this event message:

The description for Event ID ( 2001 ) in Source ( NetIQmcCnt ) cannot be found.


Using the Registry Editor, restore the values listed below into the registry on the AppManager agent:

WARNING: Using the Registry Editor incorrectly can cause serious problems that may require you to reinstall your operating system. NetIQ cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Make sure that you backup your Registry prior to making any changes.

"Last Counter"=REG_DWORD:000023f8
"Last Help"=REG_DWORD:000023f9
"First Counter"=REG_DWORD:0000238c
"First Help"=REG_DWORD:0000238d

"EventMessageFile" = "c:\\Progra~1\\netiq\\AppManager\\bin\\mccnt.dll"
"TypesSupported" = dword:00000007

You can use REGEDIT to import these values automatically, by saving the list above to the file C:\Program Files\NetIQ\Appmanager\Bin\MCCNT.REG on the agent, then importing it to the registry by double-clicking the file.


A registry value denoting the "first counter" is missing from the Performance subkey.

Additional Information

Formerly known as NETIQKB27229

This extensible counter is NOT required to be loaded in order for the AppManager agent to function properly. It is merely installed for troubleshooting purposes. Any errors generated by PerfLib, referencing this extensible counter (mccnt.dll) can usually be ignored.

In general, the Windows operating system will automatically disable any extensible counter DLL that it is unable to reliably load. The following Microsoft KnowledgeBase article explains how and why Windows may disable a counter, and how to manually re-enable that counter:;EN-US;Q248993

The following Microsoft KnowledgeBase article lists ALL possible Performance Library (perflib) errors that can be generated with respect to a given extensible counter.;EN-US;226494

The following Microsoft KnowledgeBase article contains additional tips and tricks for troubleshooting these errors:;en-us;Q152513

The following Microsoft KnowledgeBase article outlines performance problems with PerfMon counters which have been resolved by Microsoft in Windows 2000 SP 4.;[LN];330259