Solved

Remote Desktop Connection on Internal Network only Works with IP not Computer Name

Posted on 2009-05-13
5
844 Views
Last Modified: 2013-11-21
We have 4 computers that are exactly the same.  For some reason, 2 of them stopped allowing connections via RDC using the computer's name.  I can still connect using the internal IP address, but this is complicated for the end user, because they just know their computers by the actual name.  In DHCP on the server the still show up with their names, and in System on the actual computers, you can see the name of the PC, so I'm trying to figure out what happened.

I don't know if a Windows update caused this or if some setting got off.  I've verified the Windows Firewall settings, making sure that RDC is listed as an exception.  I've review the local policies in secpol.msc and I've also reviewed the registry according to some posts I found online.  I've also done a netsh int ip reset reset.log and still nothing.  
0
Comment
Question by:rczuba
  • 2
  • 2
5 Comments
 
LVL 4

Expert Comment

by:theShao
Comment Utility
The implication is that the names are not resolving correctly in DNS - can you browse by PC name (start --> run --> \\"computer-name" (remove "" marks))? What does
nslookup "computer-name" (remove "")
in a command window give you? If DNS is installed, do the PCs show up in the correct forward lookup zone in DNS manager?
0
 

Author Comment

by:rczuba
Comment Utility
Interesting.....I'm still looking into this, but to update you, after I checked the nslookup I noticed that the ip address it returned for the computer name was 192.168.15.42 while ipconfig/all returns 192.168.15.41...that would explain why the name isn't working.  

I checked DNS on the server and found that the PTR record is in there for .42 but DHCP assigned .41 to the PC.  I'm going to have to play around with this a little bit, but I'm guessing that once I remove the PTR record and the DHCP assignment and then let the server reassign it an IP, it should recreate the PTR record correctly and match it up that way.  

I'll post an update tomorrow.  
0
 
LVL 3

Expert Comment

by:Dhec
Comment Utility
are you running your network by static ip addresses? you should probably try make a reserve ip instead. something inside me tells me that DNS has also have to do with it.
0
 
LVL 4

Accepted Solution

by:
theShao earned 250 total points
Comment Utility
The PTR record isn't so important for what you're trying to achieve, although it suggests that DHCP hasn't been updating DNS correctly. The records that are relevant are the A records for the PC name. NSLookup returning the wrong name definitely would mean RDP by PC name won't work. I'd be tempted to do ipconfig /renew on all the PCs and check with DNS to see if it's being updated correctly. Also check the event log for errors relating to DNS and DHCP.
0
 

Author Closing Comment

by:rczuba
Comment Utility
this response tipped me off in the right direction and I was able to get everything back and functioning.  In the end, the DHCP and DNS were conflicting, thus causing my problem.  I was able to reset them and get everything up and running.  I don't know what caused this, but, hey, ignorance is bliss (sometimes).
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Know what services you can and cannot, should and should not combine on your server.
When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup". After a while, you have entered a loop for Auto repair which does not fix anything and you will be in a  panic as all your work w…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

728 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now