Commands
| Command | Description |
|---|---|
| Netdom add | Adds a workstation or server account to the domain. |
| Netdom computername | Manages the primary and alternate names for a computer. This command can safely rename Active Directory domain controllers as well as member servers. |
| Netdom join | 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. |
| Netdom move | 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. |
| Netdom query | Queries the domain for information such as membership and trust. |
| Netdom remove | Removes a workstation or server from the domain. |
| Netdom movent4bdc | 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. |
| Netdom renamecomputer | 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. |
| Netdom reset | Resets the secure connection between a workstation and a domain controller. |
| Netdom resetpwd | Resets the computer account password for a domain controller. |
| Netdom trust | Establishes, verifies, or resets a trust relationship between domains. |
| Netdom verify | Verifies the secure connection between a workstation and a domain controller. |