Provides diagnostic information for DFS Namespaces.
Syntax
dfsdiag /testdcs [/domain:<domain name>]
dfsdiag /testsites </machine:<server name>| /DFSPath:<namespace root or DFS folder> [/recurse]> [/full]
dfsdiag /testdfsconfig /DFSRoot:<namespace>
dfsdiag /testdfsintegrity /DFSRoot:<DFS root path> [/recurse] [/full]
dfsdiag /testreferral /DFSpath:<DFS path to get referrals> [/full]
Parameters
| Parameter | Description |
|---|---|
| dfsdiag testdcs | Checks domain controller configuration. |
| dfsdiag testsites | Checks site associations. |
| dfsdiag testdfsconfig | Checks DFS Namespace configuration. |
| dfsdiag testdfsintegrity | Checks DFS Namespace integrity. |
| dfsdiag testreferral | Checks referral responses. |
| /? | Displays help at the command prompt. |
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.
