Question: how to install active directory domain services on windows server 2008 r2?
Answer: Select domain name and password. Select your domain name and know the domain administrator password that you want to use. ... 
Specify the preferred DNS server. ... 
Add the Active Directory Domain Services role. ... 
Enable remote management.