Scenarios for Removing AD DS
Updated: January 5, 2009
Applies To: Windows Server 2008, Windows Server 2008 R2
You can remove the Active Directory Domain Services (AD DS) server role by using the Active Directory Domain Services Installation Wizard or an answer file or by running Dcpromo.exe at a command line.
For more information about parameters that are available for removing AD DS, see Demotion Operation. For information about unattended AD DS removal return codes, see the Unattended Installation Return Codes.
These procedures for removing AD DS are applicable to domain controllers that run Windows 2000 Server, Windows Server 2003, Windows Server 2008, or Windows Server 2008 R2.
For procedures to remove a domain controller from an existing domain, see Removing a Domain Controller from a Domain.
For procedures to remove the last domain controller in a domain, see Removing the Last Domain Controller in a Domain.
For procedures to remove the last domain controller in a forest, see Removing the Last Domain Controller in a Forest.
As a last resort, if you do not have connectivity to other domain controllers, you might need to force the removal of AD DS from a domain controller. On domain controllers that run Windows Server 2008 or Windows Server 2008 R2, you can force the removal of AD DS while the server is started in Directory Services Restore Mode (DSRM). For procedures to force the removal of a domain controller, see Forcing the Removal of a Domain Controller.