Recently we encountered an Event ID 2213 error under the event log: Event Viewer –> Applications and Services Logs –> DFS Replication.
Head over the following link: https://support.microsoft.com/en-us/help/2846759/dfsr-event-id-2213-in-windows-server-2008-r2-or-windows-server-2012
Event ID 2213 The DFS Replication service stopped replication on volume C:. This occurs when a DFSR JET database is not shut down cleanly and Auto Recovery is disabled. To resolve this issue, back up the files in the affected replicated folders, and then use the ResumeReplication WMI method to resume replication. Recovery Steps 1. Back up the files in all replicated folders on the volume. Failure to do so may result in data loss due to unexpected conflict resolution during the recovery of the replicated folders. 2. To resume the replication for this volume, use the WMI method ResumeReplication of the DfsrVolumeConfig class. For example, from an elevated command prompt, type the following command: wmic /namespace:\\root\microsoftdfs path dfsrVolumeConfig where volumeGuid=”32A74A78-0B49-11E2-93EE-806E6F6E6963″ call ResumeReplication
After you run it, wait for Event ID 2212 & 2214 in the log.
- Default StopReplicationOnAutoRecovery value on Windows Server 2008 R2 and Server 2012 is “1“. On Windows Server 2012 R2 it’s “0“.