Disable WerFault.exe on crashes for specific processes on Windows 10

Solution 1:

You are experiencing Windows Error Reporting (which can be nice sometimes). You can absolutely configure it to not run for certain applications.

The MSDN page WER Settings, documents that you can configure Windows Error Reporting for the entire machine or per user:

HKEY_CURRENT_USER\Software\Microsoft\Windows\Windows Error Reporting
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\Windows Error Reporting

Open regedit and add the following as a REG_SZ (a string value). You might have to add the ExcludedApplications key as well:

ExcludedApplications\[Application Name]

Note: MSDN documents that you should use the WerAddExcludedApplication function, rather than manually adding items to the Windows Error Reporting registry key, to have the excluded.

I would use this if you want to create a .reg file:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting\ExcludedApplications]
"YourAppName.exe"=""

Solution 2:

Copy this into a .reg file and import it by doing a double click on it

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\Windows Error Reporting\ExcludedApplications]
"MyApp.exe"=dword:00000001