Running Prerequisites check before installing a New Active Directory Domain

by [Published on 7 Sept. 2016 / Last Updated on 7 Sept. 2016]

Tip explains use Test-ADDSDomainInstallation PowerShell cmdlet.

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 nirmal_sharma@mvps.org.

 

See Also


The Author — Nirmal Sharma

Nirmal Sharma avatar

Nirmal Sharma is a MCSEx3, MCITP, and was awarded Microsoft MVP in Directory Services. In his spare time, he likes to help others and share some of his knowledge by writing tips and articles for various online communities. Nirmal can also be found contributing to PowerShell based Dynamic Packs for ADHealthProf.ITDynamicPacks.Net solutions.

Featured Links