Disable Windows error popup

Some program errors (including Python errors) can cause an error popup window to appear, which blocks further progress. This is a big problem for long-running Python scripts that call other programs, perhaps on a Task Schedule.

Windows error popup window
Windows error popup dialog.

Fix

  1. Pressing WIN R (Run) and type
    gpedit.msc
    
  2. Go to Computer Configuration → Administrative Templates → Windows Components → Windows Error Reporting and configure as desired.
Windows Group Policy Editor error configuration window
Windows Group Policy Editor settings to disable popup error windows.

Notes

Reference

Categories:

Updated:

Leave a Comment