Run script automatically after Event ID is logged in Event Viewer

Wanting to have an auto script that runs when a specific error occurs Application Log.

The Event ID basically states that the backup device (NAS) is not functioning correctly.

I want it to run an angry ip script which does a scan of ip address and outputs into a TXT file.

So is there someway to setup a EventID trigger that runs another script?

And if so how would one do this?

We use WinXP, Win7, Server 2003 & Server 2008 - not sure if there is a one-size fits all solution.
LVL 6
Nat WallisTechnical Services ManagerAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Nat WallisTechnical Services ManagerAuthor Commented:
Thanks.

That applies to XP only unfortunately. Tried on my Win7 machine and didnt play the game.

Having a look for some sites for Win7.
0
Nat WallisTechnical Services ManagerAuthor Commented:
Thanks for your help.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2008

From novice to tech pro — start learning today.