Adds a workstation or server account to the domain.
Manages the primary and alternate names for a computer. This command can safely rename Active Directory domain controllers as well as member servers.
Joins a workstation or member server to a domain. The act of joining a computer to a domain creates an account for the computer on the domain, if it does not already exist.
Moves a workstation or member server to a new domain. The act of moving a computer to a new domain creates an account for the computer on the domain, if it does not already exist.
Queries the domain for information such as membership and trust.
Removes a workstation or server from the domain.
Renames a Windows NT 4.0 backup domain controller to reflect a domain name change. This can assist in Windows NT 4.0 domain renaming efforts.
Renames a domain computer and its corresponding domain account. Use this command to rename domain workstations and member servers only. To rename domain controllers, use the netdom computername command.
Resets the secure connection between a workstation and a domain controller.
Resets the computer account password for a domain controller.
Establishes, verifies, or resets a trust relationship between domains.
Verifies the secure connection between a workstation and a domain controller.
A trust relationship is a defined affiliation between domains that enables pass-through authentication.
A one-way trust relationship between two domains means that one domain (the trusting domain) allows users who have accounts on theother domain (the trusted domain), access to its resources.
The one-way trust relationship described here is helpful in master domain models, but it is not the only kind of trust relationship. When two one-way trusts are established between domains, it is known as a two-way trust. In two-way trusts, each domain treats the users from the trusted (and trusting) domain as its own users.
By default, only the result of an operation is reported. For example, if you use the Join operation, you see output similar to the following:
success: mywksta joined to mycompany domain
If you specify the /verbose parameter, the output lists the success or failure of each transaction that is necessary to perform the operation. For example, this time when you use the Join operation, you see output similar to the following:
success: adding machine account for mywksta to mycompany domain success: configuring lsa on mywksta success: mywksta joined to mycompany domain
The /reboot parameter specifies that the computer being acted upon by the specified netdom operation is shut down and automatically rebooted after the completion of the operation. When you specify the /reboot parameter, the following message and a countdown timer display on the workstation screen, prior to the Restart operation:
The system is shutting down. Please save all work in progress and logoff. Any unsaved changes will be lost. This shutdown was initiated because the domain which this machine belongs to was changed by nnn.
For nnn, netdom substitutes the name of the administrator that you enter by using the /uo parameter.
The default delay before the computer restarts is 20 seconds.