{"id":754,"date":"2013-05-12T10:40:41","date_gmt":"2013-05-12T17:40:41","guid":{"rendered":"https:\/\/www.netometer.com\/blog\/?p=754"},"modified":"2025-10-21T17:46:11","modified_gmt":"2025-10-22T00:46:11","slug":"screencast-how-to-upgrade-active-directory-domain-to-windows-server-2012","status":"publish","type":"post","link":"https:\/\/www.netometer.com\/blog\/?p=754","title":{"rendered":"Screencast: How to Upgrade Active Directory Domain to Windows Server 2012"},"content":{"rendered":"<h5>To ADPREP or not to ADPREP, and do we need the GPPREP switch<\/h5>\n<p>In our <a title=\"Screencast: Upgrading to Active Directory 2012\" href=\"https:\/\/www.netometer.com\/video\/tutorials\/How-to-Upgrade-Active-Directory-2008-to-2012\" target=\"_blank\" rel=\"noopener\"><strong>step-by-step Screencast<\/strong><\/a>, we demonstrate how to upgrade an existing Active Directory domain to windows server 2012, by adding an additional Windows 2012 Domain controller. As you will see, forest and domain preparation is performed automatically when you run the new Active Directory Domain Services configuration wizard.<\/p>\n<p>So far so good. Veterans, with experience in Active Directory upgrades, remember the ADPREP tool which had to be run on legacy Domain Controllers. Microsoft provided two versions of the tool &#8211; ADPREP.EXE (x64 version) and ADPREP32.exe (x86 version). Finding and running the correct version definitely complicated the whole upgrade process.<\/p>\n<p><a href=\"https:\/\/www.netometer.com\/video\/tutorials\/How-to-Upgrade-Active-Directory-2008-to-2012\" target=\"_blank\" rel=\"noopener\"><img fetchpriority=\"high\" decoding=\"async\" title=\"Screencast: Adding a Second Server 2012  Domain Controller\" alt=\"ADPREP \/GPPREP when upgrading to Server 2012\" src=\"https:\/\/www.netometer.com\/blog-pics\/ADPREP-2012-FORESTPREP-DOMAINPREP-GPPREP.png\" width=\"600\" height=\"449\" \/><\/a><\/p>\n<p>You can still prepare manually an existing Active Directory domain, by running ADPREP and that approach makes sense in a large deployments, with specific requirements and security procedures, related to AD Schema Extensions. In this case, you need to keep in mind that:<\/p>\n<ul>\n<ul>\n<li>ADprep comes only as a 64 bit version in Server 2012 and is located under the &#8220;Support&#8221; folder on the installation disk.<\/li>\n<\/ul>\n<\/ul>\n<p><a class=\"thumbnail\" title=\"\" href=\"https:\/\/www.netometer.com\/blog-pics\/Server-2012-ADPREP.png\" data-rel=\"penci-gallery-image-content\"  target=\"_blank\" rel=\"noopener\">Fig.1<img decoding=\"async\" alt=\"\" src=\"https:\/\/www.netometer.com\/blog-pics\/Server-2012-ADPREP-thumb.png\" width=\"33\" height=\"25\" \/> <span><img decoding=\"async\" alt=\"\" src=\"https:\/\/www.netometer.com\/blog-pics\/Server-2012-ADPREP.png\" \/><br \/>\nFig.1 ADPrep &#8211; available only as x64 version in Server 2012<\/span> <\/a><\/p>\n<ul>\n<ul>\n<li>If you try to run ADPREP on a legacy Windows Server 2003\/2003 R2, you will get the error message &#8220;adprep.exe is not a valid Win32 application&#8221;, even if the server is running x64 OS.<\/li>\n<\/ul>\n<\/ul>\n<p><a class=\"thumbnail\" title=\"\" href=\"https:\/\/www.netometer.com\/blog-pics\/ADPREP-is-not-a-valid-Win32-application-server-2012.png\" data-rel=\"penci-gallery-image-content\"  target=\"_blank\" rel=\"noopener\">Fig.2<img decoding=\"async\" alt=\"\" src=\"https:\/\/www.netometer.com\/blog-pics\/ADPREP-is-not-a-valid-Win32-application-server-2012-thumb.png\" width=\"33\" height=\"25\" \/> <span><img decoding=\"async\" alt=\"\" src=\"https:\/\/www.netometer.com\/blog-pics\/ADPREP-is-not-a-valid-Win32-application-server-2012.png\" \/><br \/>\nFig.2 Error Message &#8220;adprep.exe is not a valid Win32 application&#8221;, when running ADPREP on Server 2003\/2003 R2<\/span> <\/a><\/p>\n<ul>\n<ul>\n<li>You can run ADPREP remotely from a Windows Server 2012 or Windows 8 (x64 version). The tool connects automatically to the corresponding DC &#8211; Schema Master for forestprep, and Infrastructure Master for domainprep. In our demo we perform this operation from our new Server 2012 Domain Controller<\/li>\n<\/ul>\n<\/ul>\n<p><a class=\"thumbnail\" title=\"\" href=\"https:\/\/www.netometer.com\/blog-pics\/ADPREP-DOMAINPREP-GPPREP-Server-2012.png\" data-rel=\"penci-gallery-image-content\"  target=\"_blank\" rel=\"noopener\">Fig.3<img loading=\"lazy\" decoding=\"async\" alt=\"\" src=\"https:\/\/www.netometer.com\/blog-pics\/ADPREP-DOMAINPREP-GPPREP-Server-2012-thumb.png\" width=\"33\" height=\"25\" \/> <span><img decoding=\"async\" alt=\"\" src=\"https:\/\/www.netometer.com\/blog-pics\/ADPREP-DOMAINPREP-GPPREP-Server-2012.png\" \/><br \/>\nFig.3 Running ADPREP remotely from Server 2012 <\/span> <\/a><\/p>\n<p>And here comes the question &#8211; <strong>Do we need Group Policy Preparation?<\/strong><\/p>\n<p>This is performed with the GPPREP switch, where the whole command is &#8220;adprep.exe \/domainprep \/gprep&#8221;. It is important to note, that when you are using the GUI &#8211; Active Directory Domain Services Configuration Wizard:<\/p>\n<ul>\n<li>Group Policy preparation (GPPREP) is not performed automatically<\/li>\n<li>You will not get a warning, if you need GPPREP<\/li>\n<\/ul>\n<p>So, <strong>when do we need Group Policy preparation and how do we check if it has been performed?<\/strong><\/p>\n<p>The short answer is: You don&#8217;t need Group Policy preparation, if you&#8217;ve never had Windows Server 2000 Domain Controllers in the Domain. Moreover, GPPREP needs to be run only once. If you&#8217;ve run GPPREP, when upgrading to Windows Server 2003 or 2008, you don;t need to repeat the process.<\/p>\n<p>The last question is: <strong>How do we know, that GPPREP has been performed on the domain?<\/strong><\/p>\n<p>The rule of thumb here is: If you are not sure, just run the command again.<br \/>\n<a class=\"thumbnail\" title=\"\" href=\"https:\/\/www.netometer.com\/blog-pics\/No-Group-Policy-Updates-Needed.png\" data-rel=\"penci-gallery-image-content\"  target=\"_blank\" rel=\"noopener\">Fig.4<img loading=\"lazy\" decoding=\"async\" alt=\"\" src=\"https:\/\/www.netometer.com\/blog-pics\/No-Group-Policy-Updates-Needed-thumb.png\" width=\"33\" height=\"25\" \/> <span><img decoding=\"async\" alt=\"\" src=\"https:\/\/www.netometer.com\/blog-pics\/No-Group-Policy-Updates-Needed.png\" \/><br \/>\nFig.4 How to check whether GPPREP is required<\/span> <\/a><br \/>\n<a class=\"twitter-hashtag-button\" title=\"Server 2012 Domain Controller\" href=\"https:\/\/twitter.com\/intent\/tweet?button_hashtag=Server2012\">Tweet #Server2012<\/a> <a class=\"twitter-follow-button\" href=\"https:\/\/twitter.com\/netometer\" data-show-count=\"false\">Follow @netometer<\/a><br \/>\n<script type=\"text\/javascript\">\/\/ <![CDATA[\n!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=\"\/\/platform.twitter.com\/widgets.js\";fjs.parentNode.insertBefore(js,fjs);}}(document,\"script\",\"twitter-wjs\");\n\/\/ ]]><\/script><\/p>\n<p>&nbsp;<\/p>\n<p>Stay tuned on <strong><a title=\"NetoMeter - Screencasts and Step-by-Step Video Tutorials\" href=\"https:\/\/www.netometer.com\/blog\/?feed=rss2\" target=\"_blank\" rel=\"noopener\">NetoMeter<\/a><\/strong> &#8211; subscribe to<a title=\"NetoMeter - Screencasts and Step-by-Step Video Tutorials\" href=\"https:\/\/www.netometer.com\/blog\/?feed=rss2\" target=\"_blank\" rel=\"noopener\"> <strong>NetoMeter RSS<\/strong><\/a>.<\/p>\n<p>Dean<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In our step-by-step Screencast, we demonstrate how to upgrade an existing Active Directory domain to windows server 2012, by adding an additional Windows 2012 Domain controller&#8230;So, when do we need Group Policy preparation and how do we check if it has been performed?<\/p>\n","protected":false},"author":1,"featured_media":755,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_sitemap_exclude":false,"_sitemap_priority":"","_sitemap_frequency":"","footnotes":""},"categories":[326],"tags":[344,345,346],"_links":{"self":[{"href":"https:\/\/www.netometer.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/754"}],"collection":[{"href":"https:\/\/www.netometer.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.netometer.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.netometer.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.netometer.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=754"}],"version-history":[{"count":0,"href":"https:\/\/www.netometer.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/754\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.netometer.com\/blog\/index.php?rest_route=\/wp\/v2\/media\/755"}],"wp:attachment":[{"href":"https:\/\/www.netometer.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=754"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.netometer.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=754"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.netometer.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=754"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}