If you are installing a new domain or first domain controller in a domain, it is recommended to perform a check to ensure new Active Directory Domain can be installed successfully. To run a prerequisite check, use Test-ADDSDomainInstallation PowerShell cmdlet as shown in the command below:
- Test-ADDSDomainInstallation –Credential (Get-Credential Domain.com\AdminUser) –NewdomainName Child –ParentDomainName Techgenix.com –InstallDNS –CreaateDNSDelegation –DomainMode Win2012 –ReplicationSourceDC TestDC.TechGenix.Com –SiteName Seattle –DatabasePath “E:\NTDS” –SYSVOLPATH “E:\SYSVOL” –LogPath “F:\Logs” –NoRebootOnCompletion
When you run above command you will be prompted for “AdminUser” and DSRM password. The command will check if the Active Directory Domain can be implemented successfully by providing you the results.
About Nirmal Sharma
Nirmal Sharma is a MCSEx3, MCITP and Microsoft MVP in Directory Services. He specializes in directory services, Microsoft Azure, Failover clusters, Hyper-V, and System Center products and has been involved with Microsoft Technologies since 1994. In his spare time, he likes to help others and share some of his knowledge by writing tips and articles on various sites and contributing to Health Packs for ADHealthProf.ITDynamicPacks.Net solutions. Nirmal can be reached at [email protected].