?
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
Medium Priority
?
508 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
Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

 
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 2000 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

Introducing Priority Question

Increase expert visibility of your issues by participating in Priority Question, our latest feature for Premium and Team Account holders. Adjust the priority of your question to get emergent issues in front of subject-matter experts for help when you need it most.

Question has a verified solution.

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

Citrix XenApp, Internet Explorer 11 set to Enterprise Mode and using central hosted sites.xml file.
The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
In this Micro Tutorial viewers will learn how to restore single file or folder from Bare Metal backup image of their system. Tutorial shows how to restore files and folders from system backup. Often it is not needed to restore entire system when onl…
Suggested Courses

741 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