Question: how to setup windows server 2012 r2 domain controller?
Answer: First of all login to your Windows Server 2012 and open the Server Manager. Click on "Add Roles and Features" in your Server Manger. Once the Add Roles and Features Wizard has started up, select Next on the “Before you begin” screen. Click Active Directory Domain Services.