Question: how to demote a domain controller windows server 2016?
Answer: In the Remove Roles and Features wizard, click Server Selection on the left, and then click Server Roles below it.
In the list of roles on the right, deselect Active Directory Domain Services.