Microsoft KB Archive/117371

= Setting Performance Monitor Alert to Run Program May Not Work =

Article ID: 117371

Article Last Modified on 11/1/2006

-

APPLIES TO


 * 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

-



This article was previously published under Q117371



SYMPTOMS
If you set the Admin Performance Monitor (Perfmon) Alert to run a program on alert, it may not work properly or error messages may appear.



CAUSE
The execute command from Perfmon is also passing the Alert condition to the program. This allows users to log the alert information. However, this also causes a problem because most applications, such as Notepad, MPlay32, and even Perfmon, are not ready for the extra arguments at the end of the command line.



WORKAROUND
To set up a program to run on alert, put the line in a batch file and insert the batch file name in the Run Program On Alert box.

Additional query words: prodnt

Keywords: KB117371

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.