AD 林恢复-清除已删除的可写域控制器的元数据AD Forest Recovery - Cleaning metadata of removed writable domain controllers

适用于: Windows Server 2016、Windows Server 2012 和 2012 R2、Windows Server 2008 和 2008 R2Applies To: Windows Server 2016, Windows Server 2012 and 2012 R2, Windows Server 2008 and 2008 R2

元数据清除会删除将 DC 标识到复制系统的 Active Directory 数据。Metadata cleanup removes Active Directory data that identifies a DC to the replication system.

使用以下过程删除你计划通过重新安装 AD DS 来重新添加到网络的 dc 的 DC 对象。Use the following procedure to delete the DC objects for DCs that you plan to add back to the network by reinstalling AD DS.

如果你使用的是 Active Directory 用户和计算机的版本,或者远程服务器管理工具 (RSAT) 中包含的 Active Directory 站点和服务,则在删除 DC 对象时将自动执行元数据清除。If you are using the version of Active Directory Users and Computers or Active Directory Sites and Services that is included Remote Server Administration Tools (RSAT), metadata cleanup is performed automatically when you delete a DC object.

使用 Active Directory 用户和计算机删除域控制器Deleting a domain controller using Active Directory Users and Computers

在远程服务器管理工具 (RSAT) 中使用 Active Directory 用户和计算机或 Active Directory 管理中心的版本时,在删除 DC 对象时将自动执行元数据清除。When you use the version of Active Directory Users and Computers or Active Directory Administrative Center in Remote Server Administration Tools (RSAT), metadata cleanup is performed automatically when you delete the DC object. 服务器对象和计算机对象也会自动删除。The server object and the computer object are also deleted automatically.

作为替代方法,还可以使用 RSAT 中 Active Directory 站点和服务删除 DC 对象。As an alternative, you can also use Active Directory Sites and Services in RSAT to delete a DC object. 如果使用 Active Directory 站点和服务,则必须先删除关联的 "服务器对象" 和 "NTDS 设置" 对象,然后才能删除 DC 对象。If you use Active Directory Sites and Services, you must delete the associated server object and NTDS Settings object before you can delete the DC object.

有关安装 RSAT 的信息,请参阅文章 远程服务器管理工具For information about installing RSAT, see the article Remote Server Administration Tools.

对于运行 Windows Server 2016、2012、2008 R2 或2008的 Dc,以下过程是相同的。The following procedure is the same for DCs that run either Windows Server 2016, 2012, 2008 R2, or 2008. 元数据清理操作的目标 DC 可以运行任何版本的 Windows Server。The target DC of the metadata cleanup operation can run any version of Windows Server.

使用 RSAT 中的用户和计算机 Active Directory 删除域控制器对象To delete a domain controller object using Active Directory Users and Computers in RSAT

  1. 依次单击 “开始”“管理工具”“Active Directory 用户和计算机”Click Start , click Administrative Tools , and then click Active Directory Users and Computers .
  2. 在控制台树中,双击域容器,然后双击 域控制器 组织单位 (OU) 。In the console tree, double-click the domain container, and then double-click the Domain Controllers organizational unit (OU).
  3. 在详细信息窗格中,右键单击要删除的 DC,然后单击 " 删除 "。In the details pane, right-click the DC that you want to delete, and then click Delete . 删除Delete
  4. 单击“是” 以确认删除。Click Yes to confirm the deletion. 选择 " 此域控制器永久脱机,不能再使用 Active Directory 域服务安装向导 (DCPROMO) 降级 " 复选框,然后单击 " 删除 "。Select the This Domain Controller is permanently offline and can no longer be demoted using the Active Directory Domain Services Installation Wizard (DCPROMO) check box and click Delete .
  5. 如果 DC 是全局编录服务器,请单击 "是" 确认删除。If the DC was a global catalog server, click Yes confirm that the deletion.

后续步骤Next Steps