如何在崩溃后禁用应用程序弹出窗口并启用崩溃转储

时间:2019-01-03 18:56:45

标签: registry crash-reports crash-dumps windows-error-reporting

我们有一个在容器(w3wp.exe)中运行的IIS进程,过去我们曾在所有崩溃中生成崩溃转储。但是,情况有所变化,我们不再看到转储。当我进行更多调查时,我注意到在系统日志中有一个Application Popup evnt(事件ID 26),该进程崩溃了。我寻找了禁用和绕过此弹出窗口并生成转储的方法。我发现了一堆堆栈溢出问题How do I disable the 'Debug / Close Application' dialog on Windows Vista?How to terminate a program when it crashes? (which should just fail a unit test instead of getting stuck forever)

我尝试设置这些reg键,但是没有运气。     [HKEY_LOCAL_MACHINE \ Software \ Policies \ Microsoft \ Windows \ Windows错误报告]     “ DontShowUI” = dword:00000001     “ Disabled” = dword:00

[HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Windows Error Reporting]
"DontShowUI"=dword:00000001
"Disabled"=dword:00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\Windows Error Reporting]
"Disabled"=dword:00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting]
"Disabled"=dword:00

//Registry Key Configuration for Up-Level Clients
[HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Windows Error Reporting]
"Disabled"=dword:00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Windows Error Reporting]
"Disabled"=dword:00

此外,w3wp.exe进程在NT Authority \ System用户(它是localsystemaccount)下运行,我发现它读取HKEY_USERS.Default注册表配置单元。因此,我也在此下修改了这些键,但还是没有运气。

我的操作系统是win10。有人可以帮我吗

0 个答案:

没有答案