HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Perflib
Data type | Range | Default value |
---|---|---|
REG_DWORD | 0 | 1 | 2 | 3 | 1 |
Determines which events the Performance Library records in the Application Log in Event Viewer.
Value | Meaning |
---|---|
0 | No logging. |
1 | Errors only. |
2 | Errors and warnings. |
3 | 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 log more detail on future errors.
To make changes to this entry effective, restart the Remote Registry Service or restart Windows 2000.
Note
This entry has a different effect on Windows 2000 than it has 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 Resource Kits 4.0.
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
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.
Related Entries
(Performance Monitor 4)