In previous article, we added a new domain in an existing forest using server manager. In this guide, I'll focus on adding a new domain using PowerShell.


  1. Static IP is configured
  2. Administrator account has strong password
  3. Firewall is turned off
  4. DNS server settings in TCP/IPv4 are correct and they are pointing to a domain controller

Add a New Domain in an Existing Forest in Windows Server 2016

Step 1. Open PowerShell with elevated privileges.

Step 2. Execute the following command.

Install-windowsfeature AD-domain-services

Install-AddsDomain  -domaintype treedomain -parentdomainname yourdomain -newdomainname -credential (Get-Credential) 

You will be prompted to provide a user name and password of an account which is member of enterprise admins group. You will also need to provide directory services restore mode (DSRM) password.

The server will be automatically rebooted after successful configuration.

How to Add a New Domain in an Existing Forest in Windows Server 2016 Using PowerShell

Karim Buzdar

About the Author: Karim Buzdar holds a degree in telecommunication engineering and holds several sysadmin certifications. As an IT engineer and technical author, he writes for various web sites. You can reach Karim on LinkedIn

Leave a Reply

Your email address will not be published. Required fields are marked *