Checks the configuration of domain controllers by performing the following tests on each domain controller in the specified domain:
-
Verifies that the Distributed File System (DFS) Namespace service is running and that its startup type is set to Automatic.
-
Checks for the support of site-costed referrals for NETLOGON and SYSvol.
-
Verifies the consistency of the site association by hostname and IP address.
Syntax
dfsdiag /testdcs [/domain:<domain_name>]
Parameters
| Parameter | Description |
|---|---|
/domain:<domain_name> |
Name of the domain to check. This parameter is optional. The default value is the local domain to which the local host is joined. |
Examples
To verify the configuration of domain controllers in the contoso.com domain, type:
dfsdiag /testdcs /domain:contoso.com
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.
