Disable Windows error popup

less than 1 minute read

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.

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 error popup window for Python Windows Group Policy Editor error configuration window
Disabling Windows Error popup. Useful for remote PCs running automated scripts.

Notes

Reference

Categories:

Updated:

Leave a comment