AD 林恢复-删除全局编录AD Forest Recovery - Removing the global catalog

适用于: 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 中删除全局编录。Use the following procedure to remove the global catalog from a DC.

从备份中还原全局编录服务器可能导致全局编录包含其部分副本(而不是该部分副本的权威域)的更新数据。Restoring a global catalog server from backup could result in the global catalog holding newer data for one of its partial replicas than the corresponding domain that is authoritative for that partial replica. 在这种情况下,将不会从全局编录中删除较新的数据,甚至可以将其复制到其他全局编录服务器。In such a case, the newer data will not be removed from the global catalog and might even replicate to other global catalog servers. 因此,即使你确实还原了作为全局编录服务器的 DC,不管是由你信任的孤立备份,还是在还原操作完成后,你都应该立即删除全局编录服务器。As a result, even if you did restore a DC that was a global catalog server, either inadvertently or because that was the solitary backup you trusted, you should remove the global catalog soon after the restore operation is complete. 删除全局编录后,计算机会删除其所有部分副本。When the global catalog is removed, the computer removes all its partial replicas.

使用 Active Directory 站点和服务删除全局编录To remove the global catalog using Active Directory Sites and Services

  1. 打开服务器管理器,单击 " 工具 ",然后单击 " Active Directory 站点和服务 "。Open Server Manager, click Tools and click Active Directory Sites and Services .
  2. 在控制台树中,展开 " 站点 " 容器,然后选择包含目标服务器的相应站点。In the console tree, expand the Sites container, and then select the appropriate site that contains the target server.
  3. 展开 " 服务器 " 容器,然后展开要从中删除全局编录的 DC 的 服务器 对象。Expand the Servers container, and then expand the server object for the DC from which you want to remove the global catalog.
  4. 右键单击 " NTDS 设置 ",然后单击 " 属性 "。Right-click NTDS Settings , and then click Properties .
  5. 清除 " 全局编录 " 复选框。Clear the Global Catalog check box. 删除 GCRemove GC
  6. 单击“ 应用 ”。Click Apply .

使用 Repadmin 删除全局编录To remove the global catalog using Repadmin

打开提升的命令提示符,键入以下命令,然后按 ENTER:Open an elevated command prompt, type the following command, and press ENTER:

repadmin.exe /options DC_NAME –IS_GC

后续步骤Next Steps