Knowledge Base

Joining and removing a server from an Active Directory domain using Netdom.exe

This article addresses joining and removing a server from an Active Directory (AD) domain using Netdom on a server running Windows Server Core.

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.

Replace the domain name vdom with the correct domain name when joining or removing the server from the domain.

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.

Quick Tips content is self-published by the Dell Support Professionals who resolve issues daily. In order to achieve a speedy publication, Quick Tips may represent only partial solutions or work-arounds that are still in development or pending further proof of successfully resolving an issue. As such Quick Tips have not been reviewed, validated or approved by Dell and should be used with appropriate caution. Dell shall not be liable for any loss, including but not limited to loss of data, loss of profit or loss of revenue, which customers may incur by following any procedure or advice set out in the Quick Tips.