Go to Control panel / System. Click the advanced tab.

Click on "Error reporting". A new window opens.

Here you can disable error reporting and also choose if to be notified when critical errors occur. Press ok.