Question: how to setup domain controller on windows server 2008 r2?
Answer: On your Windows 2008 R2 server click Start – Run and type dcpromo .
The Active Directory Domain Services binaries are installed and then the installation wizard will start.
Click Use advanced mode installation (as we'll have more options than basic mode) and click Next.