Perform the following step to join a server to an AD domain using
Netdom
.
- Type:
netdom join %computername% /domain:vdom /reboot
- Click Enter to join the server to the vdom domain and Reboot.
Perform the following step to remove a server to an AD domain using Netdom
.
- Type:
netdom remove %computername% /domain:vdom /reboot
- Click Enter to remove the server from the vdom domain and Reboot.
Note: Replace the domain name vdom with the correct domain name when joining or removing the server from the domain.
Note: User credentials may be required when joining or removing the server from the domain. It is dependent upon the credentials used to log in to the server. Add the below to the
Netdom
command, to specify the use of the domain Administrator account.
/userD:Administrator /passwordD:*
Type the domain Administrator password when prompted. Example:
netdom join %computername% /domain:vdom /userD:Administrator /passwordD:* /reboot