How to demote a Domain Controller (DC) in Windows Server 2012 Active Directory Domain Services (AD DS)

In this blog we will explore how to demote a domain controller in Windows Server 2012 Active Directory Domain Services (AD DS). 

In previous versions of Windows Server to demote a domain controller you would use the DCPROMO.exe utility.  In Windows Sever 2012 the DCPROMO utility has been deprecated.

In Windows Server 2012 we will use Server Manager or PowerShell to demote the DC.  In this blog I will be using the GUI to demote the server manager. So let’s get started.

To demote a DC from AD DS complete the following steps:

Use Server Manager to remove the Active Directory Domain Services Role.

Launch Server Manager, select the Manage drop down menu, select Remove roles and features.

  1. Review the Before You Begin page, Click Next. 
  2. On the Select installation type page ensure Role-based or feature-based installation radial button is selected, click Next.
  3. On the Select destination server page Select the desired server from the Server Pool.

        Note:  The 2012 Server Manager allows roles and features to be installed remotely.

  1. On the Remove Roles and Features Wizard, click on the Active Directory Domain Services box to remove the check box.

 

  1. The Remove Roles and Features dialog box Remove features that require Active Directory Domain Service pops up, select Remove Features.
  2. On the Remove Roles and Features Wizard dialog box Validation Results box will appearThe domain controller must be demoted before continuing.  Click on Demote this domain controller.

  1. On the Active Directory Domain Services Configuration Wizard enter the required credentials to demote this server, click Next.

Note:  To demote replica domain controller you must be at the least a Domain Admin to remove an entire domain from the forest or to demote the last DC of a Forest you must provide Enterprise Admin credentials.

Note:  Only select Force the removal of this domain controller if the DC and not communicate with the remaining DCs.

 

  1. On the New Administrator Password, enter and confirm the new local administrator account password, click Next.

  1. On the Review Options verify the information is correct and click Demote. 

This will begin the demotion process.  To finish the demotion the server will automatically restart.

Note:  When the server restarts it will be a member of the domain that is was previously a domain controller in.

Note:  The Binaries for AD DS are still installed on the server.  If this server is not going to be promoted back to a domain controller in the future rerun the Remove Roles and Features Wizard to remove the AD DS Role from the server.

Verifying the Removal of AD DS

  1. Logon to the server hosting the DNS service for the domain using the Administrator account credentials.
  2. Launch the DNS console and verify the deletion of Service Records for the removed domain controller.

Active Directory Domain Services is now been removed from this server.  

Until then, RIDE SAFE!

Rick Trader
Windows Server Instructor – Interface Technical Training
Phoenix, AZ

Posted in Windows Server 2012 | Posted in , , , , , , , , , | 4 Comments

Your Feedback: (4 Responses)

  • saqib Rehman says:

    thanx Mr. rick informition is very good and work properly.

  • ThommyMac says:

    Great article. Sadly:
    “Second, if the domain controller can not communicate with other domain controllers or the normal demotion wizard fails and you have to run the demotion wizard in -force mode, you will have to manually perform a Metadata cleanup.”

    The DC in question can see the other DCs through network browsing AND they show up in the ‘pool’ for the all servers function. Its a long story but I have to get this box off the network. I still enjoyed the article but was wondering why the box in question sees the objects in question but still insists I force it. I will force, then cleanup, and will post how it went. Thanks

  • If the domain controller is demoted using the demotion wizard there is no need to perform a Metadata cleanup manually. The domain controller is removed from the Metadata as part of the demotion.

    There are a couple of situations that may require you to manually perform a Metadata cleanup.

    First, if the domain controller fails and you were unable to run the demotion wizard (example you had to rebuild the computer operating system from scratch and had no backup).

    Second, if the domain controller can not communicate with other domain controllers or the normal demotion wizard fails and you have to run the demotion wizard in -force mode, you will have to manually perform a Metadata cleanup.

    In most instances, using your desired tool, deleting the domain controller object in AD DS will remove the domain controller from the Metadata and a manual Metadata cleanup will not be required. This is supported in Windows Server 2008, Windows Server 2008 R2 and Windows Server 2012. Before performing a manual Metadata cleanup try deleting the object first. You can then use NTDSUTIL.EXE to verify the domain controller no longer exists in the database.

  • Lucas Garcia says:

    Thanks Rick!
    I was looking for an Article of this topic. Is there any need to perfmon a metadata cleanup after these steps?
    Thanks

  • Leave a Reply

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

    You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">