Question: how to uninstall domain controller in windows server 2012?
Answer: The Manage menu on the main dashboard, using Remove Roles and Features.
Click AD DS or All Servers on the navigation pane. Scroll down to the Roles and Features section. Right-click Active Directory Domain Services in the Roles and Features list and click Remove Role or Feature.