{"id":2130,"date":"2015-04-17T04:17:27","date_gmt":"2015-04-17T04:17:27","guid":{"rendered":"http:\/\/truelogic.org\/wordpress\/?p=2130"},"modified":"2015-04-17T04:19:53","modified_gmt":"2015-04-17T04:19:53","slug":"disable-application-debugclose-popup-on-program-crash","status":"publish","type":"post","link":"https:\/\/truelogic.org\/wordpress\/2015\/04\/17\/disable-application-debugclose-popup-on-program-crash\/","title":{"rendered":"Disable &#8216;Application Debug\/Close&#8217; Popup On Program Crash"},"content":{"rendered":"<p>By default in Windows Vista, 7 and upwards, when an application crashes, Windows pops up the common Application Debug Close popup window an example of which is shown below:<\/p>\n<p><a href=\"https:\/\/truelogic.org\/wordpress\/wp-content\/uploads\/2015\/04\/WerFault_Default.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-full wp-image-2131\" src=\"https:\/\/truelogic.org\/wordpress\/wp-content\/uploads\/2015\/04\/WerFault_Default.png\" alt=\"WerFault_Default\" width=\"532\" height=\"286\" srcset=\"https:\/\/truelogic.org\/wordpress\/wp-content\/uploads\/2015\/04\/WerFault_Default.png 532w, https:\/\/truelogic.org\/wordpress\/wp-content\/uploads\/2015\/04\/WerFault_Default-300x161.png 300w\" sizes=\"auto, (max-width: 532px) 100vw, 532px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Sometimes this can be a problem specially if you are running automated tests and you do not want to have to manually press any keys or if you just want your application to crash without this popup window.<\/p>\n<p>The best way to do that is to use Gepedit.msc.<\/p>\n<ol>\n<li>Go to Start. Type gpedit.msc<\/li>\n<li>Navigate to Computer Configuration-&gt;Administrative Templates-&gt;Windows Components-&gt;Windows Error Reporting<\/li>\n<li>On the right pane, click on &#8220;Prevent display of the user interface for critical errors&#8221; and set it to Enabled.<\/li>\n<\/ol>\n<p><a href=\"https:\/\/truelogic.org\/wordpress\/wp-content\/uploads\/2015\/04\/errorreporting.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-medium wp-image-2132\" src=\"https:\/\/truelogic.org\/wordpress\/wp-content\/uploads\/2015\/04\/errorreporting-620x297.png\" alt=\"errorreporting\" width=\"620\" height=\"297\" srcset=\"https:\/\/truelogic.org\/wordpress\/wp-content\/uploads\/2015\/04\/errorreporting-620x297.png 620w, https:\/\/truelogic.org\/wordpress\/wp-content\/uploads\/2015\/04\/errorreporting-300x144.png 300w, https:\/\/truelogic.org\/wordpress\/wp-content\/uploads\/2015\/04\/errorreporting-940x450.png 940w, https:\/\/truelogic.org\/wordpress\/wp-content\/uploads\/2015\/04\/errorreporting-900x431.png 900w, https:\/\/truelogic.org\/wordpress\/wp-content\/uploads\/2015\/04\/errorreporting.png 1143w\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>This will disable the popup from showing up.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"mh-excerpt\"><p>By default in Windows Vista, 7 and upwards, when an application crashes, Windows pops up the common Application Debug Close popup window an example of <a class=\"mh-excerpt-more\" href=\"https:\/\/truelogic.org\/wordpress\/2015\/04\/17\/disable-application-debugclose-popup-on-program-crash\/\" title=\"Disable &#8216;Application Debug\/Close&#8217; Popup On Program Crash\">[&#8230;]<\/a><\/p>\n<\/div>","protected":false},"author":1,"featured_media":2131,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10,15],"tags":[],"class_list":["post-2130","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-programming","category-windows"],"_links":{"self":[{"href":"https:\/\/truelogic.org\/wordpress\/wp-json\/wp\/v2\/posts\/2130","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/truelogic.org\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/truelogic.org\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/truelogic.org\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/truelogic.org\/wordpress\/wp-json\/wp\/v2\/comments?post=2130"}],"version-history":[{"count":3,"href":"https:\/\/truelogic.org\/wordpress\/wp-json\/wp\/v2\/posts\/2130\/revisions"}],"predecessor-version":[{"id":2135,"href":"https:\/\/truelogic.org\/wordpress\/wp-json\/wp\/v2\/posts\/2130\/revisions\/2135"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/truelogic.org\/wordpress\/wp-json\/wp\/v2\/media\/2131"}],"wp:attachment":[{"href":"https:\/\/truelogic.org\/wordpress\/wp-json\/wp\/v2\/media?parent=2130"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/truelogic.org\/wordpress\/wp-json\/wp\/v2\/categories?post=2130"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/truelogic.org\/wordpress\/wp-json\/wp\/v2\/tags?post=2130"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}