Unable to join server to domain

Posted on 2011-10-17
Medium Priority
Last Modified: 2012-05-12
I have a server that was having an issue talking to the domain.

- Installed windows updates to see if that would solved problem.
- Scanned for infections (using malwarebytes) and cleaned up 2 trojans. Still could not ping or be pinged by name.
- Tried repairing NIC and received error: "clearing NetBT".
- I uninstalled NIC drivers and reinstalled drivers for the NIC.
- resetting IP stack using netsh command. I was then able to see network devices and ping by name, fqdn, and IP without a problem. Still unable to browse other network devices
- I removed server from domain. Rejoin to domain failed. Error DNS- checked DNS for incorrect entries or missing server entries.

Urgently need assistance. Microsoft Support is a joke if you aren't in the US.
Question by:IAmDH
LVL 18

Expert Comment

by:Don S.
ID: 36981441
this looks like a clasic unable to resolve the name problem.  That is typically caused by one or more of the following:
-Incorrect DNS server and/or domain suffix entries in your IP configuration
-Malware generated Host file intercepting name resolution
-A firewall is on somewhere between the the server and the DNS that is blocking the DNS request.
-the specified DNS server is either not reponding at all or does not have the requested information.

Expert Comment

ID: 36981477

1- Could you update NIC Firmware (not driver)
2- Use different NIC port if available
3- Make sure manual IP settings are correct (Double check recommended)
4- Replace the patch cable (Cheap data cables gives up frequently even they physically OK)
5- Change the switch port


Author Comment

ID: 36981527

When attempting to add to domain, the error in screenshot shows up. It's detecting the two DCs, because it lists the servers by name. So the DNS suffix is definitely correct. I've run Malwarebytes through twice and haven't detected any further infections other than the ones initially detected. The DNS servers are servicing all other devices beside this one server.


I can try firmware, but for the problem arise as a result of the infection on the server leads me to believe there's a different route to take. I already tried a different NIC port. IP settings are correct. I haven't tried the patch cable or the switch port. Though I'm sure the problem is within the NIC, since the netsh command restored my ability to see actually see devices on the network.
NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.


Expert Comment

ID: 36987413
Verify your hosts file:

Once you take out the server of the domain remove its DNS register from the dns server and remove the computer account from the domain, reboot. Then upon adding it to the domain use FQDN for the registration (domain.com instead of just domain) I would suggest you try to ping the dc first to see if it 'sees' it.

I've had similar issues with Win7 workstations and this solved the issue.

Author Comment

ID: 36987915
So here's a little further insight into the problem.

I believe there's an infection that I cannot remove on the server. I tried to run SuperAntiSpyware and after about 20 seconds of scanning it just disappears. If I try to run the executable it says I don't have permission to run this file. Same thing for my Malwarebytes shortcut.

I'm pretty sure that's what it actually jacking up my ability to connect to the domain.

Can anyone provide any assistance with this?

Accepted Solution

DonovanRojas earned 2000 total points
ID: 36988094
You then need to try and scan the server offline (either from a recovery media like UBCD or from safe mode), please be advised that if there are binaries infected this will remove them.

Running this form a secured usb disk or dvd from live mode could also avoid it from being hijacked by the virus/trojan


Author Comment

ID: 36996319
Thanks for the assistance. I was finally able to remove the infection by using Kaspersky removal tool in Safe Mode. Had to run the scan through twice to totally remove infections.

Featured Post

Technology Partners: 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

This article provides a convenient collection of links to Microsoft provided Security Patches for operating systems that have reached their End of Life support cycle. Included operating systems covered by this article are Windows XP,  Windows Server…
This article will help to fix the below errors for MS Exchange Server 2016 I. Certificate error "name on the security certificate is invalid or does not match the name of the site" II. Out of Office not working III. Make Internal URLs and Externa…
Loops Section Overview
As many of you are aware about Scanpst.exe utility which is owned by Microsoft itself to repair inaccessible or damaged PST files, but the question is do you really think Scanpst.exe is capable to repair all sorts of PST related corruption issues?

850 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