Register now or log in to join your professional community.
Use the dcpromo /uninstallbinaries command.
dcpromo command used to remove the ADDS from DC
dcpromo /uninstallbinaries
in Windows server
In windows server
dcpromo command will remove Active Directory
dcpromo command is used to remove AD
DCPROMO
https://technet.microsoft.com/en-us/library/cc771844(v=ws.10).aspx