Applies to: Windows Server 2019, 2022 and 2025.
A domain controller must be removed through supported demotion after roles, DNS dependencies, replication and client use are addressed.
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
- Confirm another healthy writable controller and DNS server.
- Transfer FSMO roles where required.
- Check replication and backups.
- Remove the address from client DNS configuration.
Procedure
Step 1: Review roles
Do not demote a required FSMO owner.
netdom query fsmo
Get-ADDomainController -Identity $env:COMPUTERNAMEStep 2: Validate health
Resolve failures first.
repadmin /replsummary
dcdiag /vStep 3: Review DNS dependencies
Check zones, delegations, forwarders and client references.
Step 4: Demote
Use the supported deployment cmdlet.
Uninstall-ADDSDomainControllerStep 5: Restart and inspect cleanup
Verify metadata, DNS and Sites and Services from another controller.
Verification
The former controller should be absent and forest health should remain good.
Get-ADDomainController -Filter *
repadmin /replsummary
dcdiag /eRollback and recovery
Correct reported issues and retry demotion. Forced removal and metadata cleanup are last-resort procedures.
Operational notes
Powering off and deleting a healthy controller is not a valid demotion.
Official references
For a hosted environment with setup and onboarding, explore our managed Windows VPS plans.
How to Create a New Active Directory Forest with PowerShell
How to Create a New Active Directory Forest with PowerShellApplies to: Windows Server 2019, 2022 and 2025.This procedure promotes the first…
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…