Microsoft Windows Server recommends that you Validate Preseeded Files for DFS Replication during setup of Distributed File System (DFS) Replication. But when you validate file hashes on either your source or destination server you may get the following error:
Get-DfsrFileHash : Could not calculate the file hash. Error code 0x00000005
There isn't much information on error 0x00000005, however there is a simple fix I've found.