How to cancel a dialog box that pops up after applying an error WIN2008 the program has stopped requesting shutdown

Source: Internet
Author: User
Under the WIN2003 if there is no hint after the application of the error, I have a watchdog here will directly down the application to pull up.
But under the WIN2008 occasionally apply down to the following dialog box, when the watchdog will not start the application, you must manually click the Close Program button after the watchdog can put down the application pull up. This will not be done unattended. Please friends to help you see how to solve the error does not eject the window.
The event log will be paid below



Just do it yourself and find a solution.

1. Turn off Error Reporting

Disable program Stop work error dialog box in Windows Server 2008
One of the most important hosts, such as an anti-game server thing, is to make sure that the server can automatically reboot when it crashes itself. It is quite normal for a CSS server to crash experience when running an intensive model like zombiemod systems and all software like them, they may not be free of errors.
If you are a game server hosted on a Linux or UNIX server, you do not have to worry because, by default, the impact can also be done via an automated script file when you reboot. For Windows, however, it cannot be restarted automatically. If you check the Srcds.com Window Server Tutorial tutorial, there is a section that teaches you to create a batch file that monitors the Srcds.exe process, and if it is terminated, the batch file will run the specified command line to restart the CSS server.
Unfortunately, the batch file will not crash because the default Windows work window displays an error. This will require the "Close Program" button to restart the batch file with someone by clicking on it. The following is how to disable the Errormode window so that you can use a batch file to automatically reboot when its CSS server crashes.
When the game crashes, Srcds.exe is still running due to errors popping in the background, saying: "Srcds.exe has stopped working." Windows can check a problem-solving approach online. “。

If you disable error reporting, you will still get a similar error window, saying: "Srcds.exe has stopped working." A problem caused the program to stop working properly. Please close this program.

To disable the Windows 2008 Server for error reporting, simply run the following command.
Serverweroptin/disable
I found out how additional boot MSDN can suppress system and application error messages that occur on embedded systems from users. The location in the registry is the following by default, which is 0, and we should change it to 2 to all messages that are not visible.
Hkey_local_machine\system\controlset001\control\windows\errormode.
Even in this bizarre way, it is still not enough to disable the error window when the game server crashes. So, I continued digging, and I found there is also an important registry entry that you need to modify to completely suppress ". EXE file has stopped working "dialog. "To the following registry location and change the numeric data setting to 1.
hkey_current_user\software\ microsoft\windows\windows Error Reporting\dontshowui
Now you can run the batch file to monitor the Srcds.exe process and it will automatically reboot when it crashes. I just don't understand why there is a CSS running on the server without a complete tutorial. The information must be scattered and the server administrator must spend time looking for it. By the way, there is a call freeware which is able to reboot the game server if it has crashed. It can actually automatically configure the registry to disable Windows Error Reporting and Errormode but it does not support Windows 2008 servers.


Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.