AD 4012 错误 DFSR DFS Replication

wei he 20 Reputation points
2023-11-06T09:36:43.12+00:00

DFS 复制服务已停止在以下本地路径的文件夹上进行复制: D:\SCLMBH\SYSVOL\domain。 该服务器已经与其他伙伴断开连接 671 天, 这已超出了 MaxOfflineTimeInDays 参数(60)所允许的时间。 因此,DFS 复制将该文件夹中的数据看作已过时, 更正此错误之前,该服务器不会复制此文件夹。

若要恢复该文件夹的复制,请使用 DFS 管理管理单元 从复制组中删除此服务器,然后再将其添加到此组中。 这会导致服务器执行初始同步任务,该任务会将过时的数据 替换为复制组其他成员中的最新数据。

其他信息:

错误: 9061 (复制的文件夹脱机时间太长。)

名称:塞斯普份额

已复制的文件夹 ID: 207AF8A2-A15E-4328-AE4A-3BA1E9E7D1CC

复制制组构名称:域系统卷

复制组 ID: 412489F4-640D-4538-A1F9-09E7EC20A873

成员 ID: 2A27A5F8-441F-4209-A822-7AEAD922787F

Windows Server 2012
Windows Server 2012
A Microsoft server operating system that supports enterprise-level management, data storage, applications, and communications.
1,464 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Dave Patrick 417.1K Reputation points MVP
    2023-11-06T14:18:30.52+00:00

    You've asked in English language forums so responses here should be in English.

    The domain controller has tombstoned which means you'll need to seize roles (if necessary)

    https://learn.microsoft.com/en-us/troubleshoot/windows-server/identity/transfer-or-seize-operation-master-roles-in-ad-ds

    then do cleanup

    Clean up Active Directory Domain Controller server metadata

    Step-By-Step: Manually Removing A Domain Controller Server

    then rebuild the failed one from scratch.

    I'd use dcdiag / repadmin tools to verify health correcting all errors found before starting any operations. Then stand up the new one, patch it fully, license it, join existing domain, add active directory domain services, promote it also making it a GC (recommended), transfer FSMO roles over (optional), transfer pdc emulator role (optional), use dcdiag / repadmin tools to again verify health, when all is good you can decommission / demote old one.

    --please don't forget to upvote and Accept as answer if the reply is helpful--


  2. Daisy Zhou 15,446 Reputation points Microsoft Vendor
    2023-11-13T07:33:07.1233333+00:00

    Hello wei he,

    感谢您在Q&A论坛发帖。

    请问您现在的AD环境有几个域控?

    其中有几个域控出现了4012的报错信息?

    1.请检查域控的AD复制是否正常,请在PDC上运行下面的命令:
    repadmin /showrepl >C:\rep1.txt

    repadmin /replsum >C:\rep2.txt

    repadmin /showrepl * /csv >c:\repsum.csv

    2.请备份每个域控上的每个SYSVOL文件夹。

    3.请问您这个有问题的域控应该不是PDC吧?如果确实不是PDC,并且这个有问题的域控上的SYSVOL没有与其他的域控上的SYSVOL复制的话,整个AD环境中的域控AD复制没有任何问题的话,您可以在这个有问题的域控制器上执行非权威性的还原,步骤如下:
    User's image

    具体的步骤,您可以参考这个文档里的部分“How to perform a non-authoritative synchronization of DFSR-replicated sysvol replication (like D2 for FRS)”。

    https://learn.microsoft.com/en-us/troubleshoot/windows-server/group-policy/force-authoritative-non-authoritative-synchronization

    希望上述的回复对您有帮助。

    如有任何问题,欢迎您随时咨询我们。

    Best Regards,
    Daisy Zhou

    0 comments No comments