Open PowerShell and execute the below command Install-WindowsFeature -name AD-Domain-Services To install Active Directory Forest install-ADDSForest -domainname “abc.com” It will prompt you to enter the restore mode password and will do