Solved

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

Posted on 2014-01-18
2
455 Views
Last Modified: 2014-01-21
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?
0
Comment
Question by:jfholloway
2 Comments
 
LVL 37

Accepted Solution

by:
Mahesh earned 250 total points
ID: 39790964
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

http://technet.microsoft.com/en-us/library/cc788049.aspx

Mahesh
0
 
LVL 11

Assisted Solution

by:Manjunath Sullad
Manjunath Sullad earned 250 total points
ID: 39791803
NETDOM /Domain:MYDOMAIN /user:adminuser /password:apassword MEMBER
      MYCOMPUTER /JOINDOMAIN


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.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Hallo! I guess almost every Windows Administrator must have got stumped with this question "Where does WINDOWS store a users cached credentials? Every user who had once logged onto a Server/Desktop while it was connected to the domain could sti…
Log files are useful in diagnosing and repairing problems.  This is a list of common log files and their standard locations that I've compiled.   While this is not exhaustive, it is a pretty good list that I've found to be useful.  I may update it f…
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

735 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question