Disable Performance Counters

HKLM\System\CurrentControlSet\Services\<Service-name>\Performance

Data type Range Default value
REG_DWORD 0 | 1 0

Description

Enables and disables registry-based performance counters for this service.

If the value of this entry is 1, Perflib does not retrieve performance data about these counters from the registry. As a result, System Monitor, and other tools that use the data, cannot display it. Instead, the tools display a value of 0 or 100%, depending on the counter.

The Performance Library (Perflib) uses this entry to disable counters that cause serious errors. This prevents the troublesome counters from jeopardizing the display of all performance counters on the system. You can use this entry to reenable the counters for a service after the counter DLL has been repaired or replaced.

Value Meaning
0 Enables performance counters for this service.
1 Disables performance counters for this service.

Change method

To change the value of this entry, use Extensible Performance Counter List (Exctrlst.exe), a tool on the Windows 2000 Resource Kit CD.

Activation method

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

Note Image Note

This entry only affects the performance counters for a particular service. To enable or disable all registry-based performance counters on the system, add the Disable Performance Counters entry to the Perflib subkey.

To prevent Perflib from disabling counters, set the 0x2 (10) bit in the value of Configuration Flags.

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

Caution Image Caution

If you set the value of this entry to 1, the performance objects and counters for this service do not appear in any performance tool. You will not be able to use System Monitor, or any tool that uses Performance Library data, to monitor these counters.

Do not edit the registry or use Exctrlst to enable counters that Perflib has disabled, unless the counter DLL has been repaired or replaced. If you do, Perflib will detect the errors and disable the counters again. Or, the troublesome counters can prevent you from monitoring any performance counters on your system.

Related Entries

Page Image

Page Image

Page Image

Page Image

Page Image

Page Image