Home Insights Microsoft
Microsoft

Manually Clearing the ConflictAndDeleted Folder in DFSR for Windows 2012 R2

Adam Dodds
Adam Dodds
15 August 2016 · 1 min read
Manually Clearing the ConflictAndDeleted Folder in DFSR for Windows 2012 R2

There is a great post on Technet on Manually Clearing the ConflictAndDeleted Folder in DFSR, however it was written back in 2008 and it seems things changed slightly, so I thought I better write a quick blog post in case anyone runs in to the same issues I did.

Please refer to the above article first, I had issues running the CleanupConflictDirectory method.

Eg.

WMIC.EXE /namespace:\\root\microsoftdfs path dfsrreplicatedfolderinfo where “replicatedfolderguid=’70bebd41-d5ae-4524-b7df-4eadb89e511e’” call cleanupconflictdirectory

ERROR:
Description = Invalid query

Look Familiar?

I found simply by switching the quotation marks around so that the single quote (‘) surrounds the ‘replicatedfolderguid=xxx’ value and the double quotes surround just the GUID (“) did the trick.

For example:

WMIC.EXE /namespace:\\root\microsoftdfs path dfsrreplicatedfolderinfo where ‘replicatedfolderguid=”insert-GUID-here“‘ call cleanupconflictdirectory

See after the GUID there is a double quote followed by a single quote “‘

This should work! (If not, are you using an elevated Command Prompt?)

Crazy, eh?

For more information on how to clear the ConflictAndDeleted folder please refer to the blog post here: Manually Clearing the ConflictAndDeleted Folder in DFSR

Adam Dodds
Adam Dodds

Adam leads the Itopia team in Brisbane, helping professional-services firms get secure, productive and confident with their technology, in plain English.

Keep reading

Related insights

Microsoft
6 min read

Teams Phone vs PBX: which suits your business?

Read more →
Microsoft
9 min read

Microsoft 365 Copilot for small business: is it worth it in 2026?

Read more →
Microsoft
6 min read

Windows 10 is end of life: your real options

Read more →

Want IT advice tailored to your business?

Talk to a local Brisbane technician, no jargon, no obligation.

Get a Quote Call 07 3063 2211