Windows Tools

NetDiag Syntax

Overview | Notes | Syntax | Examples | Related Tools Open Command Prompt

NetDiag uses the following syntax:

One Step netdiag [/q] [/v] [/l] [/debug] [/d: DomainName] [/fix] [/DcAccountEnum] [/test: testname] [/skip: testname]

Parameters

/q
Specifies quiet output (errors only).
/v
Specifies verbose output.
/l
Sends output to Netdiag.log. Log file is created in the same directory where netdiag.exe was run.
/debug
Specifies even more verbose output; may take a few minutes to complete.
/d: DomainName
Finds a domain controller in the specified domain.
/fix
Fixes minor problems.
/DcAccountEnum
Enumerates domain controller computer accounts.
/test: TestName
Execute only listed test or tests. TCP/IP must be bound to one or more adapters before running any of the tests. Non-skippable tests will still be run. Valid tests are:
/skip: TestName
Skip the named test. Valid tests are: