Remote Access - Wrong Computer Name Displaying

Posted on 2008-11-14
Last Modified: 2013-11-21
I'm not sure how to explain this but I will try.   I am at home connected to my VPN.  I had our staff leave their computers on when they left at end of day so that I could remote access into them to install a screensaver on each computer.  When using Remote Desktop, I am typing the computer name to access the computer.  I have a seating map with the computer names on them.  I recently re-imaged all of these computer and named them according to this seating map so I know they are named accordingly.  

When I log into the computer and go to look at the name of the computer it is completely different.  Some of these computers that i am actually logging into are somewhere else in the building....and have not been re-imaged.  That is how I know it is not accessing the proper computer.

Does this make sense to anyone?
Question by:jbartleydcc
    LVL 3

    Accepted Solution

    Well I can come up with a couple of explainations.

    1> The names are already used. To verify this open a command prompt and type nslookup <computer name>. this will tell you the ip addresses of all the computers with this name. To solve this rename the computer.

    2>DNS list is wrong. To solve this go to command prompt and type ipconfig /flushdns and try again.

    3>IP conflict. if your using DHCP this should not be a problem.

    Also a better way to deal with these type of remote installations is to statically assign IP addresses, then use the ip address to log onto that computer. This does not require DNS resolution and therefore is more acurate.

    Good Luck with your problem

    Author Comment

    I did a NSLOOKUP on the computer name and got 1 IP address....I go into that address and that computer is called something completely different.  Then I decided to RDP into the server and NSLOOKUP the same computer name and got a different IP address.  When I RDP to that IP it is the right computer.  Weird.

    I then did the ipconfig /flushdns on both my computer AND the server that I was logged into and both are still bringing up the same addresses for that computer name (different ips)

    We are running DHCP so it is probably not an IP conflict I'm guessing.

    Thanks for your help!  I can now at least check the ips both ways and find the right computer in a round-about way!  Thanks.  I definately have something to look into when I go back to work on Monday.

    LVL 3

    Assisted Solution

    This also sounds like a DNS issue to me. I would look at the DNS records on your server to see what it shows in comparison to the list you have.
    Depending on which server and client OSes you are using, you can also look into your DHCPsettings. In the area where DNS is configured, there should be an option to discard the records once the lease is up.
    In the computers in question, also have a look at the TCP/IP properties of the network adapter. Look under advanced, and try checking the check box next to Register this connections addresses in DNS. Normally it is checked by default. Sometimes it isn't for whatever reason.
    If all else fails, you can try deleting a DNS record for the PC in question, doing an ipconfig release and renew, and then trying to ping it by name to see what you get.
    Let us know...

    Author Comment

    I'll definably look into that when I get to work this week.  I also realized that we have 2 domains setup at work (it was set up very strange before I came into the department).  When I log into the VPN I believe I am somehow not connecting to the domain that I thought I was.  If I refer to them as domain 1 and domain 2, when I login to my laptop from home and connect to the VPN I think I am connecting to domain 1 but the computers I was trying to do an NSLOOKUP on and trying to RDP to are on domain 2.  When I did a RDP to the server which is on domain 2 I was of course getting the correct IP address when doing NSLOOKUP for the same computer.  Once I took THAT IP address I was able to RDP into the correct computer from my laptop (connected to domain 1 I think).

    I have no idea if what I typed will make sense to you or not but I tried my best to explain how I understand it.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    For a while, I have wanted to connect my HTC Incredible to my corporate network to take advantage of the phone's powerful capabilities. I searched online and came up with varied answers from "it won't work" to super complicated statements that I did…
    Have you considered what group policies are backwards and forwards compatible? Windows Active Directory servers and clients use group policy templates to deploy sets of policies within your domain. But, there is a catch to deploying policies. The…
    After creating this article (, I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
    After creating this article (, I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

    761 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

    7 Experts available now in Live!

    Get 1:1 Help Now