How To Remove Active Directory Server Manually:Clean Up Server Metadata

Remove Failed or Offline Domain Controllers from Active Directory Manually

In our Previous topic  we have discussed about How to Install Windows Server 2016 Technical Preview   and   The best new features in Windows Server 2016 Today will see about: Remove Failed/Offline Domain Controllers from Active Directory Manually

In Active Directory infrastructure, if you want to remove a Domain Controller (DC) server the proper way is to run DCPROMO and remove it.

But there are situations such as server crash or failure of dcpromo option which will lead to manually remove the DC from the system (event of even recovery, repair option doesn’t work).

How we can do it? The option is to clean up the server metadata.

  • Metadata cleanup is a required procedure after a forced removal of Active Directory Domain Services (AD DS).
  • You perform metadata cleanup on a domain controller in the domain of the domain controller that you forcibly removed.
  • Metadata cleanup removes data from AD DS that identifies a domain controller to the replication system.
  • Metadata cleanup also removes File Replication Service (FRS) and Distributed File System (DFS) Replication connections and attempts to transfer or seize any operations master (also known as flexible single master operations or FSMO) roles that the retired domain controller holds.

Read:

Let’s see how we can do it in steps.

Clean up Metadata using Active Directory Users and Computers

  1. Log in to DC server as Domain or Enterprise administrator
  2. Server Manager > Tools > Active Directory Users and Computers
  3. Expand the Domain > Domain Controllers

How To Remove Active Directory Server Manually

 

4. Right click on the DC server that needs to remove manually. And click delete

How To Remove Active Directory Server Manually

5. In next dialog box, click yes to confirm

 

How To Remove Active Directory Server Manually

 

6. In next dialog box, select This Domain Controller is permanently offline and can no longer be demoted using the Active Directory Domain Services Installation Wizard (DCPROMO) and click Delete

How To Remove Active Directory Server Manually

7. If the domain controller is global catalog server, in next window click yes to continue with deletion

8. If the domain controller currently holds one or more operations master roles, click OK to move the role or roles to the domain controller that is shown.

Note: You cannot change this domain controller. If you want to move the role to a different domain controller, you must move the role after you complete the server metadata cleanup procedure.

Clean up the DC server from the Active Directory Sites and Services

  1. Go to Server manager > Tools > Active Directory Sites and Services
  2. Expand the Sites and go to the server which need to remove
  3. Right click and click Delete

How To Remove Active Directory Server Manually

 

4.In next window click yes to confirm

 

Clean up metadata using ntdsutil

  1. Right Click on Start > Command Prompt (Run as administrator)
  2. Type ntdsutil and enter

How To Remove Active Directory Server Manually

3. Then metadata cleanup

How To Remove Active Directory Server Manually

4. Then type remove selected server <servername>, replace <servername> with DC server to remove.

How To Remove Active Directory Server Manually

5. In warning window click yes to proceed

You have removed metadata of broken/Failure Domain Controller from your domain!

Related Article:

 

Check Also

Complete GPUpdate Commands

Learn The Difference Between Gpupdate and Gpupdate [Force, Sync, Logoff, Boot, Target, Wait ]: Complete GPUpdate Commands

Group Policy plays a very important role in the Active Directory Infrastructure and as a …

One comment

  1. Pretty nice post. I just stumbled upon your weblog and wished to say that I have really loved surfing around your weblog posts. In any case I’ll be subscribing in your rss feed and I am hoping you write again soon!

Leave a Reply

Your email address will not be published. Required fields are marked *