DFS Replication not syncing all files?

No filters, exclusions or anything restrictive is setup yet DFSR wasn’t transferring certain files with various extenstions.  The catch was a hidden file attribute.  It’s an easy fix: just hop into Powershell and have it search through your files and replace the temporary flag.

Get-childitem D:\Data -recurse | ForEach-Object -process {if (($_.attributes -band 0x100) -eq 0x100) {$_.attributes = ($_.attributes -band 0xFEFF)}}

see: http://blogs.technet.com/b/askds/archive/2008/11/11/dfsr-does-not-replicate-temporary-files.aspx

Advertisements