How to clear old Tomstoned files from DFS for Resync

Navigate to the Drive you have your DFS replicated folder on in powershell

 CD D:\

md d:\emptyfolder

Robocopy.exe d:\emptyfolder “D:\System Volume Information\dfsr\Private” /purge

rd d:\emptyfolder

Remove-Item  -Path .\DFRS\ -Recurse -Force -Verbose

Check Replication status

Get-WmiObject -Namespace “root\Microsoft\Windows\DFSR” -Class msft_dfsrreplicatedfolderinfo -ComputerName SERVERNAME| ft replicatedfoldername,state -auto -wrap

GD Star Rating
loading...
GD Star Rating
loading...

Tags: How to clear old Tomstoned files from DFS for Resync

Trackback from your site.