22

I have a development tool that's crashing on launch, and I don't get to see any error messages it throws, or get a chance to debug it, because it shows the Windows 7 dialog for crashed programs, where it says "Windows is checking for a solution..."

I want to have my old school big ass assert dialog box back, with a big "DEBUG" button. I have JIT completely enabled in Visual Studio's options and settings, so I'm not sure why I'm not getting the option.

enter image description here

2
  • Is your app built in Release or Debug mode?
    – Adam Lear
    May 20, 2010 at 15:58
  • Is this a managed program, or a native program?
    – Eric Brown
    Jun 3, 2010 at 16:42

5 Answers 5

18

Use Regedit, navigate to the below path: [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting\DontShowUI] Create a DWORD and set the value to 1.

2
  • 1
    Please consider editing your post to add more explanation about what your code does and why it will solve the problem. An answer that mostly just contains code (even if it's working) usually wont help the OP to understand their problem. Nov 6, 2015 at 10:52
  • Are there other dialogs that this setting controls? Jan 12, 2016 at 21:29
17

This blog post on raymond.cc contains an expanded version of the steps suggested in Krzysztof John's answer.

Quote:

Turn Off The Error Dialog Via The Registry

Although editing the registry manually is not recommended for average users, sometimes there isn’t a choice because something like the Group policy Editor might not be available in your version of Windows or the group policy method itself doesn’t work. This works on Windows Vista and above.

  1. Open the Registry Editor by typing regedit into the Start search box or the Win+R Run dialog.

  2. Navigate to the following registry key:

HKEY_CURRENT_USER\Software\Microsoft\Windows\Windows Error Reporting

  1. Double click the DontShowUI entry on the right and change its value to 1, then close the registry editor.

. . .

The above registry fix will turn off the popup dialog for the current user, if you want the setting to affect all users on the computer then a similar registry key needs to be created in the registry at HKEY_LOCAL_MACHINE. This key isn’t present by default so needs to be created.

Read More: https://www.raymond.cc/blog/disable-program-has-stopped-working-error-dialog-in-windows-server-2008/

3

control panel -> troubleshooting -> change settings

5
  • Could you elaborate? My system is in Polish and I'm not sure if I see the right settings.
    – prostynick
    Mar 27, 2012 at 7:50
  • If you're able to get to the Troubleshooting section of control panel, "change settings" will be in the sub nav menu on the left side of the window. From there you should see a radio on the top half of the screen, set to "On(Recommended)". Switch it to "off" and programs will crash the way they're supposed to. Mar 20, 2013 at 19:18
  • // , This worked for me in Windows 7. What a relief. @Mauricio Scheffer, would you be willing to post a link to a question like this that is for Winblows 8.1 instead of Winblows 7? Sep 10, 2015 at 22:49
  • Please consider editing your post to add more explanation about what your code does and why it will solve the problem. An answer that mostly just contains code (even if it's working) usually wont help the OP to understand their problem. Nov 6, 2015 at 10:52
  • This answer is incorrect. "There is a misconception that you can disable the program has stopped working popup through the Action center in Windows Control Panel. ... The stopped working popup will still appear but with or without the check for solutions option," raymond.cc/blog/… Jan 6, 2016 at 23:20
1

In my case this solved same problem: Control Panel\All Control Panel Items\Action Center\Problem Reporting Settings set to "never check for solutions"

1

On my old Windows Vista Home Basic install, the option is hidden in a completely different place beneath the control panel:

Control Panel → Classic View → Problem Reports and Solutions → Change Settings → Advanced Settings → “For my programs, problem reporting is: [×] Off”

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.