본문 바로가기

Computer/Windows

Disable Error Dialog in Windows Server 2008 / Vista

This is something i found on the internet.. used to happen to me.. but i finally fixed it.. just wanted it to share it with you 

When the game crashes, the Program.exe process is still running in background because of the error popup that says “Program.exe has stopped working. Windows can check online for a solution to the problem.”



If you disable Error Reporting, you will still get a similar error window that says “Program.exe has stopped working. A problem caused the program to stop working correctly. Please close the program”.



Program.exe has stopped working. A problem caused the program to stop working correctly. Please close the program.
To disable Error Reporting in Windows 2008 Server, just run the command below.

serverWerOptin /disable

I found another guide from MSDN on how the user can suppress system and application error messages from occurring on an embedded system. The registry location is at the following, by default the value data is 0 and we should change it to 2 to set all messages to invisible.

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Wi ndows\ErrorMode.

Weirdly even after doing all that, it’s still not enough to disable the error window when the game server crashes. So I continue digging and I found that there’s another important registry key which you need to modify in order to totally suppress the “.exe has stopped working” dialog.” Go to the following registry location and change the value data to 1.

HKEY_CURRENT_USER\Software\ Microsoft\Windows\Windows Error Reporting\DontShowUI

Now you can run the restarter and it will auto restart when it crashes.

This might be useful to a lot of ppl out there..

REP+ If i helped you 

(I always wanted to say that jaja)

The fu** Krazyyee
 



출처: 
http://otland.net/f138/disable-error-dialog-windows-server-2008-vista-68954/