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