In order to get rid of error reporting,

Go to “Start” and open “Control Panel”.
Double click on “System”, and then click on the “Advanced” tab.
Click on the “Error Reporting” button at the bottom.
Select “Disable error reporting”. When this option is selected, error reports
will not be generated. You can select the option “But notify me when critical errors occur” to have Windows notify you when a critical error occurs, even if you have disabled error reporting.
Now click on “OK” and you are done!