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


Event Triggers

Posted on 2009-02-24
Medium Priority
Last Modified: 2013-11-09
I used a script to create an event trigger on all the computers on my network which sends an email notification when an error event is entered into the Application log. I haven't received any emails over the last month so I went to look at the event triggers and some of them say "Could not Start", as when a Scheduled Task does not have proper credentials set to run the task.  

The Runs As field for the triggers is set to "NT AUTHORITY\SYSTEM". Would it be necessary to set a password for every trigger on each computer in order to get the trigger to run? I don't see any parameter for eventtriggers.exe which will allow me to set the credentials with a script.

Further, I thought about using schtasks.exe to set credentials for each trigger, however when the triggers are created the name of each trigger in Scheduled Tasks has a unique set of numbers amended to it making the use of a script impossible as far as I can see.

Anyway to get these triggers to work without visiting each computer? Or any way to re-create them with credentials which will allow them to run? Thanks for any help.
Question by:westone
1 Comment
LVL 24

Accepted Solution

purplepomegranite earned 2000 total points
ID: 23757432

Full details of eventtriggers there.  You can use the /u and /p parameters to specify an account to run under.  You can also use it to work on a remote machine by using /s to specify the computer.

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

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

Batch, VBS, and scripts in general are incredibly useful for repetitive tasks.  Some tasks can take a while to complete and it can be annoying to check back only to discover that your script finished 5 minutes ago.  Some scripts may complete nearly …
Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
Learn the basics of if, else, and elif statements in Python 2.7. Use "if" statements to test a specified condition.: The structure of an if statement is as follows: (CODE) Use "else" statements to allow the execution of an alternative, if the …
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
Suggested Courses
Course of the Month18 days, 18 hours left to enroll

834 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