Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
484 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
 
LVL 1

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
NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

 
LVL 1

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
 
LVL 1

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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Resolve DNS query failed errors for Exchange
The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
In this Micro Tutorial viewers will learn how to use Boot Corrector from Paragon Rescue Kit Free to identify and fix the boot problems of Windows 7/8/2012R2 etc. As an example is used Windows 2012R2 which lost its active partition flag (often happen…
This tutorial will walk an individual through the process of configuring basic necessities in order to use the 2010 version of Data Protection Manager. These include storage, agents, and protection jobs. Launch Data Protection Manager from the deskt…

792 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