title: How do I disable the 'Debug / Close Application' dialog on Windows Vista?
body: <p>When an application crashes on Windows and a debugger such as Visual Studio is installed the following modal dialog appears:</p>
  
  <blockquote>
    <p>[Title: Microsoft Windows]</p>
    
    <p>X has stopped working</p>
    
    <p>A problem caused the program to stop
    working correctly. Windows will close
    the program and notify you if a
    solution is available.</p>
    
    <p>[Debug][Close Application]</p>
  </blockquote>
  
  <p>Is there a way to disable this dialog? That is, have the program just crash and burn silently? </p>
  
  <p>My scenario is that I would like to run several automated tests, some of which will crash due to bugs in the application under test. I don't want these dialogs stalling the automation run.</p>
  
  <p>Searching around I think I've located the solution for disabling this on Windows XP, which is nuking this reg key:</p>
  
  <blockquote>
    <p>HKLM\Software\Microsoft\Windows NT\CurrentVersion\AeDebug\Debugger</p>
  </blockquote>
  
  <p>However, that did not work on Windows Vista.</p>