Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Create and access a list of your products

PowerEdge: How to Join or remove a server from an Active Directory domain using netdom.exe

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

This article applies to   This article does not apply to 

Instructions

Perform the following step to join a server to an AD domain using Netdom.
  1. Type:
netdom join %computername% /domain:vdom /reboot
  1. Click Enter to join the server to the vdom domain and Reboot.
Press Enter to join the server to the vdom domain

Perform the following step to remove a server to an AD domain using Netdom.
  1. Type:
netdom remove %computername% /domain:vdom /reboot
  1. Click Enter to remove the server from the vdom domain and Reboot.
Press Enter to remove the server from the vdom domain

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

Affected Products

Microsoft Windows 2008 Server R2, Microsoft Windows 2008 Server Service Pack 2, Microsoft Windows 2012 Server, Microsoft Windows 2012 Server R2