Article ID: 296187 - Last Review: January 31, 2007 - Revision: 3.6 Application Log Events Generated When You Start Performance Counter QueryThis article was previously published under Q296187 On This PageSYMPTOMS
When you are using performance counters in Windows 2000 to collect system data, the following events may be logged in the Application log:
4/11/2001 3:24:09 PM Perflib Error None 1008 N/A ACOMPUTER "The Open Procedure for service ""PerfDisk"" in DLL ""D:\WINNT\system32\perfdisk.dll"" failed. Performance data for this service will not be available. Status code returned is data DWORD 0. " 4/11/2001 3:24:09 PM Perflib Error None 1008 N/A ACOMPUTER "The Open Procedure for service ""PerfDisk"" in DLL ""D:\WINNT\system32\perfdisk.dll"" failed. Performance data for this service will not be available. Status code returned is data DWORD 0. " 4/11/2001 3:24:09 PM PerfDisk Error None 2001 N/A ACOMPUTER Unable to read the disk performance information from the system. Disk performance counters must be enabled for at least one physical disk or logical volume in order for these counters to appear. Disk performance counters can be enabled by using the Hardware Device Manager property pages. Status code returned is data DWORD 0.
CAUSE
These events are logged because when you initially create a performance query, the performance library checks the availability of all counters that are listed in the registry. If a listed counter is not available, an event log entry is logged.
RESOLUTIONImportant This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base: 322756
(http://support.microsoft.com/kb/322756/
)
How to back up and restore the registry in Windows To prevent the entries from being logged, use either of the following methods: Method 1Enable the Disk Performance Counters: Run the diskperf -y command from a command prompt, and then press ENTER.Method 2Prevent the performance library from checking the disk counters by modifying a certain registry key value. You can set this value programmatically through your performance data collection program or statically through by using Regedit or Regedt32. If you set this value statically in the registry, information from the counters will not be available unless you change the key value to 0 or delete the key.To set the key:
| Article Translations
|
Back to the top
