Question: how to install active directory windows server 2012?
Answer: Open the Server Manager from the task bar.
From the Server Manager dashboard, select Add roles and features. ... 
On the Installation Type screen, select Role-based or features-based and click Next. ... 
By default, the current server is selected.