• Active Directory 2003 to 2012 R2 Migration – Part 3 – Deploying, Prepping and Promoting 2012 R2 DC

    Posted on July 18, 2015 by in Latest News, Studying, Tutorials



    Well it’s been a while since I last had some free time to continue this set of blogs,  (Server 2003 has just as of this week gone end of life so now more than ever it’s time to get away from 2003 if you’re still running it!)

    This is the part where you can start to get hands on with Server 2012 R2. I’m not going to talk you through the build and installation process, I think you can manage that on your own. Instead once you’ve got your newly deployed 2012 R2 server, start by getting it joined to the domain.

    Once it’s on the domain, we can now look at prepping active directory so it will be ready when we promote this standalone server to a domain controller.

    *Note* We are using the adtasks account as mentioned in part 1 – introduction. NOT the builtin administrative account for this.

    *IMPORTANT* – Always ensure you have tried and tested backups of AD BEFORE proceeding! 

    Open up an administrative command prompt and browse to the 2012 R2 DVD.

    The directory we need is \support\adprep, so browse to that directory.

    Now run the command adprep /forestprep (this will go through and update the schema)

    30-01-2015 20-51-37-0169

    As mentioned in the introduction blog, I was going to take you through required permissions, as can be seen in the screen shot above you need to be a member of the EA and Schema admins group before continuing. Make sure the account you are using is a member of these and then log off/log on and re-run the command

    30-01-2015 20-52-07-0168

    30-01-2015 20-53-27-0166

    It will now run through updating the schema from 30 to 69

    30-01-2015 20-53-35-0165

    30-01-2015 20-53-51-0164

    30-01-2015 20-58-00-0163

    It shows as completing successfully, so lets switch back to the 2003 domain controller and verify the schema version is now updated

    30-01-2015 20-58-41-0162

    Now the forest has been updated, it’s time to run /domainprep

    30-01-2015 20-59-06-0161

    Finally, /gpprep

    30-01-2015 20-59-26-0160

    *Note* – From Server 2012 and later, adprep is an automated background task when you install ADDS. It is not required to be run manually.

    We are now in a good state ready to promote the windows 2012 R2 server as a domain controller, so lets run DCPROMO

    30-01-2015 21-00-04-0159

    As you can see from the informative alert, DCPROMO from the command line has been retired in server 2012, so lets navigate to server manager and select “add role and features”, and follow the first few screens before the roles selection window.

    30-01-2015 21-00-21-0158

    30-01-2015 21-00-30-0157

    30-01-2015 21-00-35-0156

    30-01-2015 21-00-40-0155

    Select “Active Directory Domain Services”

    30-01-2015 21-00-53-0153

    Select “Add Features” to the next box which pops up

    30-01-2015 21-00-48-0154

    Follow the wizard through until you reach the install window. Click install and let the installation complete

    30-01-2015 21-01-13-0150

    30-01-2015 21-01-30-0149

    Once complete, you will notice the following pop up in the server manager window. This next step takes us through promoting this server to a domain controller.

    30-01-2015 21-03-30-0148

    Select the relevant configuration options, along with the account with relevant permissions.

    30-01-2015 21-03-41-0147

    On the next window, ignore the error (relating to a read only domain controller) and select the required options (DNS / GC).

    30-01-2015 21-04-03-0146

    Enter the DSRM password and select next

    30-01-2015 21-04-16-0145

    On the DNS options page again ignore the DNS, we are not delegating DNS.

    30-01-2015 21-04-30-0144

    From the additional options window we can select any DC (if we have multiple DC’s or you can chose to pick one to replicate from.

    30-01-2015 21-04-44-0143

    Select Next, and then make any changes to location of the NTDS/SYSVOL folders IF required

    30-01-2015 21-04-54-0141

    Review the options and then select next

    30-01-2015 21-05-03-0140

    A pre-reqs check will now run, as long as it passes you will be able to continue with the installation

    30-01-2015 21-05-14-0139

    Once complete, restart the server, or let it reboot as part of its installation process

    30-01-2015 21-06-22-0138

    Once the server has rebooted, we should now have a deployed 2012 R2 domain controller in our environment.

    This brings to a close Part 3, we will pick the rest up in Part 4….

Protected by WP Anti Spam