Occasionally you will see a window popup like this one.
This happens when a program error or a system error occurs. Windows prompts you to send an error report, theoretically so that Microsoft can use the information to make Windows more robust.
Personally I don’t trust Microsoft so I wanted to turn this off. Fortunately Microsoft provides a way as outlined in this article.