How to install Active Directory on Windows 10

On your Desktop, Start >> Settings >> Apps >> Apps & Features >> Optional features >> Add feature

Look for RSAT: Active Directory Domain Services and Lightweight Directory Services Tool

If it tells you of any dependency, install that first. Here it shows I need to install RSAT: Server Manager first so let's do that

After installation you should have Active Directory apps installed on your machine

Hope this helps!