Solved

How to reinstall a Server 2012 Primary Domain Controller? I got a secondary server 2012 domain controller also.

Posted on 2014-01-24
6
473 Views
Last Modified: 2014-02-12
Hi EE,

I got 2 domain controllers, primary and secondary. Both running in windows server 2012.
Please provide me steps to do before i perform reinstallation.

Thank you
Shamil
0
Comment
Question by:Shamil Mohamed
  • 3
  • 3
6 Comments
 
LVL 23

Expert Comment

by:Mysidia
ID: 39808097
Follow these steps to demote the domain controller to a member server  before reinstallation:
  http://technet.microsoft.com/en-us/library/jj574104.aspx#BKMK_Demote

HOWEVER,  before you demote... there is one thing to check:

In general; If the domain controller to be reinstalled holds any of the domain's  five FSMO roles, you should gracefully transfer the roles to   the second DC,  before demoting the first DC.

Connect to the  server to be taking over as administrator,  do  Cmd+X  OR   Start > Run > Cmd
Right click CMD, choose to run As Administrator.

At the command prompt, enter these commands:

dsquery   server  /hasfsmo   pdc
dsquery   server  /hasfsmo   rid
dsquery   server  /hasfsmo   infr
dsquery   server  /hasfsmo   name
dsquery   server  /hasfsmo   schema

The command will tell you WHICH server currently has the role.


IF   DC2 has all of these roles, then there is nothing furtheryou need to do.


IF the domain controller you will be reinstalling has one or more of the roles,  then we need to start the proper console program,  AND  transfer the role.


If you need to transfer the SCHEMA role:

First type:   regsvr32 schmmgmt.dll

At the command prompt,  to register the SCHEMA management tools.

Next type MMC,  press Enter

File > Add/Remove Snapins
select "Active Directory Schema"
Click Add
Click OK/Close


Under the console root, right click  on   "Active Directory Schema [DCXXXX.example.local]"

Chose "Change Active Directory Domain Controller"

Choose "This domain controller or AD LDS Instance"
Select the backup domain controller that the role is to be moved to,  from the list, click OK.

Click OK to the warning.

Right click  "Active Directory Schema [DC2.example.local]"  again
Choose "OPERATIONS MASTER"

Click the CHANGE button,  to  transfer Schema  master role to DC2.

TO Transfer RID, PDC Emulator, or Infrastructure Masters;   Open Active Directory Users and Computers.
       The procedure is the same as with the SCHEMA master.

    Right click "Users and Computers",   choose 'Change Domain Controller', select DC2.
    Right click again,  Operations Manager,   select the proper tab, and click the CHANGE button.


TO TRANSFER  "NAME"  master
  Open  the "Active Directory Domains and Trusts" console.
  From within this console,  the procedure is the same as with the Schema master.
0
 

Author Comment

by:Shamil Mohamed
ID: 39808115
Thanks Bro. now all the FSMO roles are moved to secondary DC. Can i proceed with removal process of Primary domain controller.??
0
 
LVL 23

Expert Comment

by:Mysidia
ID: 39809390
At that point, you should be ready to  demote the domain controller to a member server  and
migrate off any other special applications or services you have running on that server,  DHCP, file shares etc.

Something important to check, will be the list of DNS server IP addresses in use on your clients.

Either complete the reinstallation in a timely manner,   adjust clients' DNS server list temporarily,  or

Network access may be impaired or slow, for client machines, until the reinstallation of the domain controller is done, if the primary domain controller's IP address is still listed as  the first DNS server used by client machines and member servers.
0
Want to promote your upcoming event?

Attending an event? Speaking at a conference? Or exhibiting at a tradeshow? Easily inform your contacts by using a promotional banner in your email signature. This will ensure your organization’s most important contacts are in the know.

 

Author Comment

by:Shamil Mohamed
ID: 39811405
Mistake again happened:

Rebooting after removing certificate services server restarted back into Core.

Anyway please get me a PS command to reinstall GUI..

Thank you.

Shamil
0
 
LVL 23

Accepted Solution

by:
Mysidia earned 500 total points
ID: 39813942
Import-Module ServerManager
Install-WindowsFeature Server-GUI-Mgmt-Infra,Server-GUI-Shell
0
 

Author Comment

by:Shamil Mohamed
ID: 39855288
Even After successfully moving all FSMO roles to newly installed server still clients are failed to logon, with an error (cannot find login servers).

Why ? Any idea
0

Featured Post

Too many email signature updates to deal with?

Do you feel like you are taking up all of your time constantly visiting users’ desks to make changes to email signatures? Wish you could manage all signatures from one central location, easily design them and deploy them quickly to users? Well, there is an easy way!

Join & Write a Comment

My GPO's made for 2008 R2 servers were not allowing me to RDP into a new 2012 server by default.  That’s why I tried to allow RDP via Powershell, because I could log into a remote shell without further configuration. Below I will describe how I wen…
You might have come across a situation when you have Exchange 2013 server in two different sites (Production and DR). After adding the Database copy in ECP console it displays Database copy status unknown for the DR exchange server. Issue is strange…
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now