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
487 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
[X]
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
  • 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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

What to do when Windows Update is not working correctly? What tools can I use to detect the cause of the malfunction problem? What does this numeric error code mean? These and other questions that you have been asking in the past are answered here (…
Know what services you can and cannot, should and should not combine on your server.
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

726 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