Step1: Go to Start and then open control panel.
Step2: In the control panel open System. This appears only in the classic view. If you are in category view go to Performance and Maintenance. You will find System there.
Step3: In the System window go to advanced tab. There click Error Reporting.
Step4: Select Disable error reporting option. Click OK.
Now you will not get any error reporting messages. But if you update your windows it may automatically enable the error reporting. So you have to disable it if it comes again.