• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 471
  • Last Modified:

using netdom to connect a computer account to a windows 2008r2 server

I have a windows 2008r2 whose computer account was deleted from the domain what netdom command can I use to connect the new computer account in AD to the server that the account needs to be registered too?
2 Solutions
Netdom is a command-line tool that is built into Windows Server 2008 and Windows Server 2008 R2. It is available if you have the Active Directory Domain Services (AD DS) server role installed. It is also available if you install the Active Directory Domain Services Tools that are part of the Remote Server Administration Tools (RSAT) on member server.

To use netdom, you must run the netdom command from an elevated command prompt. To open an elevated command prompt, click Start, right-click Command Prompt, and then click Run as administrator

netdom join <Computer> /domain:<Domain.com> /ud:<Domain>\Domainuser> /pd:<password>
Remove brackets

Replace computer name with your server name
Replace domain with your domain and user
Also we have not entered OU path, hence server account will be created in default computer container
After this command run successfully you must restart the server


Manjunath SulladTechnical ConsultantCommented:
NETDOM /Domain:MYDOMAIN /user:adminuser /password:apassword MEMBER

Replace My Domain with your domain name and My Computer with host name of server.

You can also try rejoining the server to domain normally, It will create Object automatically.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now