Purpose:Join a computer to a domain or workgroup

 

Format:JOINDOMAIN [/W] computer\domain[\organization] user [password]

 

computerThe DNS or NETBIOS name of the computer.

 

domainThe name of the domain or workgroup to join.

 

organization(Optional) The RFC 1779 format name of the organizational unit (OU) for the account. If you specify this parameter, it must contain a full path. (For example, OU=testOU,DC=domain,DC=Domain,DC=com.)

 

userThe account name to use when connecting to the domain controller. The name must be either a domain NetBIOS name and user account (for example, jpsoft\rconn) or the user principal name (UPN) of the user in the form of a login name (for example, "[email protected]").

 

password The password to use when connecting to the domain controller. If the password is not entered (or is *), TCC will prompt for the password.

 

/W(orkgroup)

 

Usage:

 

 

 

Option:

 

/WJoin a workgroup instead of a domain