Application monitor, vbs / wmi / winbatch

I've been asked to create a utility that monitors the launching of applications for errors.  For an example...  If I were to launch MS Excel, and Excel generates errors or simply doesn't open, I will need to log it to a text file then close all Excel related windows.  Keep in mind that this is not Excel specific and should be able to work with any application I chose.

I've been looking on the web for a possible solution for a few days now and haven't been able to come up with anything.  Am I being realistic here?

Who is Participating?

have a look at this

hope that it helps
ParaleptropyAuthor Commented:
Thank you...  that's a great article, but I have to create a script that actually does this.  There's gotta be a function which I can use that calls the information from AD.  

Your link was very informative though, I will share the points with you.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.