Disable Performance Counters

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 this system.

If the value of this entry is 1, 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 the Remote Registry Service or restart Windows 2000.

Note Image 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 for the service. Exctrlst is a tool on the Windows 2000 Resource Kit CD.

Tip Image Tip

If particular performance counters do not appear in your performance monitoring tool, check the Application Log in Event Viewer for events recorded by Perflib. When Perflib detects disabling errors in a counter DLL, it records an event in the log and sets the value of DisablePerformanceCounters (in the Services subkey) to 1 to disable the counters.

Caution Image 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.

Related Entries

Page Image