The ConflictAndDeleted folder size may exceed its configured limitation in Windows Server

Applies to: Windows Server 2016Windows Server 2012 R2Windows Server 2012 More

Symptoms


In Windows Server, the size of the ConflictAndDeleted folder may exceed its configured limitation. By default, the limitation of the ConflictAndDeleted folder is 660 megabytes (MB). When this problem occurs, the ConflictAndDeleted folder may exhaust available disk space on the volume on which the folder resides. Additionally, the Distributed File System (DFS) Replication service cannot replicate any files.

Cause


This problem occurs because the ConflictAndDeletedManifest.xml file is corrupted. This file stores information about the current contents of the ConflictAndDeleted folder. The DFS Replication service writes to the ConflictAndDeletedManifest.xml file when files are added or removed from the ConflictAndDeleted folder.

Resolution


To resolve this problem, use WMIC commands to delete the contents of the ConflictAndDeleted folder and the ConflictAndDeletedManifest.xml file.

Run the WMIC commands in a Command Prompt window (cmd.exe).

To clean up the ConflictAndDeleted folder content of a replicated folder, run the following command:

wmic /namespace:\\root\microsoftdfs path dfsrreplicatedfolderinfo where "replicatedfoldername='<ReplicatedFolderName>'" call cleanupconflictdirectory

To clean up the ConflictAndDeleted folder content of all of the replicated folders in a replication group, enter the following command:

wmic /namespace:\\root\microsoftdfs path dfsrreplicatedfolderinfo where "replicationgroupname='<ReplicationGroupName>'" call cleanupconflictdirectory

Depending on the size of the ConflictAndDeleted folder, this process may take a few minutes. The process empties the ConflictAndDeleted folder and reduces or deletes the ConflictAndDeletedManifest.xml file.

Status


Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.