The removal of a domain controller only if the domain controller has no connectivity with other domain controllers. Because the domain controller cannot contact other domain controllers during the operation, the Active Directory domain and forest metadata is not updated automatically as it is when a domain controller is removed normally. Instead, you must manually update the metadata after you remove the domain controller. For information about performing metadata cleanup, see Clean Up Server Metadata.
dcpromo /unattend /uninstallbinaries /forceremoval /demotefsmo:yes
/username:<domain admin> /userdomain:<domain>
/password:<DA password> /administratorpassword:<local admin
Following methods that you can use to forcefully remove a domain controller:
- Forcing the removal of a domain controller by using the Windows interfaceTo use the Windows interface, you must start the Active Directory Domain Services Installation Wizard at the command line by running the dcpromo /forceremoval command.
- Forcing the removal of a domain controller by using the command line
- Forcing the removal of a domain controller by using an answer file
dcpromo /forceremoval /demotefsmo:yes /administratorpassword:Password1
Dcpromo command no more available after 2012 server versions.