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.

Type

netdom join %computername% /domain:vdom /reboot


Then press Enter to join the server to the vdom domain and reboot.

HOW10118_en_US__1core netdom join

Perform the following step to remove a server to an AD domain using Netdom.

Type

netdom remove %computername% /domain:vdom /reboot


Then press Enter to remove the server from the vdom domain and reboot.

HOW10118_en_US__2core  netdom remove

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 on 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

 

 

Affected Products

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