{"id":1756,"date":"2015-12-03T15:03:53","date_gmt":"2015-12-03T15:03:53","guid":{"rendered":"http:\/\/emtunc.org\/blog\/?p=1756"},"modified":"2017-02-24T15:14:52","modified_gmt":"2017-02-24T15:14:52","slug":"remove-extra-registry-settings-from-gpo","status":"publish","type":"post","link":"https:\/\/emtunc.org\/blog\/12\/2015\/remove-extra-registry-settings-from-gpo\/","title":{"rendered":"Remove Extra Registry Settings from GPO"},"content":{"rendered":"<p>In this guide I will walk through how you can quickly and easily remove\u00a0<strong>Extra Registry Settings<\/strong> from your group policies objects when you don&#8217;t have access to the custom .ADM to &#8216;unconfigure&#8217; them or they don&#8217;t show up in the GPO editor for what ever reason.<\/p>\n<p><!--more--><\/p>\n<ol>\n<li>Now would be a good time to back-up all your GPOs.<\/li>\n<li>Now either grab the name of the GPO or the UID which you can find on the &#8216;Details&#8217; tab.<\/li>\n<li>In my example below, we have two custom registry entries. Take note of the entire path\u00a0<strong>including<\/strong> the registry hive (e.g., HKCU\/HKLM\/etc). In my example below, they registry entries belong to the HKCU (HKEY_CURRENT_USER) hive.<a href=\"http:\/\/emtunc.org\/blog\/wp-content\/uploads\/2015\/12\/2015-12-03-14_37_57-Group-Policy-Management.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1757\" src=\"http:\/\/emtunc.org\/blog\/wp-content\/uploads\/2015\/12\/2015-12-03-14_37_57-Group-Policy-Management.png\" alt=\"2015-12-03 14_37_57-Group Policy Management\" width=\"1307\" height=\"184\" srcset=\"https:\/\/emtunc.org\/blog\/wp-content\/uploads\/2015\/12\/2015-12-03-14_37_57-Group-Policy-Management.png 1307w, https:\/\/emtunc.org\/blog\/wp-content\/uploads\/2015\/12\/2015-12-03-14_37_57-Group-Policy-Management-300x42.png 300w, https:\/\/emtunc.org\/blog\/wp-content\/uploads\/2015\/12\/2015-12-03-14_37_57-Group-Policy-Management-1024x144.png 1024w\" sizes=\"auto, (max-width: 1307px) 100vw, 1307px\" \/><\/a><\/li>\n<li>Now we need to use the PowerShell command\u00a0<strong>Remove-GPRegistryValue\u00a0<\/strong>to remove the value from the GPO. Below are the commands I ran:<br \/>\n&nbsp;<\/p>\n<pre class=\"lang:default decode:true \">Remove-GPRegistryValue -Name Test -Key \"HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Policies\\Explorer\" -ValueName HideSCABattery\r\nRemove-GPRegistryValue -Name Test -Key \"HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Policies\\Explorer\" -ValueName UseFoldersInStartMenu<\/pre>\n<\/li>\n<li>If successful, you will see something like the below<a href=\"http:\/\/emtunc.org\/blog\/wp-content\/uploads\/2015\/12\/2015-12-03-14_54_28-Administrator_-Windows-PowerShell.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1760\" src=\"http:\/\/emtunc.org\/blog\/wp-content\/uploads\/2015\/12\/2015-12-03-14_54_28-Administrator_-Windows-PowerShell.png\" alt=\"2015-12-03 14_54_28-Administrator_ Windows PowerShell\" width=\"1310\" height=\"525\" srcset=\"https:\/\/emtunc.org\/blog\/wp-content\/uploads\/2015\/12\/2015-12-03-14_54_28-Administrator_-Windows-PowerShell.png 1310w, https:\/\/emtunc.org\/blog\/wp-content\/uploads\/2015\/12\/2015-12-03-14_54_28-Administrator_-Windows-PowerShell-300x120.png 300w, https:\/\/emtunc.org\/blog\/wp-content\/uploads\/2015\/12\/2015-12-03-14_54_28-Administrator_-Windows-PowerShell-1024x410.png 1024w\" sizes=\"auto, (max-width: 1310px) 100vw, 1310px\" \/><\/a>That&#8217;s it! You shouldn&#8217;t see the\u00a0<strong>Extra Registry Settings\u00a0<\/strong>sub-menu when you refresh the GPO in Group Policy Management. Now run the command on your live GPO when you are happy with the procedure.<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>In this guide I will walk through how you can quickly and easily remove\u00a0Extra Registry Settings from your group policies objects when you don&#8217;t have access to the custom .ADM to &#8216;unconfigure&#8217; them or they don&#8217;t show up in the GPO editor for what ever reason.<\/p>\n","protected":false},"author":32,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"footnotes":""},"categories":[1],"tags":[147,42,210],"class_list":["post-1756","post","type-post","status-publish","format-standard","hentry","category-tech","tag-gpo","tag-powershell","tag-registry"],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p1trTO-sk","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/emtunc.org\/blog\/wp-json\/wp\/v2\/posts\/1756","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/emtunc.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/emtunc.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/emtunc.org\/blog\/wp-json\/wp\/v2\/users\/32"}],"replies":[{"embeddable":true,"href":"https:\/\/emtunc.org\/blog\/wp-json\/wp\/v2\/comments?post=1756"}],"version-history":[{"count":14,"href":"https:\/\/emtunc.org\/blog\/wp-json\/wp\/v2\/posts\/1756\/revisions"}],"predecessor-version":[{"id":2479,"href":"https:\/\/emtunc.org\/blog\/wp-json\/wp\/v2\/posts\/1756\/revisions\/2479"}],"wp:attachment":[{"href":"https:\/\/emtunc.org\/blog\/wp-json\/wp\/v2\/media?parent=1756"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/emtunc.org\/blog\/wp-json\/wp\/v2\/categories?post=1756"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/emtunc.org\/blog\/wp-json\/wp\/v2\/tags?post=1756"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}