Partilhar via


Netdom verify

 

Applies To: Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows 8

Verifies the secure connection between a workstation and a domain controller.

Netdom is a command-line tool that is built into Windows Server 2008 and Windows Server 2008 R2. It is available if you have the Active Directory Domain Services (AD DS) server role installed. It is also available if you install the Active Directory Domain Services Tools that are part of the Remote Server Administration Tools (RSAT). For more information, see How to Administer Microsoft Windows Client and Server Computers Locally and Remotely (https://go.microsoft.com/fwlink/?LinkID=177813).

To use netdom, you must run the netdom command from an elevated command prompt. To open an elevated command prompt, click Start, right-click Command Prompt, and then click Run as administrator.

For examples of how to use this command, see Examples.

Syntax

netdom verify <Computer> {/d: | /domain:}<Domain> [{/uo: | usero}<User> {/po: | /passwordo}{<Password>|*}] [{/help | /?}]

Parameters

Parameter

Description

<Computer>

Specifies the name of the computer whose secure connection you want to verify.

{/d: | /domain:}<Domain>

Specifies the domain with which to verify the secure connection. If you do not specify this parameter, then netdom verify uses the domain to which the current computer belongs.

{/uo: | usero}<User>

Specifies the domain with which to verify the secure connection. If you do not specify this parameter, then netdom verify uses the current user account.

{/po: | /passwordo}{<Password>|*}

Specifies the password of the user account that you specify in the /uo or /usero parameter. If you specify the value of this parameter as a wildcard character (*), this parameter prompts you for the password.

{/help | /?}

Displays help at the command prompt.

Examples

To verify that netdom maintains the secure channel secret between mywksta and devgroup.contoso.com, type the following command at the command prompt:

netdom verify /d:devgroup.contoso.com mywksta

Additional references

Command-Line Syntax Key

Netdom

Netdom add

Netdom computername

Netdom join

Netdom move

Netdom query

Netdom remove

Netdom movent4bdc

Netdom renamecomputer

Netdom reset

Netdom resetpwd

Netdom trust