Question: how to install active directory on your pc?
Answer: From the Start menu, select Settings > Apps.
Click the hyperlink on the right side labeled Manage Optional Features and then click the button to Add feature.
Select RSAT: Active Directory Domain Services and Lightweight Directory Tools.
Click Install.