Application monitor, vbs / wmi / winbatch

Posted on 2004-10-22
Last Modified: 2010-04-13
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?

Question by:Paraleptropy
    LVL 9

    Accepted Solution


    have a look at this

    hope that it helps

    Author Comment

    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.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Course: MongoDB Object-Document Mapper for NodeJS

    NodeJS (JavaScript on the server) is awesome, but some developers get confused about NoSQL when it comes to working in Node with MongoDB (NoSQL database). Do you need a better explanation of how to use Node.js with MongoDB? The most popular choice is the Mongoose library.

    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…
    Easy CSR creation in Exchange 2007,2010 and 2013
    With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…
    This video Micro Tutorial is the first in a two-part series that shows how to create and use custom scanning profiles in Nuance's PaperPort 14.5 ( But the ability to create custom scanning profiles al…

    884 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

    19 Experts available now in Live!

    Get 1:1 Help Now