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.
Syntax
dfsdiag /testdfsintegrity /DFSroot: <DFS root path> [/recurse] [/full]
Parameters
| Parameter | Description |
|---|---|
/DFSroot: <DFS root path> |
The DFS namespace to diagnose. |
| /recurse | Performs the testing, including any namespace interlinks. |
| /full | Verifies the consistency of the share and NTFS ACLs, along with the client side configuration on all folder targets. It also verifies that the online property is set. |
Examples
To verify the integrity and consistency of the Distributed File System (DFS) namespaces in contoso.com\MyNamespace, including any interlinks, type:
dfsdiag /testdfsintegrity /DFSRoot:\contoso.com\MyNamespace /recurse /full
Related links
Source: Microsoft Learn / Windows Server documentation by Microsoft and contributors (upstream author metadata: robinharwood). Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
