Question: how to setup a domain controller 2012 r2?
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.