{"id":85,"date":"2014-08-20T09:31:57","date_gmt":"2014-08-20T09:31:57","guid":{"rendered":"http:\/\/zewwy.ca\/?p=85"},"modified":"2018-01-13T17:44:44","modified_gmt":"2018-01-13T17:44:44","slug":"extra-registry-settings-in-gpme","status":"publish","type":"post","link":"https:\/\/zewwy.ca\/index.php\/2014\/08\/20\/extra-registry-settings-in-gpme\/","title":{"rendered":"Extra Registry Settings in GPME"},"content":{"rendered":"<div class=\"blogbody\">\n<p>As a systems administrator you&#8217;ll often need to clean up (Group Policies) GP&#8217;s in many organizations Windows Domain environments.<br \/>\nBefore I get into my story, <a href=\"http:\/\/serverfault.com\/questions\/412789\/admx-policies-and-preferences\">here<\/a> is some background info on ADM and ADMX files and templates.<\/p>\n<p>While I was working on cleaning up and verifying processed Policies, I came across one that stated Extra Registry Settings.<br \/>\nThing to check and note is if the polcies templates are derived from the localstore or a central store.<br \/>\nIf its using the local store it will check C:\\Windows\\inf for .adm files, and C:\\Windows\\PolicyDefinitions for.admx files.<br \/>\nIf using a central store, they will be under PolicyDefinitions under the SYSVOL folder, this is used for replication services.<br \/>\nIt&#8217;s also important to note that when you add an .adm file to a GP (either User or Computer Category) the adm file gets copied to the policies folder in SYSVOL.<\/p>\n<p>So the first thing I checked was under the poclies ID folder in SYSVOL I found a adm template file, and made a copy of it.<br \/>\nYou can open .adm file with notepad, and check <a href=\"http:\/\/support.microsoft.com\/kb\/225087\/en-us\">here<\/a> for how they are structured.<br \/>\nAfter checking the structure of the file it was exactly matched to what was displayed in the Extra Registery settings.<br \/>\nI even enabled the settings, removed the .adm from the GP in GPME, checked the settings tab in GPM and they &#8220;Extra Registry Settings&#8221; were exactly the same.<br \/>\nI was stumped, I couldn&#8217;t figure out what was going on, and the .adm file were in all places Windows would look for them.<\/p>\n<p>I came in this morning and decided to give it one more shot&#8230; I just can&#8217;t let things go when they bother me, and rebuilding the GPO just didn&#8217;t seem like a good solution.<br \/>\nWhat I did was I took the ValueName, and appended it to the KEYNAME string, I left the Valuename the same, and this was enough to work!<br \/>\nIt finally showed the correct heading in GPM, I was able to change their settings, and finally remove the .adm file to have a clean GP!<\/p>\n<p><em><strong>Jan 2018 Update<\/strong><\/em><\/p>\n<p>It&#8217;s been a long time since I had to such things as reverse engineer ADM files. This is a pretty cool post, haha.<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>As a systems administrator you&#8217;ll often need to clean up (Group Policies) GP&#8217;s in many organizations Windows Domain environments. Before I get into my story, here is some background info on ADM and ADMX files and templates. While I was working on cleaning up and verifying processed Policies, I came across one that stated Extra &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/zewwy.ca\/index.php\/2014\/08\/20\/extra-registry-settings-in-gpme\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Extra Registry Settings in GPME&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"sfsi_plus_gutenberg_text_before_share":"","sfsi_plus_gutenberg_show_text_before_share":"","sfsi_plus_gutenberg_icon_type":"","sfsi_plus_gutenberg_icon_alignemt":"","sfsi_plus_gutenburg_max_per_row":"","footnotes":""},"categories":[8],"tags":[],"class_list":["post-85","post","type-post","status-publish","format-standard","hentry","category-server-administration"],"_links":{"self":[{"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/posts\/85","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/comments?post=85"}],"version-history":[{"count":2,"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/posts\/85\/revisions"}],"predecessor-version":[{"id":87,"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/posts\/85\/revisions\/87"}],"wp:attachment":[{"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/media?parent=85"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/categories?post=85"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/tags?post=85"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}