当前位置:网站首页>How to demote domain controllers and later in Windows Server 2012

How to demote domain controllers and later in Windows Server 2012

2020-11-06 01:32:00 itread01

# How to be in Windows Server 2012 And later versions demote domain controllers > If it doesn't degrade, recharge the system , There will be problems , Therefore, before recharging the DCs into the system, the system must be degraded first . ## Using server manager will Windows Server 2012 / 2012 R2 Domain controller demotion ### Operation steps #### Graphical operation (` It is not recommended that `) 1. Open server manager 2. Click Manage ️ Delete roles and features ![](https://image.98record.top/MWeb/2020/11/05_08_29_04_16045649417565.jpg) 3. If the system prompts you “ Select the target server ”, Please select the target DC. ![](https://image.98record.top/MWeb/2020/11/05_08_32_01_16045651195018.jpg) 1. stay “ Delete server role ” Place , Click next , And in “ Delete function ” Place , Click next . 2. Uncheck Active Directory Check box for domain services role . 3. The wizard provides related functions . Click the delete function button - The validation results dialog box appears , It shows a message , Express “The Active Directory domain controller needs to be demoted …”( Need to put Active Directory Domain controller demotion ...). Click Show “Demote this domain controller”( Demote this domain controller ) The link to . - Enter new credentials that have the right to demote the server , Or keep your existing credentials . - If DC The reason for the demotion is that you have lost contact with the domain , Then you need to force it to be deleted , And manually delete its project ( Meta data cleaning - Please refer to the link below ). Choice “ Force deletion of this domain controller ” Options . - If so DC It's the only remaining DC, Please make sure to check “ The last domain controller in the domain ” Check box ; Otherwise , Please clear the check box . Click “Next( next step )”. - On the warning screen, click next . - Set a new local administrator password . - Click demote . - The server will be degraded and automatically restarted .AD DS Binary files still exist on the server , But the server is no longer a domain controller . #### Command line operations > It's easier to operate than to visualize , This method is recommended . 1. Turn on Powershell Prompt 2. Input “uninstall-addsdomaincontroller” > To force the deletion of , Please send ` -forceremoval $true` Add to command line 3. Enter the new local administrator password when prompted , Then press Enter Key . 4. Confirm the password , Then press Enter Key . 5. Accept the default value , Then press Enter Key . 6. The server will be degraded and automatically restarted .AD DS Binary files will still exist on the server , But the server is degraded . ## Reference link [ Link one ](https://www.dell.com/support/article/zh-cn/sln289686/windows-server-%E5%A6%82%E4%BD%95%E5%9C%A8windows-server-2012%E5%8F%8A%E6%9B%B4%E9%AB%98%E7%89%88%E6%9C%AC%E4%B8%AD%E5%B0%86%E5%9F%9F%E6%8E%A7%E5%88%B6%E5%99%A8%E9%99%8D%E7%BA%A7?lang=zh) ![ Attention map ](https://img2020.cnblogs.com/blog/2151193/202009/2151193-20200922180828333-1129856

版权声明
本文为[itread01]所创,转载请带上原文链接,感谢