{"id":1525,"date":"2012-11-24T13:18:07","date_gmt":"2012-11-24T13:18:07","guid":{"rendered":"http:\/\/www.edwardsd.co.uk\/work\/?p=1525"},"modified":"2016-04-23T18:38:56","modified_gmt":"2016-04-23T17:38:56","slug":"migrating-gpos-across-domains-with-gpmc","status":"publish","type":"post","link":"https:\/\/www.edwardsd.co.uk\/work\/2012\/11\/migrating-gpos-across-domains-with-gpmc\/","title":{"rendered":"&#8220;Migrating GPOs Across Domains with GPMC&#8221;"},"content":{"rendered":"<p>I&#8217;ve recently updated my Windows Server 2008R2 system to Windows Server 2012. Windows\u00a0Server 2012 was a fresh install using a different domain name on a new system. My intention was to manually migrated all data from the existing 2008R2 server into the new domain, this included Hyper-V VMs, DHCP and GPOs. There is the option of using ADMT however I required a clean install.<\/p>\n<p>These are the steps I took in order to migrate GPOs from the source server to the destination server with a different domain name.<\/p>\n<p>(Although this was completed from a 2008R2 to 2012 server, the first set of screen shots where created on the new 2012 server for this guide)<\/p>\n<hr \/>\n<p><strong>Source WS2008R2:<\/strong> Backup the existing GPOs from the GPMC, you need to ensure that the &#8220;Group Policy Objects&#8221; container is selected for the &#8220;<em>Backup Up All<\/em>&#8221; option to be available.<strong> <\/strong><\/p>\n<p>ngg_shortcode_0_placeholder<!--more--><\/p>\n<hr \/>\n<p><strong>Source WS2008R2: <\/strong>Select backup location. This will backup <span style=\"text-decoration: underline;\">all<\/span> GPOs on the server. This is basically creating a copy of the SYSVOL GPOs files\/folders &#8220;%systemroot%\\SYSVOL\\domain\\Policies&#8221;<br \/>\nngg_shortcode_1_placeholder<br \/>\nngg_shortcode_2_placeholder<\/p>\n<hr \/>\n<p><strong>The backup location DIR can be checked to confirm these are available. i.e. S:\\Backup, this should match %systemroot%\\SYSVOL\\domain\\Policies<\/strong><br \/>\nngg_shortcode_3_placeholder<\/p>\n<hr \/>\n<p><strong>Destination WS2012: <\/strong>Depending on the GPOs being migrated some of these may have references to local domain varibles such as &#8220;domain.com&#8221; or SIDS. Before the GPOs can be imported, these\u00a0varibles must be remapped\u00a0to work correct in the new domain. To remap these the Migration editor can be used.<\/p>\n<p><strong>Select &#8220;Open Migration Table Editor&#8221;<\/strong><br \/>\nngg_shortcode_4_placeholder<\/p>\n<hr \/>\n<p><strong>Select &#8220;Tools -&gt; Populate from Backup&#8221;<\/strong><br \/>\nngg_shortcode_5_placeholder<\/p>\n<hr \/>\n<p><strong>&#8220;Browse&#8221; to the GPO backup location\u00a0(i.e. S:\\Backup) highlight GPOs\u00a0and select\u00a0&#8220;OK&#8221;<\/strong><br \/>\nngg_shortcode_6_placeholder<\/p>\n<hr \/>\n<p><strong>Review\u00a0any objects that reference\u00a0the source domain,\u00a0right click the field which requires updating, select &#8220;browse&#8221; and select\u00a0a\u00a0new target which exists in the\u00a0destination domain (i.e. groups, users, computers, SIDS etc)<\/strong><br \/>\nngg_shortcode_7_placeholder<\/p>\n<hr \/>\n<p><strong>After reviewing\/updating objects, the list needs to be saved into a .migtable file<br \/>\n&#8220;file -&gt; save as&#8221; enter destination\/filename. (i.e. S:\\Backup)<\/strong><br \/>\nngg_shortcode_8_placeholder<\/p>\n<hr \/>\n<p><strong>Once the stages above are completed, we need to recreate the GPOs. Go back to the <a title=\"Group Policy Management Console\" href=\"http:\/\/technet.microsoft.com\/en-us\/library\/cc753298.aspx\" target=\"_blank\">GPMC<\/a>\u00a0<\/strong><strong>create a new GPO (same as a GPO in the source domain), enter name, click &#8220;OK&#8221;<\/strong><br \/>\nngg_shortcode_9_placeholder<\/p>\n<hr \/>\n<p><strong>Right click the GPO, select &#8220;Import Settings&#8221;<\/strong><br \/>\nngg_shortcode_10_placeholder<\/p>\n<hr \/>\n<p><strong>&#8220;Browse to the same location the\u00a0GPOs were backed up to (i.e. S:\\Backup) click &#8220;Next&#8221;<\/strong><br \/>\nngg_shortcode_11_placeholder<\/p>\n<hr \/>\n<p><strong>The b<\/strong><strong>acked up GPOs will be listed. Select the GPO to be imported click &#8220;Next&#8221;<\/strong><br \/>\nngg_shortcode_12_placeholder<\/p>\n<hr \/>\n<p><strong>The &#8220;Migrating References&#8221; options will be displayed, (this only displays if the imported GPO has\u00a0a unique reference i.e.\u00a0groups, users, computers, SIDS etc)\u00a0&#8220;browse&#8221; to the location of the\u00a0.migtable (i.e. S:\\Backup\\Migration.migtable) and\u00a0click &#8220;Next&#8221;\u00a0<\/strong><br \/>\nngg_shortcode_13_placeholder<\/p>\n<hr \/>\n<p><strong>The GPO settings will be migrated into the new domain with the updated references. The GPO settings can be checked in the GPMC.<\/strong><br \/>\nngg_shortcode_14_placeholder<\/p>\n<p>References:<\/p>\n<p><a href=\"http:\/\/certcollection.org\/forum\/topic\/141217-how-to-migrate-gpos-to-another-forest\/\">How To Migrate GPOS to Another Forest\/<\/a><br \/>\nMigrating GPOs Across Domains with GPMC<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve recently updated my Windows Server 2008R2 system to Windows Server 2012. Windows\u00a0Server 2012 was a fresh install using a different domain name on a new system. My intention was to manually migrated all data from the existing 2008R2 server into the new domain, this included Hyper-V VMs, DHCP and GPOs. There is the option [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[18,23,44],"tags":[],"class_list":["post-1525","post","type-post","status-publish","format-standard","hentry","category-windows-server-2003","category-windows-server-2008","category-windows-server-2012"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pOPt8-oB","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.edwardsd.co.uk\/work\/wp-json\/wp\/v2\/posts\/1525","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.edwardsd.co.uk\/work\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.edwardsd.co.uk\/work\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.edwardsd.co.uk\/work\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.edwardsd.co.uk\/work\/wp-json\/wp\/v2\/comments?post=1525"}],"version-history":[{"count":2,"href":"https:\/\/www.edwardsd.co.uk\/work\/wp-json\/wp\/v2\/posts\/1525\/revisions"}],"predecessor-version":[{"id":3111,"href":"https:\/\/www.edwardsd.co.uk\/work\/wp-json\/wp\/v2\/posts\/1525\/revisions\/3111"}],"wp:attachment":[{"href":"https:\/\/www.edwardsd.co.uk\/work\/wp-json\/wp\/v2\/media?parent=1525"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.edwardsd.co.uk\/work\/wp-json\/wp\/v2\/categories?post=1525"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.edwardsd.co.uk\/work\/wp-json\/wp\/v2\/tags?post=1525"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}