Solved

Performance Monitor Alert - Executing a program

Posted on 2004-08-02
2
179 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
2 Comments
 
LVL 44

Accepted Solution

by:
CrazyOne earned 500 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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

Suggested Solutions

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…
Knowledge base software has turned out to be a quite reliable method for storing information, promoting collaborative work and for sharing valuable input and solutions.However, some organizations are trying to develop a knowledge base that works wit…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

895 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now