dfsdiag testdcs
Checks the configuration of domain controllers by performing the following tests on each domain controller in the specified domain: Windows commands reference
On Windows
Windows
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.
dfsdiag /testdcs [/domain:<domain_name>]
To verify the configuration of domain controllers in the contoso.com domain, type
dfsdiag /testdcs /domain:contoso.comIdentify/domainName of the domain to check. Windows commands reference/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.