<img src="//bat.bing.com/action/0?ti=5794969&amp;Ver=2" height="0" width="0" style="display:none; visibility: hidden;">

Microsoft Windows Server Fix for Get-DfsrFileHash Error 0x00000005

[fa icon="long-arrow-left"] Back to all posts

[fa icon="pencil'] Posted by John Certeza [fa icon="calendar"] May 19, 2016

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

get-dfsrfilehash2.png

There isn't much information on error 0x00000005, however there is a simple fix I've found.

To resolve the error, you'll need to use the Get-DfsrFileHash cmdlet with the UNC or Shared path.

Example:

get-dfsrfilehash3.png

Problem solved!


Lewan is a Microsoft Silver Partner, and a Microsoft Certified Solutions Expert (MCSE) and Microsoft Certified Professional (MCP).

Topics: Microsoft, Microsoft Windows, PowerShell

John Certeza
Written by John Certeza

John is a Systems Engineer on the Managed Services team at Lewan Technology.

  • View & Submit Comments

[fa icon="envelope"] Subscribe to Email Updates



[fa icon="comments-o"] Follow us

Get even more great content, photos, event info and industry news.



[fa icon="calendar"] Recent Posts