?
Solved

Un able to connect using RDP or Computer managment

Posted on 2012-08-30
17
Medium Priority
?
638 Views
Last Modified: 2012-09-04
Error message "The connection cannot be completed because the remote computer that was reached is not the one you specified. This could be caused by outdated entry in the DNS cache. Try using IP address of the computer instead of the name."

After adding this working on my domain, I received this error message when I try to RDP using the hostname. But if I use the IP address it work. Also I’m not able to remotely used computer management to  this workstation.
This is what I did prior to this issue.
1.      I change the power setting to always on.
2.      I enable the RDP setting.
3.      I Disable the firewall setting.
4.      I add the Pc to the domain.
This is the steps I followed to trouble shoot this.
1.      I run I config/all – no anomalies
2.      I run nslookup – no anomalies
3.      I flush the dns
4.      I remove the PC out of the domain
5.      I re-add the PC back to the domain using different host name.
After all of this, I still receive the same error message. Thoughts?
Hence, I know I having a DNS related issue, but where?
0
Comment
Question by:tomfontanilla
17 Comments
 
LVL 2

Expert Comment

by:ransommule
ID: 38351227
Try to ping hostname and see if the IP reached if the desired one.

Windows -> run -> cmd.exe -> ping hostname

Look in host file if there is an entry for that hostname

Locations of hostfile can found here : http://en.wikipedia.org/wiki/Hosts_(file)
0
 

Author Comment

by:tomfontanilla
ID: 38351250
Hi ransommule,

In additon to what I said above, I did check for possible dups entry on hostname or IP address. If you ping resolve the host, it is the correct info. What I dont understand here, is that I cannot use the host name for any remote connection. Thoughts?
0
 

Author Comment

by:tomfontanilla
ID: 38351258
I also run ipconfig /registerdns and hostname.
0
Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

 
LVL 22

Expert Comment

by:Matt V
ID: 38351262
Do an nslookup of the hostname, you might get a different result than the ping.
0
 

Author Comment

by:tomfontanilla
ID: 38351267
See my original post, I did that too.
0
 
LVL 2

Expert Comment

by:ransommule
ID: 38351272
Hi, tomfontanilla

Have you tried to flush dns cache ?

ipconfig /flushdns ?


As I explained previously windows will cache the DNS hostnames and if you don’t want to reboot the workstation you will have to clear its internal cache so it will query again the DNS resolver that will hopefully follow the standards and get the correct IP. In order to do this open a command prompt (Start/Run then type cmd) and type:
http://www.ducea.com/2006/08/07/flush-dns-cache-on-windows-workstations/
0
 
LVL 11

Expert Comment

by:TheGeezer2010
ID: 38351283
Is the hostname suffix the same as your source machine ? If not try adding the suffix (in the DNS entries) on your source machine.

If you look in DNS, what entry(s) are shown for the target IP address ?

What do you get if you do ping -a <IPaddress> - the correct FQDN ?

How many DNS servers does your client have in its configuration ? Are the DNS servers in sync ? Has your target DNS server cached the errant entry ? Try clearing the server DNS cache, the client dns cache and the client NETBIOS cache (nbtstat -R).

Any joy ?
0
 

Author Comment

by:tomfontanilla
ID: 38351287
See my original post. I did that too rebooted and flush.
0
 
LVL 2

Expert Comment

by:ransommule
ID: 38351295
Sorry I didnt saw that, what about add a entry in the host file ?
0
 

Author Comment

by:tomfontanilla
ID: 38351307
what do you mean "add entry on the host file?
0
 
LVL 2

Expert Comment

by:ransommule
ID: 38351309
I also found this

Make sure the time on the target server is accurate. It has to be within 5 minutes of the DC usually or servers and workstations start to act funny, though it should be exact. I corrected the time on my newly reformatted target server (2008 not R2) and immediately connected afterwards from my Win7 PC.
0
 
LVL 2

Expert Comment

by:ransommule
ID: 38351314
# Copyright (c) 1998 Microsoft Corp.
# This is a sample HOSTS file used by Microsoft TCP/IP stack for Windows98
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
# For example:
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host

192.168.1.1 hostname
0
 

Author Comment

by:tomfontanilla
ID: 38351322
Time is correctly synchronize on the PC and Server.
0
 
LVL 2

Expert Comment

by:ransommule
ID: 38351337
Interesting....

tracert hostname points to the correct ip ?
0
 
LVL 17

Expert Comment

by:Premkumar Yogeswaran
ID: 38351358
Hi,
Before registerdns... Delete the record.in dns... And then register the system.. Using
Ipconfig /registedns

Also in ipconfiguration dns tab make register dns automatically is checked..

Regards,
Prem
0
 

Accepted Solution

by:
tomfontanilla earned 0 total points
ID: 38351588
Hi premglitz,
Thank you for your response. That was my initial thought to check the DNS on each of my DC.

I think I fixed the problem.
I remove the PC out of my domain, add it to a group.  
I flush the dns
I remove it from AD, DHCP, and DNS the hostname used.
Then I added the PC again to my domain
flush the dns
re-register the domain
And it work.
0
 

Author Closing Comment

by:tomfontanilla
ID: 38362904
Fixed the issue by simple removing the PC's domain membership and re-adding it back to the domain.
0

Featured Post

Get quick recovery of individual SharePoint items

Free tool – Veeam Explorer for Microsoft SharePoint, enables fast, easy restores of SharePoint sites, documents, libraries and lists — all with no agents to manage and no additional licenses to buy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There have been a lot of times when we have seen the need to enter a large number of DNS entries in a forward lookup zone. The standard procedure would be to launch the DNS Manager console, create the Zone and start adding new hosts using the New…
This is the first one of a series of articles I’ll be writing to address technical issues that are always referred to as network problems. The network boundaries have changed, therefore having an understanding of how each piece in the network  puzzl…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…
Suggested Courses

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