But, there's a better way!
Executing a 4-line powershell script will help you accomplish same goal.
You can change $sampledomain variable as in the following code snippet:
- $sampledomain = "iersoy.com"
- $AdminPass = ConvertTo-SecureString "P@$$w0rd1" -asPlainText -force
- Add-Windowsfeature AD-Domain-Services -IncludeManagementTools
- Install-ADDSForest -DomainName $sampledomain -SafeModeAdministratorPassword $AdminPass -Confirm:$false
Once you restart and Windows login screen appears, you shall see forest name starting with "IERSOY/{youradminusername}" .

Join the conversation! Your thoughts help the community grow.