Get the App
SLTechnology News&Howtos  ›  Servers  › 

How to close the prompt dialog box when Windows program exits abnormally

Shulou Source: shulou.com Published: 2022-06-02 11:27:17 10月04日 Update

1. When an exception occurs in the Windows program, Windows will pop up an exception prompt dialog box, causing the program not to exit completely and affecting the monitoring program to restart the program automatically. You can use the

ServerWerOptin / disable

Command disables the display of prompts.

However, to disable the window completely, you need to change the following registry key to 1.

HKEY_CURRENT_USER\ Software\ Microsoft\ Windows\ WindowsErrorReporting\ DontShowUI

two。 When the program hangs and fails to exit normally, it is very difficult to obtain whether the program is currently in a suspended state through the system function, or it is more reliable to monitor regularly through pipes, files, networks and other communications between the two processes.

Tags: Programs prompts messages dialogs dialogs difficulties monitoring programs two between functions can be passed through commands general files registry status pipes systems networks or Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Technology Shulou Tech Info MariaDB NVidia Linux