Microsoft KB Archive/329721

= Description of Netdom.exe Syntax and Versions =

Article ID: 329721

Article Last Modified on 2/26/2007

-

APPLIES TO


 * Microsoft Windows NT Server 4.0 Standard Edition
 * Microsoft Windows 2000 Professional Edition
 * Microsoft Windows NT Workstation 4.0 Developer Edition

-



This article was previously published under Q329721



SUMMARY
You can use the Netdom.exe tool to reset the secure channel between a workstation, server, or domain controller. This article describes the syntax for variations that you can use with Netdom.exe.



MORE INFORMATION
When you use Netdom.exe, the operating system of the computer on which you are running the command determines the Netdom.exe version and syntax. The domain you are joining does not affect the Netdom.exe version and syntax.
 * To run Netdom.exe from a Windows NT 4.0-based computer, use Netdom.exe version 1.8 and the Windows NT 4.0 syntax.
 * To run Netdom.exe from a Microsoft Windows 2000-based computer, use Netdom.exe 2.0 and the Windows 2000 syntax.

Windows NT 4 (Netdom.exe 1.8)
Use the following syntax to join an Windows NT 4.0 member to Windows NT 4.0 or Windows 2000 domain:

netdom /domain: /user:  /password:  /member   /joindomain

NOTE: You do not have to restart your computer when you join from the command line. Log off and log back on to make the change.

For additional information about how to join a Windows NT 4.0 member to a Windows NT 4.0 or Windows 2000 domain, click the following article number to view the article in the Microsoft Knowledge Base:

150493 How To Join a Domain From the Command Line

Use the following syntax to reset a Windows NT 4.0 member to a Windows NT 4.0 or Windows 2000 domain:

netdom member \\ /joindomain

For additional information about how to reset a Windows NT 4.0 member to a Windows NT 4.0 or Windows 2000 domain, click the following article number to view the article in the Microsoft Knowledge Base:

175024 Resetting Domain Member Secure Channel

Use the following syntax to reset a Windows NT 4.0 backup domain controller (BDC) secure channel to a Windows NT 4.0 or Windows 2000 domain:

netdom bdc  /reset

For additional information a related topic, click the following article number to view the article in the Microsoft Knowledge Base:

150518 NetLogon Service Fails When Secure Channel Not Functioning

Windows 2000 (Netdom 2.0)
 Use the following syntax to reset a Windows 2000 member computer from a Windows NT 4.0 or Windows 2000 domain:

netdom reset  /domain:

For additional information about how to reset a Windows 2000 member computer from a Windows NT 4.0 or Windows 2000 domain, click the following article number to view the article in the Microsoft Knowledge Base:

216393 Resetting Computer Accounts in Windows 2000 and Windows XP

 Use the following syntax to reset a Windows 2000 member from a Windows 2000 domain controller:

netdom reset  /domain:  /usero:  /passwordo:*

For additional information about how to reset a Windows 2000 member from a Windows 2000 domain controller, click the following article number to view the article in the Microsoft Knowledge Base:

216393 Resetting Computer Accounts in Windows 2000 and Windows XP

 To reset a domain controller in a Windows 2000 domain:  Stop the Kerberos Key Distribution Center (KDC) service, and then set it to Manual startup. Run the netdom resetpwd /server: /userd: \  /passwordd:* command. Restart the computer, start the KDC, and then set it back to Automatic startup.</ol>

For additional information about how to reset a domain controller in a Windows 2000 domain, click the following article number to view the article in the Microsoft Knowledge Base:

260575 HOW TO: Use Netdom.exe to Reset Machine Account Passwords of a Windows 2000 Domain Controller

</li> Use the following syntax to join a Windows 2000 member to a Windows NT 4.0 or Windows 2000 domain:

netdom join  /domain:  /userd:  /passwordd:* /usero:  /passwordo:*

NOTE: You do not have to restart your computer when you join from the command line. Log off and log back on to make the change.

For additional information about how to join a Windows 2000 member to a Windows NT 4.0 or Windows 2000 domain, click the following article number to view the article in the Microsoft Knowledge Base:

266651 Using Netdom 2.0 to Create Computer Accounts on Admin-Specified Domain Controllers

</li> Use the following syntax to join a BDC to a Windows 2000 domain: <ol style="list-style-type: lower-alpha;">  netdom add  /domain:  /userd:  /passwordd:* /dc </li> Install the operating system as a BDC in the Windows 2000 domain.</li></ol> </li></ul>

In some cases you may have a large number of computers you want to run Netdom.exe against.

Keywords: kbinfo KB329721

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.