Question: how to demote domain controller windows 2012 r2?
Answer: The Remove Roles and Features dialog box Remove features that require Active Directory Domain Service pops up, select Remove Features. On the Remove Roles and Features Wizard dialog box Validation Results box will appear. The domain controller must be demoted before continuing. Click on Demote this domain controller.