Question: how to remove domain in windows server 2008 r2?
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.