資源驗證複寫運作Resources to verify replication is working

適用於: 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

還原或重新安裝所有網域控制站之後,您可以驗證,AD DS 和 SYSVOL 會復原及複製正確的方式使用repadmin /replsum,在 Windows Server 的任何版本上執行。After you have restored or re-installed all DCs, you can verify that AD DS and SYSVOL are recovered and replicating correctly by using repadmin /replsum, which runs on any version of Windows Server.

提示

您也可以下載並執行Active Directory 複寫狀態工具(ADReplStatus)、 免費監視複寫狀態的網域控制站與報告錯誤的工具。You can also download and run the Active Directory Replication Status Tool (ADReplStatus), a free tool that monitors replication status of DCs and reports errors. ADReplStatus 需要它已經不會安裝.NET Framework 4。ADReplStatus requires .NET Framework 4, which will be installed if it is not already present.

請在事件檢視器的事件編號 4602 (或檔案複寫服務 263 13516),這表示 SYSVOL 初始化 DFS 複寫登入。Check the DFS Replication log in Event Viewer for Event ID 4602 (or File Replication Service event ID 13516), which indicates SYSVOL has been initialized.

如果第一個復原俠登事件 ID 4614 (」 的網域控制站正在等待執行初始複寫。If the first recovered DC logs Event ID 4614 (“the domain controller is waiting to perform initial replication. 複寫的資料夾維持在初始同步狀態複寫其合作夥伴使用 「) 中 DFS 複寫登入,然後 263 4602 未顯示,就需要複製 DFSR 來復原 SYSVOL 手動下列步驟執行:The replicated folder will remain in the initial synchronization state until it has replicated with its partner”) in the DFS Replication log, then Event ID 4602 does not appear and you need to perform the following manual steps to recover SYSVOL if it is replicated by DFSR:

  1. 在第一次還原網域控制站 DFSR 事件 4612 出現執行手動授權還原中所述2218556: 如何強迫授權和未經授權的同步 DFSR 複寫的 SYSVOL (例如 「 D4 /d2 」 的 FRS) 的(http://support.microsoft.com/kb/2218556)。When DFSR Event 4612 appears on the first restored DC perform a manual authoritative restore as described in 2218556: How to force an authoritative and non-authoritative synchronization for DFSR-replicated SYSVOL (like "D4/D2" for FRS) (http://support.microsoft.com/kb/2218556).

  2. 設定SysvolReady 旗標1 手動中, 所述947022 NETLOGON 分享未顯示在您安裝新完整或唯讀為基礎 Windows Server 2008 的網域控制站的 Active Directory Domain Services 之後Set SysvolReady Flag to 1 manually, as described in 947022 The NETLOGON share is not present after you install Active Directory Domain Services on a new full or read-only Windows Server 2008-based domain controller.

    您也可以建立 DFS 複寫診斷報告。You can also create a diagnostic report DFS Replication. 如需詳細資訊,請查看診斷報告建立的 DFS 複製DFS Step-by-Step 指南 Windows Server 2008 的For more information, see Create a Diagnostic Report for DFS Replication and DFS Step-by-Step Guide for Windows Server 2008. 如果執行 Windows Server 2008 R2 的伺服器,您可以使用dfsrdiag.exe ReplicationState 命令列參數If the server is running Windows Server 2008 R2, you can use dfsrdiag.exe ReplicationState command line switch.

    您也可以執行複寫測試使用 dcdiag.exe 檢查複寫錯誤。You can also run the Replications test using dcdiag.exe to check for replication errors. 如需詳細資訊,請查看知識庫文章 249256For more information, see Knowledge Base article 249256.

後續步驟Next Steps