Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
performance monitor monitoring counter index tListProc AppExist WinExeName AppWaitClose cWndByWndSpec cWndByWndName SendKey SendKeysTo SendMenusto TerminateApp IntControl 56 213 215 239 271 263
If its only happening on one machine you might look into whether or not performance monitoring utilities could potentially get involved. Some of them seem to have bugs that clobber these functions.
Check if you can run the performance monitor 'perfmon.exe' on this machine? Right-click and choose 'Add Counters', in the 'Performance Object' dropdown list choose 'Process'. Do you see a list of process in the the 'Instance' list? If not that indicates Performance counters are probably disabled on this machine.
You could try installing and running the 'exctrlst' utility (Extensible Performance Counter List). This tool provides information about the performance counter DLLs that have been installed on a computer running Microsoft Windows. The tool lists the services and applications that provide performance information by using the Windows registry. When monitored using the Performance console provided in Windows, the data provided by these performance counters can be useful for optimizing and troubleshooting.
This GUI tool lists all services and applications that provide registry-based performance counters on local and remote Windows 2000, Windows XP Professional, and Windows Server 2003 systems. It displays the names and locations of the dynamic link libraries (DLLs) that support performance counters, indicates disabled counters, and lets you enable and disable the performance counters for a service.
Unlike most performance tools, which load performance counters in order to collect data, Exctrlst displays information directly from the Performance subkeys in the registry (HKLM\SYSTEM\CurrentControlSet\Services\ServiceName\Performance). As a result, Exctrlst lists all registered performance DLLs, even those that do not load or operate properly.
Performance counter developers can use this tool to find the DLLs, basic functions, and indexes of performance counters provided by a service. Administrators can use this tool to determine which services have installed performance counters on the system and to identify counters that are disabled or do not load properly.
Exctrlst displays the following information about performance counters:
Brief Description
This wizard simplifies creating and managing performance monitor logs.
Overview
The Performance Monitor Wizard simplifies the process of gathering performance monitor logs. It configures the correct
counters to collect, sample intervals and log file sizes. This wizard can create logs for troubleshooting operating
system or Exchange server performance issues.
System Requirements
Supported Operating Systems: Windows 2000; Windows Server 2003; Windows XP
You may recieve one of the above WIL function errors because the one performance counter used to retrieve processes are disabled. To fix it, you try removing the "Disable Performance Counters" entry from the following registry entry:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\PerfProc\PerformanceYou may refer to the following two Knowledge Base articles to get more information about enabling and disabling performance monitors:
PRB: Performance Object Is Not Displayed in Performance Monitor http://support.microsoft.com/default.aspx?scid=kb;EN-US;q249138
INFO: Controlling the Disabling of Performance Monitor Extensions http://support.microsoft.com/default.aspx?scid=kb;en-us;Q248993
Open the event viewer:
When you use the System Monitor tool, some counters may be missing or do not contain counter data. The base set of performance counter libraries may become corrupted and may need to be rebuilt along with any extensible counters. This behavior may occur if certain extensible counters corrupt the registry, or if some Windows Management Instrumentation (WMI)-based programs modify the registry.
Extensible counter information is stored in both of the following locations:
To rebuild the base performance counter libraries manually:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Perflib
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services
After you have completed this procedure, you must re-add the extensible counters from the list of services. Before you do so, however, you must identify the .ini file that is used to load the counters:
lodctr inifilewhere inifile is the name of the .ini file for the driver that you want to reload.
For example, if you want to reload the ASP driver, the list that you noted in step 4 shows that Axperf.ini is the .ini file for the ASP driver (axperf.ini:drivername=ASP). Therefore, to reload the ASP driver, type lodctr axperf.ini at the command prompt, and then press ENTER.
cd \windows\system32 lodctr /R Note /R is uppercase.Windows Server 2003 rebuilds all the counters because it reads all the .ini files in the C:\Windows\inf\009 folder for the English operating system.
Note If you are running a Cluster or Datacenter product, you must fail over the node to refresh the counter list after doing the preceding steps for both base counters and extensible counters.
Note On systems that are running applications that add their own performance counters, such as Microsoft Exchange or SQL Server, the .ini file that is used to load the performance counter may not be located in %Systemroot%\System32. These .ini files can usually be found under the applications folder structure.
Note If you receive an error message about the performance library when you use the preceding steps, you may have to unload and reload the IIS performance dynamic link libraries (DLLs). For more information about how to do this, click the following article number to view the article in the Microsoft Knowledge Base Q267831 Event ID 2003 Warning message logged when loading performance counters
If you are collecting data using the registry, monitoring a remote computer requires the use of the Remote Registry Service. If the service stops due to failure, the system restarts it automatically only once. Therefore, if the service stops more than once, you must restart the service manually on the second and any subsequent failures. To change this default behavior, modify the properties for Remote Registry Service. You can access service properties using Services under Services and Applications in Computer Management or under Administrative Tools. Also check the application and system logs in Event Viewer for events that might explain why the service stopped.
In addition, remote data collection requires access to certain registry subkeys and system files. Users need a minimum of Read access to the Winreg subkey in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurePipeServers to provide remote access to the registry for the purpose of collecting data on remote systems. By default, members of the Administrators group have Full Control access and members of the Backup Operators group have Read access. Users also need Read access to the registry subkey that stores counter names and descriptions used by System Monitor. This subkey is
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Perflib\LanguageID,where LanguageID is the numeric code for the spoken language for the operating system installation. (For the English language, the subkey is Perflib\009.) By default, members of the Administrators and Creator Owners groups, and the System account, have Full Control access. Therefore, a local user on a server who isn't logged on as an administrator will not be able to see performance counters.
Users might also require Read access to the files that supply counter names and descriptions to the registry, Perfc*.dat and Perfh*.dat. (The asterisk is a wildcard character representing the specific language code; for English, these are Perfc009.dat and Perfh009.dat.) If these files reside on an NTFS file system volume, then, in order to have access to them, the access control lists (ACLs) on these files must specify that the user has such access. By default, members of the Administrators and Interactive groups have sufficient access.
The remote computer allows access only to user accounts that have permission to access it. In order to monitor remote computers, the Performance Logs and Alerts service must be started in an account that has permission to access the remote computers you are attempting to monitor. By default, the service is started under the local computer's system account, which generally has permission to access only services and resources on the local computer. To start this under a different account, start Computer Management, double-click Services and Applications, and then click Services. Click Performance Logs and Alerts, and update the properties under the Log On tab. To monitor using counter logs or alerts, you must also have permission to read the
HKEY_CURRENT_MACHINE\SYSTEM\CurrentControlSet\Services\SysmonLog\LogQueriesIn general, administrators have this access by default. In each case, attempting to use the tools without appropriate permissions will generate an error message.
If you are collecting data remotely by means of WMI, the user must be a member of the Administrators group.
In short to be able to view performance counters on a remote computer, you must have the following permissions on the remote computer that you want to monitor:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\servicename\performance
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\PerfProc\Performance["Disable Performance Counters"]Use the 'Exctrlst Tool' or 'Performance Monitor Wizard' to re-enable Performance Counters.
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\PerfProc\Performance["Disable Performance Counters"]Use the 'Exctrlst Tool' or 'Performance Monitor Wizard' to re-enable Performance Counters.
Also, check the task manager for process names with trailing #'s. these numbers are PID values being shown in duplicate wherever the PID value is non-zero. Only the "Idle" pseudo-process has a zero PID, and its PID value is only shown a single time.
< process-name ≶[_< non-zero-PID ≶]| < PID ≶It would appear that the process counter entry used by AppExist() & AppWaitClose() on your system has been altered in some way so as to cause it to report more information than just the process name. It's now including PID information. When you identify the proper registry key/value, you can compare it with one from a working system and then restore the value accordingly.
If you check out the following link, this may explain what is showing up with those process names: http://support.microsoft.com/kb/281884
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\PerfProc\Performance["Disable Performance Counters"]Use the 'Exctrlst Tool' or 'Performance Monitor Wizard' to re-enable Performance Counters.
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\PerfProc\Performance["Disable Performance Counters"]Use the 'Exctrlst Tool' or 'Performance Monitor Wizard' to re-enable Performance Counters.
Also, check the task manager for process names with trailing #'s. these numbers are PID values being shown in duplicate wherever the PID value is non-zero. Only the "Idle" pseudo-process has a zero PID, and its PID value is only shown a single time.
< process-name ≶[_< non-zero-PID ≶]| < PID ≶It would appear that the process counter entry used by AppExist() & AppWaitClose() on your system has been altered in some way so as to cause it to report more information than just the process name. It's now including PID information. When you identify the proper registry key/value, you can compare it with one from a working system and then restore the value accordingly.
If you check out the following link, this may explain what is showing up with those process names: http://support.microsoft.com/kb/281884
Either:
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\PerfProc\Performance["Disable Performance Counters"]Use the 'Exctrlst Tool' or 'Performance Monitor Wizard' to re-enable Performance Counters.
OR
Use the 'Exctrlst Tool' or 'Performance Monitor Wizard' to re-enable Performance Counters.
OR
Check if the following registry key is defined.
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\PerfProc\Performance["Disable Performance Counters"]Use the 'Exctrlst Tool' or 'Performance Monitor Wizard' to re-enable Performance Counters.
Article ID: W16964
File Created: 2014:07:18:11:45:44
Last Updated: 2014:07:18:11:45:44