Forum Discussion
Bonno_Bloksma
May 22, 2023Copper Contributor
Why can I only demote a Domain controller by forcing an error
In the past when demoting a DC one would first start DCPromo and if you did not but tried to remove the role you would get a warning you needed to demote it first. Now DCPromo is gone in favour of a ...
- May 22, 2023Hello,
The wizard is just a GUI hiding a set of Powershell cmdlets. Try Uninstall-ADDSDomainController by example.
Dave Patrick
May 22, 2023MVP
You can remove the active directory domain services role from Server manager or also via PowerShell
Demoting Domain Controllers and Domains (Level 200) | Microsoft Learn
if the domain controller cannot be removed by these methods, then you can power off the failed one, then remove the remnants of failed one from active directory.
Clean up AD DS server metadata | Microsoft Learn
Step-By-Step: Manually Removing A Domain Controller Server (microsoft.com)
- Bonno_BloksmaMay 30, 2023Copper ContributorThanks, this gives even more info than I asked. But the Uninstall-ADDSDomaqinController was wat I needed. Uninstalling / demoting a DC is straightforward, installing/promoting a DC takes a bit more effort when not all parameters are the default. But, as I learned, I can get a copy of the powershell command just after finishing all the questions in the wizzard. 🙂
- Dave PatrickMay 30, 2023MVP
Glad to hear it helps. Please don't forget to mark my reply as best response.