Link to home
Start Free TrialLog in
Avatar of troyrock1
troyrock1

asked on

Performance Monitor Alert - Executing a program

I have configured an alert to notify me when disk space is low.  I am trying to configure the alert to send me an email using a vbs script.  I have checked the Application log so I know the alert is configured correctly as I get events posted.  

The vbs script I have configured works properly when executed manually either using cscript or wscript.  However, when I check Run this Program and point to the script, the script does not execute.  Also, If I try to enter the path c:\winnt\system32\wscript.exe - I get an error saying the program file does not exist.  I get the same error when trying to enter the path to cscripts and the vbs location  (e:\winnt\system32\cscript.exe e:\scripts\sendmessage.vbs ).  I have also tried entering this into a bat file, which also works when executed manually, but not when entered into the Task.
ASKER CERTIFIED SOLUTION
Avatar of CrazyOne
CrazyOne
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial