Applies to: Windows Server 2019, 2022 and 2025.
This procedure promotes the first domain controller in a new forest and installs integrated DNS.
Active Directory changes affect authentication across the environment. Use tested backups, separate privileged accounts and a maintenance plan. See managed Windows VPS hosting for managed Windows VPS services.
Prerequisites
- Assign a static IP and approved hostname.
- Choose an internal DNS namespace controlled by the organization.
- Confirm console access and a tested backup.
- Use a secured dedicated server.
Procedure
Step 1: Install AD DS
Add role binaries and tools.
Install-WindowsFeature AD-Domain-Services -IncludeManagementToolsStep 2: Review deployment help
Inspect supported parameters.
Import-Module ADDSDeployment
Get-Help Install-ADDSForest -FullStep 3: Create the forest
Replace the example name and enter the DSRM password when prompted.
Install-ADDSForest -DomainName 'corp.example' -DomainNetbiosName 'CORP' -InstallDNSStep 4: Validate after restart
Confirm directory, DNS and shares.
Verification
Run directory and DNS diagnostics.
Get-ADDomain
Get-ADForest
Get-ADDomainController
Get-SmbShare -Name SYSVOL,NETLOGON
dcdiag /test:dnsRollback and recovery
Do not delete AD files manually. Remove a new forest only through an approved demotion or rebuild plan.
Operational notes
Functional levels must reflect every required domain controller version and interoperability requirement.
Official references
For a hosted environment with setup and onboarding, explore our managed Windows VPS plans.
How to Add an Additional Domain Controller to an Existing Domain
How to Add an Additional Domain Controller to an Existing DomainApplies to: Windows Server 2019, 2022 and 2025.A second controller improves…
How to Create Organizational Units and Protect Them from Accidental Deletion
How to Create Organizational Units and Protect Them from Accidental DeletionApplies to: Windows Server 2019, 2022 and 2025.OUs should…
How to Create Active Directory Users Securely with PowerShell
How to Create Active Directory Users Securely with PowerShellApplies to: Windows Server 2019, 2022 and 2025.Scripted provisioning improves…
How to Design Active Directory Security Groups with AGDLP
How to Design Active Directory Security Groups with AGDLPApplies to: Windows Server 2019, 2022 and 2025.AGDLP separates people from…
How to Enable Active Directory Recycle Bin
How to Enable Active Directory Recycle BinApplies to: Windows Server 2019, 2022 and 2025.Recycle Bin preserves deleted-object attributes…