Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Disable WerFault.exe/"Application Has Stopped Working" crash dialog

Tags:

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

like image 860
Charles Randall Avatar asked May 20 '10 15:05

Charles Randall


People also ask

What does WerFault exe mean?

werfault.exe is a process for Windows 10 or 11 that reports errors in Windows, and in Windows applications. These error reports help developers find and fix bugs in Windows along with the apps you use every day.

What is WerFault exe malware?

In detail, the WerFault.exe is a service that shows some error happened with the operating system, Windows features or applications. Victims would assume some error happens, but attackers stealthily execute malware using the process.


2 Answers

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.

like image 59
Krzysztof John Avatar answered Sep 28 '22 09:09

Krzysztof John


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/

like image 43
ForeverWintr Avatar answered Sep 28 '22 11:09

ForeverWintr