Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a Windows 7 machine that is constantly running test scripts. Services will occasionally fail and throw an error dialogue that I won't be around to attend to. These stack up over time and I would prefer to disable them completely.

So far I've found instructions to disable the error reporting and solution searching functionality that is built in to the operating system but I still get an option to quit or restart the application. I would like it to simply fail silently.

Does anyone know how to make this happen?

share|improve this question

I think you're going to find it pretty hard to stop Windows (and the programs running on it) from throwing error dialogs, especially in an across-the-board kind of way.

Your best bet is to spend your time enhancing your scripts to include exception (error) handling of their own so that they can deal with those errors gracefully (and silently).

If it's always the same error dialog another (more hackish) option may be to come up with something that continually monitors for that specific dialog window and closes it for you.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .