HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Perflib

Data type


Default value


0 | 1 | 2 | 3



Determines which events the Performance Library records in the Application Log in Event Viewer.




No recording


Errors only


Errors and warnings


Errors, warnings, information, and success/failure conditions

Consider increasing the value of this entry if you are encountering problems starting or running a performance tool. If you find Perflib errors in the Application Log, increase this value again to record more detail on future errors.

Activation method

To make changes to this entry effective, either restart the Remote Registry Service or restart Windows 2000.

Note Image Note

This entry has a different effect on Windows 2000 than on Windows NT 4.0 and earlier. In Windows NT 4.0 and earlier, it determines the logging level for extensible counters only. For more information, see Regentry.hlp in the Windows NT 4.0 Resource Kit.

If a remote computer is using System Monitor to monitor the local computer, you must restart Windows 2000 on the local computer and stop and restart System Monitor on the remote computer before changes to this entry take effect.

Windows 2000 does not add this entry to the registry. You can add it by editing the registry or by using a program that edits the registry.

Tip Image Tip

If you cannot display particular performance counters, check the Application Log in Event Viewer for events recorded by Perflib. When Perflib finds a disabling error in a performance counter dynamic-link library (DLL), it records an event in the log. Then it sets the value of the Disable Performance Counters entry to 1 to disable the counters.

Related Entries

Page Image


Page Image

ReportEventsToEventLog (Performance Monitor 4)