{"id":8001,"date":"2021-11-25T13:29:10","date_gmt":"2021-11-25T13:29:10","guid":{"rendered":"https:\/\/lgildv5i97.onrocket.site\/answers\/?post_type=question&#038;p=8001"},"modified":"2021-11-25T13:29:38","modified_gmt":"2021-11-25T13:29:38","slug":"solved-delete-protected-sub-registry-key-with-batch-file","status":"publish","type":"question","link":"https:\/\/computing.net\/answers\/programming\/delete-protected-sub-registry-key-with-batch-file\/29653.html","title":{"rendered":"Solved Delete Protected Sub Registry Key With Batch File"},"content":{"rendered":"<p>Hi<\/p>\n<p>Trying to delete the following registry key with a batch file but I can&#8217;t even delete in the registry editor. Any ideas on how to write a batch file to do it, maybe it need to change permission also.<\/p>\n<p>HKEY_LOCAL_MACHINE\\SYSTEM\\ControlSet001\\Enum\\SWD\\PRINTENUM\\<\/p>\n<p>There are about 8 sub keys under PRINTENUM such as {1974F44D-A278-&#8230;&#8230;} that I want to be deleted.<\/p>\n<p>HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Enum\\SWD\\PRINTENUM<\/p>\n<p>Same as above.<\/p>\n<p>Thank you in advance if anyone can help me with a script.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"inline_featured_image":false,"iawp_total_views":6},"question-category":[55],"question_tags":[],"class_list":["post-8001","question","type-question","status-publish","hentry","question-category-programming"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question\/8001","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question"}],"about":[{"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/types\/question"}],"author":[{"embeddable":true,"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/comments?post=8001"}],"wp:attachment":[{"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/media?parent=8001"}],"wp:term":[{"taxonomy":"question-category","embeddable":true,"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question-category?post=8001"},{"taxonomy":"question_tags","embeddable":true,"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question_tags?post=8001"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}