{ 45 Intelligent Comments }

Cannot Join Domain – Windows 7 or 2008 Server

DNS Issue Causes Problem Joining A Domain in Windows 2007 and Windows 2008 Server

Cannot Join Domain Error in Windows 7 or Windows 2008

The following error occurred attempting to join the domain “your-domain-name”

An attempt to resolve the DNS name of a domain controller 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.  For information about network troubleshooting, see Windows Help.


This error is being caused because the primary domain controller is not specified as the first DNS server in your TCP/IP settings on the system that you’re trying to join to the domain.

Even if your domain controller is not your DNS server, temporarily set the IP address of the domain controller as your first DNS server, join the domain and then change your DNS Server settings back to the way they were before.

Full instructions below.

Windows 7 or 2008 Server Instructions

  1. Click Start
  2. In the Search Programs and files field type View Network Connections and hit Enter
  3. When your Network Connections appear, right click on your active connection > click Properties
  4. Double-click Internet Protocol Version (TCP/IPv4)
  5. Update the Preferred DNS Server field with the IP address of your primary domain controller > Click OK > OK again
  6. Now try to join your domain again.
  7. Optionally, after successfully joining your domain you can change your DNS servers back.


Wow, 45 Comments! We've got a conversation going now. Join the discussion below!

  1. Kim says:

    This is exactly what I was looking for! It solved my problem immediately! Thank you.

  2. rt says:

    I was trying to solve this problem 4-5 hrs…and then I found this solution and worked right away…


  3. ARULKUMAR says:

    I was trying to solve this problem last 2 day and then I found this solution solved and worked successfully

    Thank you very much

  4. PKS says:

    I have been looking for a solution for the same error. I tried what was given here,(the 7 steps), but it is still not working. Tried using the domain controller ip, unticked ipv6 as well. Does not add to the domain, and this error comes everytime. Any idea on what else can solve this issue.

    1. N.M.Inshaf says:

      again install for server O/S What is your O/S Name?

  5. Raju says:

    its working fine

  6. Shafeer says:

    Ths is is the one iam looking for ,
    Great Thnaks alot for post this artcle.

  7. Herberwz says:

    Thanx alot just in seconds!!!! WOW

  8. Jim Rossi says:

    For anyone who still has a problem:
    If you changed the IP address of the domain controller at any point, the DNS forward and reverse lookup zones don’t update automatically (if you change the subnet). simply go into the dns server and search for the old IP and change it to the new IP. for the reverse lookup zone you need to add a new zone and delete the old zone.

  9. Darius Lungocea says:

    OK, ok, that works… we found the solution out sometime ago. The only question that remains is … what to do on the DNS servers… or DNS entries … so this doesn’t happen?
    If you guys figured it out, please feedback.

  10. Chris says:

    thanks pal. that’s what I call a brain fart! It’s always DNS it’s always DNS think DNS 1st!. I thought I learned that years ago but no it bit me yet again. you fixed it.

  11. Olowo Smart says:

    Thanks guys. this solve my problem once. U r d best.

  12. Anonymous says:

    Tnx a LOT… it helps

  13. Raj says:

    Thank you very much friend.. it helped me alot..

  14. I have observed that over the course of making a relationship with real estate homeowners,

  15. N.A says:

    WOW …. thank you very much
    it helped me very very much

  16. Iuran says:

    Thank u my friend, good job, it helped me very much.

  17. Harsha says:

    Its Worked Thanks

  18. Vna says:

    It worked like champ..!! thank you so much…

  19. Nigel says:

    I found that disabling IP6 on the client resolved the issue for myself. I also had the local windows firewall disabled and make sure your Network is set to Work not public or home.


  20. sanam alam says:

    thanks yao have solved my problem god blessed you

  21. Abraham says:

    Thank God.
    It resolved in a minute 🙂

  22. Murray says:

    thank you so much.

  23. Dan says:

    Thanks!! It worked for me at the first try!

  24. Daniel says:

    It very cool, I sufing abut a cup of hours and it this solution is very good

  25. Dries Coeman says:

    I had the same problem, willing to add a server 2008 in a domain. But even when the DNS was right, i couldn’t do a ping to the hostname of the server.. Still want to go over the internet.
    But then i noticed that IPV6 was also active, getting a dhcp address. By disabling the IPV6 it worked !

  26. Kamwara says:

    Wow thanks a lot. saved me big time

  27. I’m impressed, I must say. Seldom do I come across a blog that’s
    equally educative and entertaining, and without a
    doubt, you’ve hit the nail on the head. The problem is something that too few folks are speaking intelligently about.
    I am very happy I found this in my hunt for something concerning this.

  28. This means that a business can literally brand the way
    the video is being played. These could include monitoring payments
    received, tracking affiliate performance, doing product inventory, creating sales reports and basically, making sure that the entire business is running smoothly.

    This has to be the “wall” where you and all your followers later updates and comments, just
    need to have a landing page professionally designed for your business.

  29. Continue saving money when you need Brother 4040cn ink and toner ( Local stores may be close, but often can’t compete
    on prices for Brother HL ink and toner ( or other brands of ink and toner cartridge ( as well as
    online sellers can do. Some papers today are made acid free, but most paper collectibles do contain acids and need help to prolong the life of the paper.
    You can also check out the best cell phone directory
    in Canada, if you are from the frozen North.

  30. Amazing things here. I am very glad to peer your post.
    Thank you so much and I am taking a look ahead to touch you.
    Will you please drop me a e-mail?

  31. These arousals disturb sleep, often causing intense dreaming, sweating,
    and headache. This memory foam sleep pillow has made their lives much easier, especially when it is time to sleep.
    People need to have an average of six of eight hours of sleep a day to
    function effectively.

  32. siel says:

    jus saw your solution and workd out for me thanks very much

  33. Juanjo says:

    Thanks, work for me windows 2008r2 server

  34. Crazy_Pilot says:

    Ha! Realy! Once I set my DC as primary DNS – everythings was working properly.

  35. Ramesh says:

    Thanks really this solutions working good

  36. Sam says:

    It resolved my same issue.. Thank you..

  37. Cheers, it was superb stuff.

  38. Premananth says:

    Thanks for your solution. Its works.thanks once again.

  39. Piqui Smith says:

    Thanks… This is the best website ti geral help… I live un Angola… Oleasse send me YouTube contact… I sul need you alote

  40. AHMED TURKY says:

    Still my windows server 2008 is not able to going the domain same error is there any other solution for me please.

    Thank You,

  41. Surendra says:

    Nice articles.. it worked and saved my lot of time.

  42. With the help of that information you will come to know about their
    reputation and specialization. Should you be quite diligent with regards to researching
    online, then you could effortlessly come across some free psychic online.
    This is the reason why you should do a little research
    before you get that bulb at home or in the office.

    1. farhan says:

      the problem solution not found

  43. Some genuinely nice and useful information on this internet
    site, besides I conceive the style holds fantastic features.

Leave a Reply