Solved

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

Posted on 2014-01-18
2
451 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 35

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

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…
by Nathan Brom/Bromy2004 Introduction There are numerous websites out there for any different type of program you can imagine.  Of those, you'll need to decide which ones are legitimate and aren't trying to steal your money or infect your comput…
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
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…

867 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now