{"id":12895,"date":"2021-12-10T07:37:23","date_gmt":"2021-12-10T07:37:23","guid":{"rendered":"https:\/\/lgildv5i97.onrocket.site\/answers\/?post_type=question&#038;p=12895"},"modified":"2021-12-10T07:38:27","modified_gmt":"2021-12-10T07:38:27","slug":"delete-registry-all-sub-keys-only","status":"publish","type":"question","link":"https:\/\/computing.net\/answers\/programming\/delete-registry-all-sub-keys-only\/29331.html","title":{"rendered":"Delete Registry All Sub Keys Only"},"content":{"rendered":"<p>Hi<\/p>\n<p>I am trying to delete all sub keys within a sub key with a .reg file but not sure how, I can enter a &#8220;-&#8221; symbol in front of the registry, but I don&#8217;t know what it is after the key, I just wanted to delete all the sub keys. Any ideas as I have tried wile card &#8220;*&#8221; at the end but it didn&#8217;t work.<\/p>\n<p>eg: HKLM\\software\\Microsoft\\WindowsNT\\Current Version\\Print\\Provider\\&#8230;&#8230;.<\/p>\n<p>Delete all sub keys after provider but leave Provider .<\/p>\n<p>Thanks<\/p>\n<p align=\"right\"><span style=\"font-size: xx-small;\"><i>message edited by kiwi_hk<\/i><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"inline_featured_image":false,"iawp_total_views":1},"question-category":[55],"question_tags":[],"class_list":["post-12895","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\/12895","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=12895"}],"wp:attachment":[{"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/media?parent=12895"}],"wp:term":[{"taxonomy":"question-category","embeddable":true,"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question-category?post=12895"},{"taxonomy":"question_tags","embeddable":true,"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question_tags?post=12895"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}