Setting Performance Monitor Alert to Run Program May Not Work

This article was previously published under Q117371
This article has been archived. It is offered "as is" and will no longer be updated.
SYMPTOMS
If you set the Admin Performance Monitor (Perfmon) Alert to run a programon alert, it may not work properly or error messages may appear.
CAUSE
The execute command from Perfmon is also passing the Alert condition to theprogram. This allows users to log the alert information. However, this alsocauses a problem because most applications, such as Notepad, MPlay32, andeven Perfmon, are not ready for the extra arguments at the end of thecommand line.
WORKAROUND
To set up a program to run on alert, put the line in a batch file andinsert the batch file name in the Run Program On Alert box.
prodnt
Properties

Article ID: 117371 - Last Review: 02/24/2014 08:18:30 - Revision: 2.1

  • Microsoft Windows NT Workstation 3.5
  • Microsoft Windows NT Workstation 3.51
  • Microsoft Windows NT Workstation 4.0 Developer Edition
  • Microsoft Windows NT Server 3.5
  • Microsoft Windows NT Server 3.51
  • Microsoft Windows NT Server 4.0 Standard Edition
  • kbnosurvey kbarchive KB117371
Feedback