Solved

Performance Monitor Alert - Executing a program

Posted on 2004-08-02
2
178 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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…
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

707 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