Export (0) Print
Expand All

Disable Performance Counters Entry

Updated: March 28, 2003

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

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

 

Data type Range Default value

REG_DWORD

0 | 1

0

Description

Enables and disables the registry-based performance counters on the system.

If the value of this entry is 1, then Perflib does not retrieve performance counter data from the registry. As a result, System Monitor and other tools that use the data cannot display it. Instead, when a program requests performance data from the registry, the system returns an error to the program explaining that the Performance Library (Perflib) service is disabled.

 

Value Meaning

0

Enables performance counters. Programs can retrieve performance data from the registry.

1

Disables performance counters. Programs cannot retrieve performance data from the registry.

Activation Method

To make changes to this entry effective, restart Windows.

Note

  • This entry affects all performance counters on the system. To enable or disable the performance counters for a particular service, use Exctrlst.exe to add Disable Performance Counters to the Performance Subkey subkey for the service.

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 Disable Performance Counters to 1 to disable the counters.

Caution

  • If you change the value of this entry to 1, the Performance object and Performance counter lists in System Monitor will be empty. You will not be able to use System Monitor or any tool that uses Performance Library data to monitor your system.

See Also

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft