Performance Alert Writing to event Log but not running program

Posted by TooFat on Server Fault See other posts from Server Fault or by TooFat
Published on 2010-03-11T16:20:21Z Indexed on 2010/03/11 17:20 UTC
Read the original article Hit count: 496

I followed the instructions here How to create and configure performance alerts in Windows Server 2003 to set up an alert if the available logical disk space on one of my drives goes below a certain number. I selected the option to write to the application event log and select the "run this program" option and put in the path to a script that sends me an email. If I copy the path to the script and run it everything works and I get the email. When I start the alert I can see that the limit I set is being exceeded and the logs are being written to the application log, but the email is never being sent. I have the runas user and pword set to a Domain Admin. If I make the "run this program path" to C:\Windows\System32\calc.exe" it also doesn't start up the calculator. The Performance Logs and alerts services is running as Local Admin with allow to interact with desktop. What am I doing wrong?

© Server Fault or respective owner

Related posts about performance-monitoring