{"id":5252,"date":"2018-08-12T00:06:39","date_gmt":"2018-08-12T00:06:39","guid":{"rendered":"http:\/\/www.hexacorn.com\/blog\/?p=5252"},"modified":"2018-08-12T00:06:39","modified_gmt":"2018-08-12T00:06:39","slug":"debugging-dosing-system-settings-win10","status":"publish","type":"post","link":"https:\/\/www.hexacorn.com\/blog\/2018\/08\/12\/debugging-dosing-system-settings-win10\/","title":{"rendered":"Debugging\/DoSing System Settings (win10)"},"content":{"rendered":"<p>Opening System Settings is a very common operation &#8211; one that allows users manage their computer and its settings, troubleshoot and fix stuff, and update the windows as well.<\/p>\n<p>So&#8230; it turns out that the program itself (C:\\Windows\\ImmersiveControlPanel\\SystemSettings.exe) has a built-in support for debugging; when launched, it checks if the following value in Registry is set:<\/p>\n<ul>\n<li>HKCU\\Control Panel\\Debug = 1<\/li>\n<\/ul>\n<p><a href=\"https:\/\/www.hexacorn.com\/blog\/wp-content\/uploads\/2018\/08\/syssettings_debug1.png\"><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter wp-image-5253\" src=\"https:\/\/www.hexacorn.com\/blog\/wp-content\/uploads\/2018\/08\/syssettings_debug1.png\" alt=\"\" width=\"500\" height=\"168\" srcset=\"https:\/\/www.hexacorn.com\/blog\/wp-content\/uploads\/2018\/08\/syssettings_debug1.png 592w, https:\/\/www.hexacorn.com\/blog\/wp-content\/uploads\/2018\/08\/syssettings_debug1-300x101.png 300w\" sizes=\"(max-width: 500px) 100vw, 500px\" \/><\/a><\/p>\n<p>If the value is present, the program will enter a never-ending loop waiting for a debugger to be attached to the program.<\/p>\n<p>For an average user the program will basically freeze:<\/p>\n<p><a href=\"https:\/\/www.hexacorn.com\/blog\/wp-content\/uploads\/2018\/08\/syssettings_debug2.png\"><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter wp-image-5254\" src=\"https:\/\/www.hexacorn.com\/blog\/wp-content\/uploads\/2018\/08\/syssettings_debug2.png\" alt=\"\" width=\"500\" height=\"302\" srcset=\"https:\/\/www.hexacorn.com\/blog\/wp-content\/uploads\/2018\/08\/syssettings_debug2.png 532w, https:\/\/www.hexacorn.com\/blog\/wp-content\/uploads\/2018\/08\/syssettings_debug2-300x181.png 300w\" sizes=\"(max-width: 500px) 100vw, 500px\" \/><\/a>For the more advanced users, this is an opportunity to attach the debugger \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Opening System Settings is a very common operation &#8211; one that allows users manage their computer and its settings, troubleshoot and fix stuff, and update the windows as well. So&#8230; it turns out that the program itself (C:\\Windows\\ImmersiveControlPanel\\SystemSettings.exe) has a &hellip; <a href=\"https:\/\/www.hexacorn.com\/blog\/2018\/08\/12\/debugging-dosing-system-settings-win10\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[67,45],"tags":[],"_links":{"self":[{"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/posts\/5252"}],"collection":[{"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/comments?post=5252"}],"version-history":[{"count":2,"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/posts\/5252\/revisions"}],"predecessor-version":[{"id":5256,"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/posts\/5252\/revisions\/5256"}],"wp:attachment":[{"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/media?parent=5252"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/categories?post=5252"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/tags?post=5252"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}