How to generate a System Event when a program hangs

Discussion in 'Crashes, BSODs and Debugging' started by Andy2, Jan 7, 2016.

  1. Andy2

    Andy2

    Joined:
    Jan 7, 2016
    Messages:
    1
    Likes Received:
    0
    Greetings all -

    Win7/64Pro Question

    I am looking for a short term solution for automatic intervention. Longer term is to address the stability issue within a specific custom application.

    There is a two computer setup, where a custom interactive application lives on each PC, and interacts through a asynchronous server application installed on one of the two PC's. A particular application installed in a kiosk with touch screen, occasionally hangs. The visual results are the on screen animation stops, yet everything all continues to work between both PC's.

    Without interacting with the application, I can bring up the Task Manager, and see the the application is not responding from the [Applications] tab. I can also see the application is not responding from the [CPU] tab of the resource monitor.

    Once I touch / interact with the hung application, I get a dialog box, asking me to either close the app or wait longer for it to respond. When you select close, the application closes, and an EVENT is generated. I currently use this EVENT [Application / "Application Hang" / ID:1002] to trigger a reboot scripts for both machines. This process still requires the manual action of someone pressing the close button on the hung process. I would like the reboot sequence to happen automatically, once the application hangs.

    Finally... My Question:
    1. Is there a way to generate an EVENT (that I can trigger on) when an application hangs or is not responding. I am currently looking through the local group policy editor, but have yet to find anything.

    2. If I can generate an EVENT from a hung application (as in Q1), can I specify which application to monitor for such a state?

    Thank in advance
    Andy
     
    Andy2, Jan 7, 2016
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Similar Threads
  1. caffine

    system hangs at "...boot from CD" prompt

    caffine, May 5, 2009, in forum: Installation, Setup and Updates
    Replies:
    2
    Views:
    4,793
    caffine
    May 5, 2009
  2. slappydog

    Office 2003 hangs on save or save as

    slappydog, May 9, 2009, in forum: Software
    Replies:
    1
    Views:
    4,802
  3. Elmojo

    Was working fine, now hangs at boot

    Elmojo, May 23, 2009, in forum: Windows 7 Support
    Replies:
    22
    Views:
    6,335
    catilley1092
    Dec 6, 2010
  4. jordeangjelovik

    Program files and Program files (*86)

    jordeangjelovik, Oct 27, 2009, in forum: General Discussion
    Replies:
    3
    Views:
    9,777
    Ripose
    Oct 27, 2009
  5. Dabbler

    Program Files & Program Files (x86) folders

    Dabbler, Dec 2, 2009, in forum: alt.windows7.general
    Replies:
    10
    Views:
    4,415
    MICHAEL
    Dec 4, 2009
  6. DD

    Program launching program...

    DD, Feb 10, 2011, in forum: alt.windows7.general
    Replies:
    13
    Views:
    1,968
    Flint
    Feb 13, 2011
  7. richard

    Re: "Program Files" vs. "Program Files (x86)"

    richard, Dec 31, 2011, in forum: alt.windows7.general
    Replies:
    3
    Views:
    1,561
  8. MourningStar

    How Do I Add A Program Event ...

    MourningStar, Jun 24, 2014, in forum: General Discussion
    Replies:
    1
    Views:
    813
    TrainableMan
    Jun 25, 2014
Loading...