Dfsdiag TestDFSIntegrity


Applies To: Windows Server 2012, Windows 8

Checks the integrity of the Distributed File System (DFS) namespace by performing the following tests:

  • Checks for DFS metadata corruption or inconsistencies between domain controllers.

  • Validates the configuration of access-based enumeration to ensure that it is consistent between DFS metadata and the namespace server share.

  • Detects overlapping DFS folders (links), duplicate folders, and folders with overlapping folder targets.

For examples of how this command can be used, see <?Comment LV: Do we really need this link here? The topic is not very long. 2010-08-24T15:35:00Z Id='1?>Examples<?CommentEnd Id='1' ?>.

DFSDiag /TestDFSIntegrity /DFSRoot:<DFS root path> [/Recurse] [/Full]



/DFSRoot:<DFS root path>

The DFS namespace to diagnose.


Performs the testing including the namespace interlinks.


Verifies the consistency of share and NTFS ACLs and client side configuration on all folder targets. It also verifies that the Online property is set.

To TBD, type:

DFSDiag /TestDFSIntegrity /DFSRoot:\\Contoso.com\MyNamespace /Recurse /Full