Question: how to demote windows server 2008 r2?
Answer: On a domain controller, click Start, and then click Run.
In Open (or Run), type dcpromo to open the Active Directory Installation Wizard, and then click Next.
On the Remove Active Directory page, click Next, and then continue to follow the wizard.