[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Performance Monitor Alert - Executing a program

Posted on 2004-08-02
2
Medium Priority
?
186 Views
Last Modified: 2012-05-05
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.
0
Comment
Question by:troyrock1
1 Comment
 
LVL 44

Accepted Solution

by:
CrazyOne earned 2000 total points
ID: 11698984
Why not try using it at as a service

Resource kit tools Srvany

More About Srvany
http://www.winnetmag.com/Articles/Index.cfm?ArticleID=8148
Download Page
Applications as Services Utility:
http://www.petri.co.il/download_free_reskit_tools.htm
Download Link
http://www.dynawell.com/reskit/microsoft/win2000/srvany.zip

AUTOEXNT
http://www.jsiinc.com/suba/tip0000/rh0006.htm
Run a batch job at boot without logging

http://www.firedaemon.com/
FireDaemon is a utility that allows you to install and run virtually any native Win32 application or script (eg. BAT/CMD, Perl, Java, Python) as a Windows NT/2K/XP service. FireDaemon features easy configuration (via GUI or XML), a low memory/CPU overhead, subprocess prioritisation, custom environments, CPU binding plus monitoring and logging to the event log and on-disk log files.
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
Last month Marc Laliberte, WatchGuard’s Senior Threat Analyst, contributed reviewed the three major email authentication anti-phishing technology standards: SPF, DKIM, and DMARC. Learn more in part 2 of the series originally posted in Cyber Defense …
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
As many of you are aware about Scanpst.exe utility which is owned by Microsoft itself to repair inaccessible or damaged PST files, but the question is do you really think Scanpst.exe is capable to repair all sorts of PST related corruption issues?
Suggested Courses

873 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question