Question: how to remove windows 2008 r2 domain controller?
Answer: Run "dcpromo" in your Windows Active Directory environment.
This opens up the Active Directory Installation Wizard. ... 
Delete the domain - If this is the last Domain controller in your domain, then this domain will be deleted.