Troubleshooting Perflib Errors 1008

PerfLib or Performance Counters Library is part of the ADVAPI32.dll file. The three REG_DWORD registry values that this library file reads enable it to control different levels of error checking and reporting on your Windows computer.

There can be many different circumstances due to which perflib errors 1008 may occur on your computer. A couple of common errors and their solutions are discussed below.

Error 1:

The following error is logged in the Event Viewer application log of a Microsoft 2000 Server computer:

“Event Type: Error
Event Source: Perflib
Event Category: None
Event ID: 1008
The Open Procedure for service "Nbf" in DLL "C:\WINNT\system32\Perfctrs.dll" failed. Performance data for this service will not be available. Status code returned is DWORD 0.

Data Words: 0000: 00000002”

Generally, this issue occurs due to problems with the NetBEUI (NetBIOS Enhanced User Interface) protocol. The error message is logged in the application log when PerfLib is unable to locate one or more counters.

You may receive this error message when one or more of the following conditions hold true:

  • The NetBEUI protocol is unable to bind to the network card, when either:
    • The network card or device driver is defective.
    • The extensible performance monitor counters of the protocol are enumerated.
  • The network card to which the NetBEUI protocol is bound is not connected to LAN (Local Area Network).
  • Even though it is installed, the NetBEUI protocol not enabled on the network card.


You may perform the following steps to fix the error. After each step, check to see if the error is resolved.

  1. Update your network card drivers. You can either use the Device Manager utility or a reliable third-party driver update tool, such as Driver Finder, for this task.
  2. Ensure that your system does not contain any ghosted or hidden network cards. You can check this by using the Device Manager utility in Windows.
  3. If the error still persists, uninstall and reinstall each network adapter present on your system. You can do this by performing the following steps:
    • Right-click on the My Computer icon on your desktop and select Properties.
    • In the System Properties dialog box, first click the Hardware tab and then click Device Manager.
    • In the Device Manager window, right-click the first Network Adapter and select Remove.
    • Restart your system and let the computer automatically detect and install the drivers for this network adapter.
  4. Repeat the steps for all the network adapters installed on your computer.

Error 2:

The following stop events may appear in the Event Viewer application on your Microsoft Exchange 4.0 or 5.0 server.

“Event ID 1008
Source: Perflib
Type: Error
Category: None
Description: The Open Procedure for service "MSExchangeDS" in DLL
"C:\EXCHSRVR\bin\perfdsa.dll" failed. Performance data for this service will not be available. Status code returned is DWORD 0.”

Note: Event IDs 1009 and 1011 are also associated with this problem.    

Generally, the above scenario occurs when the DLLs associated with performance monitor stop responding.

To fix this issue, restart all your servers that have link monitors running against the Exchange server.

Problems related to DLL and other system files may also occur if your computer is infected with a malware or there are problems in the Windows registry. To prevent such situations, you must regularly scan and clean your workstations and servers with the help of reliable antimalware tools, such as STOPzilla Antivirus and Spyware Cease. It is also recommended that you use a reliable registry tool, such as RegServe, to perform regular registry cleanups and maintain a healthy and error-free registry.