How To Use Netdom.exe: Joining and removing a server from an Active Directory.
Instructions:
Open Command prompt as administrator.
Perform the following step to join a server to an AD domain using Netdom.
Type netdom join %computername% /domain:vdom /reboot and press 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 and press 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 logon to the server. Add /userD:Administrator /passwordD:* to the Netdom command to specify the use of the domain Administrator account. Type the domain Administrator password when prompted.
Note: Example: netdom join %computername% /domain:vdom /userD:Administrator /passwordD:* /reboot
Comments are closed