Windows: Disable Just-In-Time Debugger Popup on Server

6/23/2014 7:40:23 PM
If you are deploying a .NET website to a Windows server, you might encounter an extremely annoying popup. When an unhandled error occurs, Windows will show a popup stating an error occurred. This popup requires human interaction to close (seems kinda stupid to me). Fortunately there is an easy fix. To disable this popup, simply follow the steps below. Delete the following registry keys.
  • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AeDebug\Debugger
  • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\DbgManagedDebugger
On a 64-bit operating system also delete the following registry keys:
  • HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows NT\CurrentVersion\AeDebug\Debugger
  • HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\.NETFramework\DbgManagedDebugger
More info: MSDN