To remove Active Directory Domain Services (AD DS) from a domain controller, run the Active Directory Domain Services Installation ...

To remove Active Directory Domain Services (AD DS) from a domain controller, run the Active Directory Domain Services Installation Wizard. The wizard automatically detects that the server is already a domain controller and guides you through the steps to remove AD DS. If the wizard cannot successfully remove AD DS for some reason, you may have to force the removal of the domain controller.