text stringlengths 0 4.23k |
|---|
Examples |
To verify the configuration of Distributed File System (DFS) namespaces in contoso.com\MyNamespace, type: |
dfsdiag /testdfsconfig /DFSroot:\\contoso.com\MyNamespace |
dfsdiag testdfsintegrity |
Applies to: Windows Server 2022, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012 |
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. |
<DFS root path> |
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 |
dfsdiag testreferral |
Applies to: Windows Server 2022, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012 |
Checks Distributed File System (DFS) referrals by performing the following tests: |
If you use the DFSpath* parameter without arguments, the command validates that the referral list includes all trusted domains. |
If you specify a domain, the command performs a health check of domain controllers (dfsdiag /testdcs) and tests the site associations and domain cache of the local host. |
dfsdiag /testdcs |
If you specify a domain and \SYSvol or \NETLOGON, the command performs the same domain controller health checks, along with checking that the time To Live (TTL) of SYSvol or NETLOGON referrals matches the default value of 900 seconds. |
If you specify a namespace root, the command performs the same domain controller health checks, along with performing a DFS configuration check (dfsdiag /testdfsconfig) and a namespace integrity check (dfsdiag /testdfsintegrity). |
dfsdiag /testdfsconfig |
dfsdiag /testdfsintegrity |
If you specify a DFS folder (link), the command performs the same namespace root health checks, along with validating the site configuration for folder targets (dfsdiag /testsites) and validating the site association of the local host. |
Syntax |
dfsdiag /testreferral /DFSpath:<DFS path to get referrals> [/full] |
Parameters |
Parameter |
Description |
/DFSpath:<path to get referrals> |
Can be one of the following:Blank: Tests only trusted domains.\\Domain: Tests only domain controller referrals.\\Domain\SYSvol: Tests only SYSvol referrals.\\Domain\NETLOGON: Tests only NETLOGON referrals.\\<domain or server>\<namespace root>: Tests only namespace root referrals.\\<domain or server>\<namespace root>\<DFS folder>: Tests only the DFS folder (link) referrals. |
/full |
Applies only to Domain and Root referrals. Verifies the consistency of site association information between the registry and active directory Domain Services (AD DS). |
<path to get referrals> |
\\Domain: |
\\Domain\SYSvol: |
\\Domain\NETLOGON: |
\\<domain or server>\<namespace root>: |
\\<domain or server>\<namespace root>\<DFS folder>: |
Examples |
To check the Distributed File System (DFS) referrals in contoso.com\MyNamespace, type: |
dfsdiag /testreferral /DFSpath:\\contoso.com\MyNamespace |
To check the Distributed File System (DFS) referrals in all trusted domains, type: |
dfsdiag /testreferral /DFSpath: |
dfsdiag testsites |
Applies to: Windows Server 2022, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012 |
Checks the configuration of active directory Domain Services (AD DS) sites by verifying that servers that act as namespace servers or folder (link) targets have the same site associations on all domain controllers. |
Syntax |
dfsdiag /testsites </machine:<server name>| /DFSpath:<namespace root or DFS folder> [/recurse]> [/full] |
Parameters |
Parameter |
Description |
/machine:<server name> |
The name of the server on which to verify the site association. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.