So heres the scenario.<\/p>\n
We have user 1, trying to remote to PC 1, using pc-name1. When he remotes to it, it goes to a different PC, not PC1, but PC2, with a completely different name. He has been using IP lately to remote in but i’d like to get this resolved. Him remoting to his PC is Internal, he is not using RWW or something of the sort. Im thinking this is a DNS issue, but i am not sure how to remedy this, if someone has a good suggestion or a how-to to fix this please post!<\/p>\n
Thanks so much,<\/p>\n
Chris<\/p>","upvoteCount":2,"answerCount":18,"datePublished":"2012-05-25T10:12:24.000Z","author":{"@type":"Person","name":"chrisatkinson2","url":"https://community.spiceworks.com/u/chrisatkinson2"},"acceptedAnswer":{"@type":"Answer","text":"
Chris65555 wrote:<\/p>\n
\nranhalt, if i ping PC2, it is giving the same IP as the DNS record. IP X.X.X.184<\/p>\n
Doing this for PC1, it is giving me two different IP’s.<\/p>\n
Pinging the PC shows as X.X.X.197
\nDNS shows/IPconfig on this PC shows X.X.X.175<\/p>\nLadyinMT, PC2 is giving the correct information that the DNS server is showing.
\nPC1 is giving me two different IP’s as stated above.<\/p>\nDenebola, These are wired PC’s, no laptops.<\/p>\n<\/blockquote>\n
delete the .197 entry from DNS and then run ipconfig /registerdns on PC1.<\/p>\n
Check again and see if it is resolved.<\/p>","upvoteCount":1,"datePublished":"2012-05-25T12:52:51.000Z","url":"https://community.spiceworks.com/t/remote-desktop-not-going-to-correct-pc/145477/12","author":{"@type":"Person","name":"dabeast","url":"https://community.spiceworks.com/u/dabeast"}},"suggestedAnswer":[{"@type":"Answer","text":"
So heres the scenario.<\/p>\n
We have user 1, trying to remote to PC 1, using pc-name1. When he remotes to it, it goes to a different PC, not PC1, but PC2, with a completely different name. He has been using IP lately to remote in but i’d like to get this resolved. Him remoting to his PC is Internal, he is not using RWW or something of the sort. Im thinking this is a DNS issue, but i am not sure how to remedy this, if someone has a good suggestion or a how-to to fix this please post!<\/p>\n
Thanks so much,<\/p>\n
Chris<\/p>","upvoteCount":2,"datePublished":"2012-05-25T10:12:24.000Z","url":"https://community.spiceworks.com/t/remote-desktop-not-going-to-correct-pc/145477/1","author":{"@type":"Person","name":"chrisatkinson2","url":"https://community.spiceworks.com/u/chrisatkinson2"}},{"@type":"Answer","text":"
Kinda a generic “odd network issues” reply:<\/p>\n
Try<\/p>\n
ipconfig /release<\/p>\n
ipconfig /flushdns<\/p>\n
ipconfig /renew<\/p>\n
Sounds to me like it might be a funky DNS issue<\/p>\n
Also: nbtstat -r<\/p>","upvoteCount":1,"datePublished":"2012-05-25T10:17:03.000Z","url":"https://community.spiceworks.com/t/remote-desktop-not-going-to-correct-pc/145477/2","author":{"@type":"Person","name":"preissner","url":"https://community.spiceworks.com/u/preissner"}},{"@type":"Answer","text":"
Are you using windows for DNS or your router/firewall/gateway device?<\/p>","upvoteCount":0,"datePublished":"2012-05-25T10:17:25.000Z","url":"https://community.spiceworks.com/t/remote-desktop-not-going-to-correct-pc/145477/3","author":{"@type":"Person","name":"danmartin4112","url":"https://community.spiceworks.com/u/danmartin4112"}},{"@type":"Answer","text":"
Paragraph wrote:<\/p>\n
\nKinda a generic “odd network issues” reply:<\/p>\n
Try<\/p>\n
ipconfig /release<\/p>\n
ipconfig /flushdns<\/p>\n
ipconfig /renew<\/p>\n
Sounds to me like it might be a funky DNS issue<\/p>\n
Also: nbtstat -r<\/p>\n<\/blockquote>\n
You can also add “ipconfig /registerdns” as something to try. That should attempt to re-register the computer with the DNS server and (hopefully) update the record.<\/p>","upvoteCount":0,"datePublished":"2012-05-25T10:18:48.000Z","url":"https://community.spiceworks.com/t/remote-desktop-not-going-to-correct-pc/145477/4","author":{"@type":"Person","name":"danmartin4112","url":"https://community.spiceworks.com/u/danmartin4112"}},{"@type":"Answer","text":"
ping the hostname and make sure it’s resolving correctly<\/p>","upvoteCount":0,"datePublished":"2012-05-25T10:22:11.000Z","url":"https://community.spiceworks.com/t/remote-desktop-not-going-to-correct-pc/145477/5","author":{"@type":"Person","name":"ranhalt","url":"https://community.spiceworks.com/u/ranhalt"}},{"@type":"Answer","text":"
Paragraph, Should this be done on both PC’s or just one?<\/p>\n
Dan, yes we are using windows for our DNS/Gateway.<\/p>\n
Router and firewall, no<\/p>","upvoteCount":0,"datePublished":"2012-05-25T10:23:05.000Z","url":"https://community.spiceworks.com/t/remote-desktop-not-going-to-correct-pc/145477/6","author":{"@type":"Person","name":"chrisatkinson2","url":"https://community.spiceworks.com/u/chrisatkinson2"}},{"@type":"Answer","text":"
Is the expected IP returned if you open a command prompt and type the following?<\/p>\n
nslookup pc-name1<\/em><\/p>\n
If not, then it seems the DNS entry for ‘pc-name1’ is incorrect in your DNS server.<\/p>\n
You might also run an nslookup on the manually inputted IP address being used for the successful RDP connection to see if it’s different than the result from above (I suspect it is).<\/p>\n
I hope you get it sorted out!<\/p>","upvoteCount":0,"datePublished":"2012-05-25T10:23:17.000Z","url":"https://community.spiceworks.com/t/remote-desktop-not-going-to-correct-pc/145477/7","author":{"@type":"Person","name":"ladyinmt","url":"https://community.spiceworks.com/u/ladyinmt"}},{"@type":"Answer","text":"
I don’t know if this fits your situation, but if the pc is a laptop – and your users are like mine – they could be confusing the DNS server by repeatedly connecting on wired and wireless at the same time. With multiple records in the DNS database you have even more opportunities for a stale cache to point to the wrong location.<\/p>\n
(In the above case I set the wireless connection so that it didn’t update DNS, BTW)<\/p>","upvoteCount":0,"datePublished":"2012-05-25T10:47:15.000Z","url":"https://community.spiceworks.com/t/remote-desktop-not-going-to-correct-pc/145477/8","author":{"@type":"Person","name":"frej","url":"https://community.spiceworks.com/u/frej"}},{"@type":"Answer","text":"
ranhalt, if i ping PC2, it is giving the same IP as the DNS record. IP X.X.X.184<\/p>\n
Doing this for PC1, it is giving me two different IP’s.<\/p>\n
Pinging the PC shows as X.X.X.197
\nDNS shows/IPconfig on this PC shows X.X.X.175<\/p>\nLadyinMT, PC2 is giving the correct information that the DNS server is showing.
\nPC1 is giving me two different IP’s as stated above.<\/p>\nDenebola, These are wired PC’s, no laptops.<\/p>","upvoteCount":0,"datePublished":"2012-05-25T10:55:43.000Z","url":"https://community.spiceworks.com/t/remote-desktop-not-going-to-correct-pc/145477/9","author":{"@type":"Person","name":"chrisatkinson2","url":"https://community.spiceworks.com/u/chrisatkinson2"}},{"@type":"Answer","text":"
sometimes you will need to use the full FQDN name of the pc I find it tipically works best for me pcname.domain.local<\/p>","upvoteCount":0,"datePublished":"2012-05-25T11:17:13.000Z","url":"https://community.spiceworks.com/t/remote-desktop-not-going-to-correct-pc/145477/10","author":{"@type":"Person","name":"brianherman7868","url":"https://community.spiceworks.com/u/brianherman7868"}},{"@type":"Answer","text":"
we use winvnc – if you do, have user check ip by right clicking on icon, selecting statistics and giving you correct ip address.<\/p>\n
I went through this same thing a few weeks back and it turned out that even though user could “connect” on his end, the software (winvnc) required a reinstallation.<\/p>","upvoteCount":0,"datePublished":"2012-05-25T11:22:45.000Z","url":"https://community.spiceworks.com/t/remote-desktop-not-going-to-correct-pc/145477/11","author":{"@type":"Person","name":"sabrinabennett9015","url":"https://community.spiceworks.com/u/sabrinabennett9015"}},{"@type":"Answer","text":"
Beast,<\/p>\n
Is there a downside to doing that? is there any consequence that if i did it, it would cause such as losing its IP, kicked off domain, etc? This is more of a curiosity question tbh, if you could let me know that would be great.<\/p>\n
Chris<\/p>","upvoteCount":0,"datePublished":"2012-05-25T13:03:05.000Z","url":"https://community.spiceworks.com/t/remote-desktop-not-going-to-correct-pc/145477/13","author":{"@type":"Person","name":"chrisatkinson2","url":"https://community.spiceworks.com/u/chrisatkinson2"}},{"@type":"Answer","text":"
Chris65555 wrote:<\/p>\n
\nBeast,<\/p>\n
Is there a downside to doing that? is there any consequence that if i did it, it would cause such as losing its IP, kicked off domain, etc? This is more of a curiosity question tbh, if you could let me know that would be great.<\/p>\n
Chris<\/p>\n<\/blockquote>\n
The only downside is while you in between steps (the deleting of the DNS record and the ipconfig command) you will not be able to resolve the ip address for that computer name.<\/p>\n
Now - since this is a problem already, there isn’t really a down side.<\/p>\n
Client DNS records don’t control domain membership. They are also not required for clients to be able to resolve other DNS records. This could be done without any extra downtime.<\/p>\n
My guess on what happened - someone manually created that record some time ago and the DHCP service can’t update that record.<\/p>","upvoteCount":0,"datePublished":"2012-05-25T13:19:51.000Z","url":"https://community.spiceworks.com/t/remote-desktop-not-going-to-correct-pc/145477/14","author":{"@type":"Person","name":"dabeast","url":"https://community.spiceworks.com/u/dabeast"}},{"@type":"Answer","text":"
Generally, you have the DNS/DHCP server thinking that the Hostname of PC1 goes to IP “X”, even when it’s IP address is really “Y”. Usually, you have one of the following will be going on:<\/p>\n
A change in the machine name (takes time for the issue to resolve naturally, or you can go into the dns/dhcp server and delete the bad listings) The ipconfig /flushdns may well take care of it as well, I have mainly learned by doing, so quite often have missed the simplest ways
<\/p>\n
Someone moved a static ip address (from an old to new machine for example), may take a while to update on it’s own.<\/p>\n
Various address conflicts particularly with DHCP. These usually present themselves with errors on the machines though.<\/p>\n
Or, the tables just didn’t update at some point. This one is the most random, but seems to be the most common that isn’t first discovered first in other ways (like most of the above).<\/p>\n
In these situations (which are basically all the ones I have run into), using the FQDN didn’t help because they were due to DNS table issues. And pinging only helps when you know what PC1’s IP really is (basically sitting at the machine and doing an ipconfig). If you don’t know the correct IP, then pinging only tells you what the DNS table has listed as the right address for the machine.<\/p>\n