We help IT Professionals succeed at work.
Get Started

How to join a windows 2008 server into a local AD domain

Last Modified: 2012-05-09
I need help with instructions on how to join a Windows 2008 server to my local AD domain.
In my home lab I have a Windows 2008 R2 server that is configured as an AD 2008 Domain Controller.
I have a second server (Windows 2008 SP2), which I need to join into my DEVLAB AD domain.
When I attempt to do that via Control Panel -> Change Name -> Member Of: DEVLAB I get the following error:  An attempt to resolve DNS name of a DC in the domain being joined has failed. Please, verify this client is configured to reach a DNS server that can resolve DNS names in the target domain.

I also have the following Lmhosts information:

Lmhosts:     DEVLAB-SRV1     #PRE #DOM:DEVLAB    "DEVLAB         \0x1b" #PRE            
#    popular            #PRE             #source server
#    localsrv           #PRE             #needed for the include
 #INCLUDE \\localsrv\public\lmhosts
# #INCLUDE \\rhino\public\lmhosts

nbtstat -c:

Local Area Connection:
Node IpAddress: [] Scope Id: []

                  NetBIOS Remote Cache Name Table

        Name              Type       Host Address    Life [sec]
    DEVLAB         <1C>  GROUP         -1
    DEVLAB         <1B>  UNIQUE        -1
    DEVLAB-SRV1    <03>  UNIQUE        -1
    DEVLAB-SRV1    <00>  UNIQUE        -1
    DEVLAB-SRV1    <20>  UNIQUE        -1

So, I was hoping that if I can not resolve the DC in DNS (my DC is a local machne -, that I could use the Lmhosts file. For some reason that option is not being used - as you can see in the error message, it still attempting to resolve the DC in DNS.
I would be OK with iether solution - DNS or Lmhosts.

Watch Question
Top Expert 2013
This problem has been solved!
Unlock 1 Answer and 5 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE