Disable Windows error popup

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

modal Windows error blocks programs restart

However, the downside to disabling the error popups is you may not know a problem has happened without looking at program logs (if they exist).

Disable Windows Error popups

This procedure assumes Windows Pro or Enterprise. It does not work on Windows Home since gpedit.msc does not exist for non-Pro Windows.

  1. Press WindowsKey + R (Run) and type

    gpedit.msc
    1. Go to Computer Configuration → Administrative Templates → Windows Components → Windows Error Reporting and configure as desired.

    Group Edit dialog

    Notes

    Reference