Question: how to setup active directory?
Answer: Right-click on the Start button and click Settings > Apps, then click Manage optional features > Add feature. Select RSAT: Active Directory Domain Services and Lightweight Directory Tools. Select Install and wait for the installation to complete. Go to Start > Windows Administrative Tools to access the feature.