We help IT Professionals succeed at work.

Problem adding computer to domain

There is a computer on our network that will not connect to the internet and cannot be added to the domain.  I CAN remote desktop into it.  It can ping the server using the IP Address.  But I cannot ping anything using names.  I thought it was DNS, but I get the error below when I try to add the computer to the domain.



Note: This information is intended for a network administrator.  If you are not your network's administrator, notify the administrator that you received this information, which has been recorded in the file C:\WINDOWS\debug\dcdiag.txt.

An error occurred when DNS was queried for the service location (SRV) resource record used to locate a domain controller for domain georgetown.kcu.

The error was: "TCP/IP network protocol not installed."
(error code 0x0000267B DNS_ERROR_NO_TCPIP)

The query was for the SRV record for _ldap._tcp.dc._msdcs.georgetown.kcu
Comment
Watch Question

I just found this article. Can you try this?

http://www.experts-exchange.com/Networking/Misc/Q_21232161.html

If this doesn't work, can you provide more details, such as OS on the computer having the problem, whether it's a new problem or it worked before, etc. Any information is helpful. Thanks!

Author

Commented:
The flush runs successfully, but when I go to register DNS I get

Registration of DNS records failed: The RPC Server is unavailable.

Author

Commented:
It is running Windows XP.  Everything used to work on this computer.  It just stopped.
Is the XP machine pointing to your AD DNS server? I'd double-check your DNS/WINS settings and make sure the box is checked to register with DNS. If there are multiple DNS servers configured make sure that both are up and operational. Try taking one out of the list and see if it works, then try the other one (assuming you have 2 configured). Also make sure that you don't have any custom DNS suffixes in there that could be conflicting.

Is the client DHCP or does it have a static IP address? If it's DHCP does it have a reservation? If it does, check the reservation settings.

It sounds like your DNS settings are messed up or configured incorrectly (or DNS isn't responding).
Here are some good step to check, most of which I referenced above. I have actually seen the same issue with the DHCP client service not running on the XP machine. The service needs to be enabled even if you're not using DHCP

http://www.winvistatips.com/dynamic-dns-registration-failure-t730726.html

Author

Commented:
Trying to start DHCP I get this error:

Could not start the DHCP Client Service on Local COmputer.

Error 1075: The dependency srvice does not exist or has been marked for deletion.
TCInformation Manager

Commented:
Sounds like a driver or NIC issue.  Try deleting the NIC and adding it back and reloading the drivers.
Take a look at this article:

http://forums.techguy.org/networking/928437-solved-dhcp-error-1075-a.html

I have had to reset the TCP and Winsock stack before. It's possible some other piece of software was installed (like Norton) that is interfering with the IP stack. It could have set a service dependency that is giving you issues.

Author

Commented:
I was doing everything remotely after doing the fix in http://forums.techguy.org/networking/928437-solved-dhcp-error-1075-a.html,  I can no longer connect remotely.  So I will have to go out to the computer and try the new things.  

Author

Commented:
On the link to the Microsoft article, it says the below:

•Reinstall or repair the missing application.

How do I do that?

It looks like it is a TCP/IP network protocol not installed problem, but TCP/IP network protocol is there. I just want to reinstall or repair it.  Like I said, I can connect remotely, but then I can't get it on the domain and I can't get on the internet.

I checked out the http://support.microsoft.com/kb/915162 article and the DependOnService is right.

Did you try both of these from the command line? You'd have to reset all of your IP settings afterwards:


Reset TCP/IP stack to installation defaults, type: netsh int ip reset reset.log

Reset WINSOCK entries to installation defaults, type: netsh winsock reset catalog

Author

Commented:
Yes

Author

Commented:
I installed a new network card and I have the same problem.  Cannot get the TCP/IP to work.

When I go through the services, these services do not start:

- Network Location Awareness
- TCP/IP Netbios Helper

They gave the same Error 1075: The dependency srvice does not exist or has been marked for deletion.

Author

Commented:
It seems that I have no AFD service at all.  It isn't in the device manager.  How do I reinstall that?
In my device manager the AFD Service shows up as "Ancillary Function Driver for Winsock"

Check out this article. It talks about trying to fix the AFD service

http://wiki.answers.com/Q/How_do_you_solve_error_1068_%27dependency_service_or_group_failed_to_start%27_when_attempting_to_start_Computer_browser

Author

Commented:

•Double-click the entry AFD, and click the Driver tab


It is not there.  How do I get it back?
Open up an administrative command prompt and type:

sfc /scannow

That should repair the system for you.

Author

Commented:
It didn't.  It ran through with no problem, and did nothing after it was done checking.
If you go to a command prompt and type net start AFD, what does it tell you?

Check c:\windows\system32 and see if afd.sys is there. You may need to copy it from a working machine.

This link also mentions some registry keys that need to be there for AFD. Check that they're there too

http://www.tek-tips.com/viewthread.cfm?qid=1165500

If you have the Service Pack files that you can get onto that machine you might just want to try re-installing the latest service pack as well.

Author

Commented:
Should AFD.sys be in the system32 folder or the driver folder?
You're right, sorry, it should be in the drivers folder.

Author

Commented:
There was one there.  But just to be sure, I deleted the one that was there and copied the one on the XP Disk to it.  I am running the SFC /scanow again.  

Author

Commented:
Ok.  So nothing has worked.  I don't know what else to do.  Time to go Nuclear I guess.

On a related note, where can I get the drivers for an Dell Optiplex 780?  I will need to get the Network Card drivers once I reinstall everything.
Have you tried just reinstalling the Service Pack?

Author

Commented:
Yes.  

I am thinking there might be a virus that I cannot find.  Or the reminants of one.  I went into the system/driver folder and deleted AFD.sys.  I waited a few seconds and it reappeared.  I figured there might be something there as I did not think it was common procedure for a deleted system file to just reappear.
From what I've read of this kind of problem it's entirely possible it's a virus. You might want to try to run several different kinds of scans on it to see if you can pick anything up:

TDSSKiller
http://support.kaspersky.com/faq/?qid=208283363

MalwareBytes
http://www.malwarebytes.org/

SuperAntiSpyware
http://www.superantispyware.com/

Author

Commented:
Problem was not resolved.
Commented:
Reformatted the computer and now it works.

Author

Commented:
Would have liked to not have to reformat.