{"id":2448,"date":"2014-07-08T10:50:45","date_gmt":"2014-07-08T15:50:45","guid":{"rendered":"http:\/\/www.poweradmin.com\/blog\/?p=2448"},"modified":"2015-04-24T16:06:08","modified_gmt":"2015-04-24T21:06:08","slug":"gpmc-and-group-policy-store-in-windows-server-2008","status":"publish","type":"post","link":"https:\/\/www.poweradmin.com\/blog\/gpmc-and-group-policy-store-in-windows-server-2008\/","title":{"rendered":"GPMC &#038; Group Policy Store in Server 2008"},"content":{"rendered":"<p><span style=\"font-family: tahoma,arial,helvetica,sans-serif; font-size: 12pt;\">In this article I will show you how to install Group Policy Management Console and Create a Central Store for storing Group Policy Files. GPMC was first<\/span> <span style=\"font-family: tahoma,arial,helvetica,sans-serif; font-size: 12pt;\">introduced in Windows Server 2003 and it hasn\u2019t changed much with Windows Server 2008. If you are running <a title=\"Monitoring Active Directory\" href=\"https:\/\/www.poweradmin.com\/help\/sm_5_4\/howto_monitor_exchange.aspx?ref=blog\">Active Directory<\/a> within your<\/span> <span style=\"font-family: tahoma,arial,helvetica,sans-serif; font-size: 12pt;\">organization, it\u2019s most likely that you are going to use GPO to manipulate your workstations across the network. GPMC is a powerful and centralized tool<\/span> <span style=\"font-family: tahoma,arial,helvetica,sans-serif; font-size: 12pt;\">for creating\/deleting and interacting with Group Policy Objects. With GPMC you can automate management tasks for all Users and Computers within the<\/span> <span style=\"font-family: tahoma,arial,helvetica,sans-serif; font-size: 12pt;\">network. Windows Server 2008 uses ADMX (Administrative Template files with XML format) files to store registry settings. Group Policy Objects can be <\/span><span style=\"font-family: tahoma,arial,helvetica,sans-serif; font-size: 12pt;\">applied on OU (Organizational Units) and they can also be inherited from parent OUs.<\/span><\/p>\n<p><span style=\"font-family: tahoma,arial,helvetica,sans-serif; font-size: 12pt;\">I won\u2019t describe each Policy Object because there are so many that even multiple articles will not cover them all. Instead, I will let you discover them by<\/span> <span style=\"font-family: tahoma,arial,helvetica,sans-serif; font-size: 12pt;\">browsing in the Group Policy Management Console. You\u2019ll see how easy it is to add this feature to Windows Server 2008. Of course, you won\u2019t be<\/span> <span style=\"font-family: tahoma,arial,helvetica,sans-serif; font-size: 12pt;\">able to memorize all of them, but you should at least learn the categories available in GPMC and get a general idea on how this tool can make your life<\/span> <span style=\"font-family: tahoma,arial,helvetica,sans-serif; font-size: 12pt;\">easier. Note that you can also create custom policies by creating your own ADMX files. To achieve this you\u2019ll need to create a Central Repository, and this <\/span><span style=\"font-family: tahoma,arial,helvetica,sans-serif; font-size: 12pt;\">is what will be covered in today\u2019s article.<\/span><\/p>\n<p><span style=\"font-family: tahoma,arial,helvetica,sans-serif; font-size: 12pt;\">To install GPMC, you will need to open <em>Server Manager Console<\/em> and navigate to the <em>Features<\/em> section and click on the <em>Add Features <\/em><\/span><span style=\"font-family: tahoma,arial,helvetica,sans-serif; font-size: 12pt;\">button:<\/span><\/p>\n<p><span style=\"font-family: tahoma,arial,helvetica,sans-serif; font-size: 12pt;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2458\" title=\"Server Manager Console - Add Features\" src=\"\/blog\/wp-content\/uploads\/2014\/07\/server-manager-console-add-features.png\" alt=\"Server Manager Console - Add Features\" width=\"627\" height=\"321\" srcset=\"https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2014\/07\/server-manager-console-add-features.png 1014w, https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2014\/07\/server-manager-console-add-features-300x153.png 300w\" sizes=\"auto, (max-width: 627px) 100vw, 627px\"><\/span><\/p>\n<p><span style=\"font-family: tahoma,arial,helvetica,sans-serif; font-size: 12pt;\">From the available <em>Features<\/em> <em>list<\/em> you\u2019ll need to select <em>Group Policy Management<\/em> and proceed with the installation:<\/span><\/p>\n<p><span style=\"font-family: tahoma,arial,helvetica,sans-serif; font-size: 12pt;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2455\" title=\"Group Policy Management Installation\" src=\"\/blog\/wp-content\/uploads\/2014\/07\/group-policy-management-installation.png\" alt=\"Group Policy Management Installation\" width=\"623\" height=\"457\" srcset=\"https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2014\/07\/group-policy-management-installation.png 778w, https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2014\/07\/group-policy-management-installation-300x220.png 300w\" sizes=\"auto, (max-width: 623px) 100vw, 623px\"><\/span><\/p>\n<p><span style=\"font-family: tahoma,arial,helvetica,sans-serif; font-size: 12pt;\">Note that I\u2019ve previously installed this feature this is why I get the <em>Installed<\/em> grayed message.<\/span><\/p>\n<p><span style=\"font-family: tahoma,arial,helvetica,sans-serif; font-size: 12pt;\">Once the feature has been installed, you can open it either by using <em>mmc<\/em> and adding the GPMC snap-in or by typing GPMC.MSC in run:<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2456 size-full\" title=\"Open Run GPMC\" src=\"\/blog\/wp-content\/uploads\/2014\/07\/open-run-gpmc.png\" alt=\"Open Run GPMC\" width=\"416\" height=\"220\" srcset=\"https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2014\/07\/open-run-gpmc.png 416w, https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2014\/07\/open-run-gpmc-300x158.png 300w\" sizes=\"auto, (max-width: 416px) 100vw, 416px\"><\/p>\n<p><span style=\"font-family: tahoma,arial,helvetica,sans-serif; font-size: 12pt;\">You can now explore the available policies and the new features introduced with Windows Server 2008.<\/span><\/p>\n<p><span style=\"font-family: tahoma,arial,helvetica,sans-serif; font-size: 12pt;\">Clients can determine what GPO they should apply by checking a specific attribute (<em>gPLink<\/em>) within Active Directory. They will receive a list<\/span> <span style=\"font-family: tahoma,arial,helvetica,sans-serif; font-size: 12pt;\">containing all GPOs and in what order they should be applied. To apply a policy, clients will first need to determine what the latest version of each GPO<\/span> <span style=\"font-family: tahoma,arial,helvetica,sans-serif; font-size: 12pt;\">is. If a GPO has been applied previously, the client will know if changes have occurred by checking this specific attribute. To view the version of a GPO,<\/span> <span style=\"font-family: tahoma,arial,helvetica,sans-serif; font-size: 12pt;\">you\u2019ll need to expand the <em>forest<\/em> and <em>domain<\/em> section and select one of your policies. Now go on the <em>Details<\/em> section of our GPO <\/span><span style=\"font-family: tahoma,arial,helvetica,sans-serif; font-size: 12pt;\">and you will be able to see <em>User Version<\/em> and <em>Computer Version<\/em>:<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2454\" title=\"GPMC User Version or Computer Version\" src=\"\/blog\/wp-content\/uploads\/2014\/07\/gpmc-user-computer-version.png\" alt=\"GPMC User Version or Computer Version\" width=\"621\" height=\"277\" srcset=\"https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2014\/07\/gpmc-user-computer-version.png 861w, https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2014\/07\/gpmc-user-computer-version-300x133.png 300w\" sizes=\"auto, (max-width: 621px) 100vw, 621px\"><\/p>\n<p><span style=\"font-family: tahoma,arial,helvetica,sans-serif; font-size: 12pt;\">As you can see, there are two version parameters available: User version and Computer Version. By comparing these two values, clients will know what and where<\/span> <span style=\"font-family: tahoma,arial,helvetica,sans-serif; font-size: 12pt;\">the changes occurred and if the policy was ever applied to the workstation. Besides determining what GPOs have been changed and what policy settings<\/span> <span style=\"font-family: tahoma,arial,helvetica,sans-serif; font-size: 12pt;\">to apply, the Client will determine if he can reach any Domain Controller. Once this phase is complete, the client will pull all Group Policy setting and<\/span> <span style=\"font-family: tahoma,arial,helvetica,sans-serif; font-size: 12pt;\">place them in the right category (for example, Policies, Windows Settings, Administrative Templates, etc.). For each category there is a Client-Side <\/span><span style=\"font-family: tahoma,arial,helvetica,sans-serif; font-size: 12pt;\">Extension (CSE) which is nothing more than a file that can interpret and process settings within a GPO (usually a DLL).<\/span><\/p>\n<p><span style=\"font-family: tahoma,arial,helvetica,sans-serif; font-size: 12pt;\">On a Client computer you can view what CSE have been loaded by checking the registry. Open <em>regedit<\/em> and navigate to <\/span><span style=\"font-family: tahoma,arial,helvetica,sans-serif; font-size: 12pt;\">HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Winlogon\\GPExtensions:<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2453 size-full\" title=\"GPMC CSE Loaded - Registry\" src=\"\/blog\/wp-content\/uploads\/2014\/07\/gpmc-cse-loaded-registry.jpg\" alt=\"GPMC CSE Loaded - Registry\" width=\"611\" height=\"434\" srcset=\"https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2014\/07\/gpmc-cse-loaded-registry.jpg 611w, https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2014\/07\/gpmc-cse-loaded-registry-300x213.jpg 300w\" sizes=\"auto, (max-width: 611px) 100vw, 611px\"><\/p>\n<p><span style=\"font-family: tahoma,arial,helvetica,sans-serif; font-size: 12pt;\">Within a CSE you will see where the GPO will be applied, what\u2019s the DLL file responsible for processing settings, etc.<\/span><\/p>\n<p><span style=\"font-family: tahoma,arial,helvetica,sans-serif; font-size: 12pt;\">ADMX files were introduced with Windows Server 2008 replacing the old ADM formats. ADMX files are used to create custom policies by adding registry based<\/span> <span style=\"font-family: tahoma,arial,helvetica,sans-serif; font-size: 12pt;\">settings in an XML format. These files can be placed in a central repository which is accessible by Administrators responsible for creating Group Policy<\/span> <span style=\"font-family: tahoma,arial,helvetica,sans-serif; font-size: 12pt;\">Objects. By creating a central Store for your ADMX files, you reduce the storage space required for your GPOs because ADMX are read from a single <a title=\"Domain Controller\" href=\"\/blog\/add-1st-windows-server-2012-domain-controller-to-existing-network\/\">Domain<\/a><\/span> <span style=\"font-family: tahoma,arial,helvetica,sans-serif; font-size: 12pt;\"><a title=\"Domain Controller\" href=\"\/blog\/add-1st-windows-server-2012-domain-controller-to-existing-network\/\">Controller<\/a> and it\u2019s not necessary to copy them for each GPO. ADMX files are divided into two categories: <em>language specific resources<\/em> (.adml files)<\/span><br>\n<span style=\"font-family: tahoma,arial,helvetica,sans-serif; font-size: 12pt;\"> and <em>language-neutral resources<\/em> (.admx files). The user interface, is modified based on these language settings.<\/span><\/p>\n<p><span style=\"font-family: tahoma,arial,helvetica,sans-serif; font-size: 12pt;\">Note that by default, the central store is not created and you will have to add it manually. Open <em>Windows Explorer<\/em>, navigate to <em>C:\\Windows\\SYSVOL\\domain\\Policies<\/em> and create a new folder named <em>PolicyDefinitions<\/em>.  Within this folder create another directory named<\/span> <span style=\"font-family: tahoma,arial,helvetica,sans-serif; font-size: 12pt;\">en-us (location for .adml files). We will need to get some .adml and .admx files. Note that you\u2019ll need to RDP to a client computer that is part of your AD<\/span> <span style=\"font-family: tahoma,arial,helvetica,sans-serif; font-size: 12pt;\">domain and search for these files. In my testing environment I\u2019ve installed a Windows 7 machine and added it to my domain. Once the workstation is added to <\/span><span style=\"font-family: tahoma,arial,helvetica,sans-serif; font-size: 12pt;\">a domain, all .admx and .adml files that are applied to the host, are copied from the Domain Controller:<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2452 size-full\" title=\"Add Central Store Domain Controller\" src=\"\/blog\/wp-content\/uploads\/2014\/07\/add-central-store-domain-controller.jpg\" alt=\"Add Central Store Domain Controller\" width=\"483\" height=\"406\" srcset=\"https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2014\/07\/add-central-store-domain-controller.jpg 483w, https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2014\/07\/add-central-store-domain-controller-300x252.jpg 300w\" sizes=\"auto, (max-width: 483px) 100vw, 483px\"><\/p>\n<p><span style=\"font-family: tahoma,arial,helvetica,sans-serif; font-size: 12pt;\">Copy one .adml file in C:\\Windows\\SYSVOL\\domain\\Policies\\en-us and one .admx in C:\\Windows\\SYSVOL\\domain\\Policies. You can now explore the contents of the<\/span> <span style=\"font-family: tahoma,arial,helvetica,sans-serif; font-size: 12pt;\">files. Note that you can download the ADMX schema using the following link from <a href=\"http:\/\/www.microsoft.com\/en-us\/download\/confirmation.aspx?id=4364\" rel=\"nofollow\" target=\"_blank\">Microsoft\u2019s website<img class=\"extlink-icon\" src=\"https:\/\/www.poweradmin.com\/blog\/wp-content\/plugins\/external-links-nofollow-open-in-new-tab-favicon\/images\/extlink.png\"><\/a>. When building specific files, you will need to make<\/span> <span style=\"font-family: tahoma,arial,helvetica,sans-serif; font-size: 12pt;\">sure that the schemas are configured correctly. Working with ADMX files is a bit risky because they modify registry settings and thus you can end up <\/span><span style=\"font-family: tahoma,arial,helvetica,sans-serif; font-size: 12pt;\">messing up your network. Always test your files before applying them in a production environment.<\/span><\/p>\n<p><span style=\"font-family: tahoma,arial,helvetica,sans-serif; font-size: 12pt;\">I hope this helps you understand how to install GPMC and configure a central Store file for your policy objects. I\u2019ve also tried explaining the process of applying<\/span> <span style=\"font-family: tahoma,arial,helvetica,sans-serif; font-size: 12pt;\">a GPO to an Active Directory client. Note that I haven\u2019t been experimenting much with custom ADMX files, so I\u2019m still in the process of learning how to<\/span> <span style=\"font-family: tahoma,arial,helvetica,sans-serif; font-size: 12pt;\">customize them to achieve best results for my network. You can try installing the ADMX schema and then play a bit with a custom rule. If you have any questions, or are confused with any part of this process,<\/span><span style=\"font-family: tahoma,arial,helvetica,sans-serif; font-size: 12pt;\"> don\u2019t hesitate to post a comment <\/span><span style=\"font-family: tahoma,arial,helvetica,sans-serif; font-size: 12pt;\">in our dedicated section. Wish you all the best and stay tuned for the following articles.<\/span><\/p>\n<p><a title=\"\" href=\"http:\/\/www.twitter.com\/home?status=RT:%20@poweradmn%20GPMC%20and%20Group%20Policy%20Store%20in%20Windows%20Server%202008%20\/blog\/gpmc-and-group-policy-store-in-windows-server-2008\/?ref=blog\" target=\"_blank\" rel=\"nofollow\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-1028\" title=\"\" src=\"\/blog\/wp-content\/uploads\/2013\/11\/tweet-this-article-button-large-300x75.png\" alt=\"Tweet this\" width=\"300\" height=\"75\" srcset=\"https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2013\/11\/tweet-this-article-button-large-300x75.png 300w, https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2013\/11\/tweet-this-article-button-large.png 310w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\"><img class=\"extlink-icon\" src=\"https:\/\/www.poweradmin.com\/blog\/wp-content\/plugins\/external-links-nofollow-open-in-new-tab-favicon\/images\/extlink.png\"><\/a><\/p>\n<p><a title=\"\" href=\"https:\/\/plus.google.com\/share?url={\/blog\/gpmc-and-group-policy-store-in-windows-server-2008\/?ref=blog}\" target=\"_blank\" rel=\"nofollow\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-1053\" title=\"\" src=\"\/blog\/wp-content\/uploads\/2013\/11\/google-plus-this-article-button-large2-300x75.png\" alt=\"Share on Google+\" width=\"300\" height=\"75\" srcset=\"https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2013\/11\/google-plus-this-article-button-large2-300x75.png 300w, https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2013\/11\/google-plus-this-article-button-large2.png 310w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\"><img class=\"extlink-icon\" src=\"https:\/\/www.poweradmin.com\/blog\/wp-content\/plugins\/external-links-nofollow-open-in-new-tab-favicon\/images\/extlink.png\"><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this article I will show you how to install Group Policy Management Console and Create a Central Store for storing Group Policy Files. GPMC was first introduced in Windows Server 2003 and it hasn\u2019t changed much with Windows Server 2008. If you are running Active Directory within your organization, it\u2019s most likely that you [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":2455,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,5,9,8],"tags":[],"class_list":["post-2448","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-general-it","category-how-to","category-technical","category-windows"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.poweradmin.com\/blog\/wp-json\/wp\/v2\/posts\/2448","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.poweradmin.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.poweradmin.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.poweradmin.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.poweradmin.com\/blog\/wp-json\/wp\/v2\/comments?post=2448"}],"version-history":[{"count":5,"href":"https:\/\/www.poweradmin.com\/blog\/wp-json\/wp\/v2\/posts\/2448\/revisions"}],"predecessor-version":[{"id":3481,"href":"https:\/\/www.poweradmin.com\/blog\/wp-json\/wp\/v2\/posts\/2448\/revisions\/3481"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.poweradmin.com\/blog\/wp-json\/wp\/v2\/media\/2455"}],"wp:attachment":[{"href":"https:\/\/www.poweradmin.com\/blog\/wp-json\/wp\/v2\/media?parent=2448"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.poweradmin.com\/blog\/wp-json\/wp\/v2\/categories?post=2448"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.poweradmin.com\/blog\/wp-json\/wp\/v2\/tags?post=2448"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}