Install New AD Server & Move Active Directory Operations Master Role

Prerequisites List (Active Directory Server):

  • Install Server 2012 R2 Operating System.
  • Join server to the domain.
  • Install AD Services Roles
  • Promote the Server to a Domain Controller.

 Installing the Roles:

Open up Server Manager on your New 2012 R2 Server.

dc1

  • Once the server has initialized all its roles then click on Manage as shown above and then click on “Add Roles and Features”

DC2

  • Read through the information (if you knew to this), to continue click Next.

DC3

  • Select “Role-Based or feature-based installation” and click Next.

DC4

  • In my case I had multiple DC’s, I selected one, after that click Next.

DC5

  • Click on Active Directory Domain Services

DC6

  • Click “Add Features” and then click Next.

DC7

  • Review the summary and then click the Install Button.

DC8

  • Installation Starting.

DC9

  • Installation completed.
  • Click on “Promote this server to a domain controller”, you can either use the hyper-link above or click on the yellow exclamation in Server Manager next to the refresh button.

DC10

  • I chose option 1 “Add a domain controller to an existing domain”, then click on the select button to select your domain. After this click on change and enter the details of a Domain Admin. Once done click the Next button.

DC11

  • Select if this is a DNS server. Type in the DRSM password and store this password. Click the Next button.

DC12

  • Verify the information and click Next.
  • Review the options and then click Next.

DC13

  • The prerequisite check will run, you can view the warnings and click the Install Button.

DC14

  • Progress screen. This will replicate all information.

dc15

  • The above screen will appear when the installation is complete and your server will automatically restart after a min.
  • After the restart you will have a new domain controller in your environment.

Moving all Roles to the new DC:

To find which servers hosts what roles you can open up and elevated prompt and run the following:

  • netdom query FSMO

It will return the following information:

  • Schema Master                   DC Name
  • Domain Naming Master       DC Name
  • PDC                                    DC Name
  • RID Pool Manager               DC Name
  • Infrastructure Master           DC Name

After this we can run one command to move the roles to a new Domain Controller. Open up an elevated PowerShell Window and run the following:

  • Move-ADDirectoryServerOperationMasterRole -identity “DC Name” -OperationMasterRole 0,1,2,3,4

After that you can go back to your elevated prompt and query FSMO and it should show the name of the DC you moved the roles to.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s