dfsdiag testdcs

dfsdiag testdcs

Applies to: Windows Server 2022, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012

Checks the configuration of domain controllers by performing the following tests on each domain controller in the specified domain:

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

Additional References