Solved

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

Posted on 2014-01-18
2
452 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 36

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

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

My purpose is to describe the basic concepts of virtual memory as implemented in a modern Windows-based operating system. I will also describe the problems inherent in older systems and how virtual memory solves them. The dark ages - before virtu…
When you upgrade from Windows 8 to 8.1 or to Windows 10 or if you are like me you are on the Insider Program you may find yourself with many 450MB recovery partitions.  With a traditional disk that may not be a problem but with relatively smaller SS…
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…
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…

770 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