The domain controller is one of the essential parts of Windows Server 2022 since thanks to it we can have full control over the domain objects (users or computers) and also with the controller we get the maximum benefit from what Windows Server offers ..
If we have an already established domain controller and for some reason it is required to execute a task such as moving the server, changing the domain name, etc., the demotion of the domain controller is required , but when performing this action it will no longer be domain controller, it is still in the domain, but as part of a workgroup, and later if it is the case we can upload it back to domain controller.
Let's see how to demote a domain controller in Windows Server 2022..
To stay up to date, remember to subscribe to our YouTube channel! SUBSCRIBE
Downgrade a Windows Server 2022 domain controller
For this we open the Server Manager and go to "Manage - Remove roles and functions":
The following wizard will open:
Click Next and select the server:
Click Next to go to the Server Roles section, there we select "Active Directory Domain Services":
Click on the box and the following will be displayed:
We confirm the uninstallation of these by clicking on "Remove features", we will see the following message:
We click on the line "Decrease the level of this domain controller" and the following wizard will open:
We activate the box "Force the elimination of this domain controller", click Next to see this data:
There is indicated everything that the domain controller covers, we activate the "Continue with the elimination" box:
Click Next and now enter the password configured during the domain promotion process:
Click Next and we will see the final step:
Click on "Downgrade" to complete the driver downgrade process:
After this we will see the following message:
Click Close for the system to reboot:
When logging in we will see that the domain is no longer available, we log in and in the Server Manager we see that it is in a workgroup and not in a domain:
Thus we have completed the process of demoting a domain controller in Windows Server 2022.