Solved

Mstsc not connecting using IP, but works fine when using the name of the server

Posted on 2013-06-19
6
401 Views
Last Modified: 2013-06-30
Ok, I have 6 servers for a customer platform. When I use the IP to connect using mstsc (microsoft terminal server client), it asks me user and password and after that says that credentials are not valid.

Attemping the connection using servername.domain, works fine. The nslookup translation works fine and the IP is correct. I'm not using IPv6. I experience the problem using the mstsc even between the servers.

Using windows xp attemping the connection using the IP works, but with w2008 server r2 or windows 7, it doesn't.

The problem is that the DNS is private and for the servers only. For external users the access is restricted using a dedicated IP for the client to connect.

Any ideas?
0
Comment
Question by:qualitex
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 1

Expert Comment

by:cpadm
ID: 39260192
On the first RDP connection to a Windows 2008 server, it usually prompts for the following format:

UN: <MyDomain\MyUsername>
PW: ******

If you don't place the domain before the username, it will attempt to use the domain prefix of the machine that you are currently logged on with. if you want to log in using a local user account use UN: <Servername\MyUsername>


To make sure that there aren't issues with DNS records, always try the following troubleshooting steps:

Ping <servername>
Ping <Server IP>
nslookup <servername>
nbtstat -a <Server IP>
0
 
LVL 11

Expert Comment

by:Pradeep Dubey
ID: 39260268
use this command to find out who have this IP nbtstat -a 192.168.19.101 change IP as per server IP.

also
open MSTSC and click on option save the user name and password then connect.
0
 
LVL 11

Expert Comment

by:Manjunath Sullad
ID: 39260971
Hi,

Try adding host entries  on client side.

Go to --> C:\Windows\System32\drivers\etc\ Open Hosts file with notepad.

Add IP address against hostname.

# For example:

102.54.94.97     rhino.acme.com    
38.25.63.10     x.acme.com
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:qualitex
ID: 39261086
Tryed all of that, with the exception of the nbtstat -a, that of course checked after reading, and the names and ips match correctly.

I use DOMAIN\USERNAME ... ,

Well, I'll keep trying. Thanks
0
 

Accepted Solution

by:
qualitex earned 0 total points
ID: 39261126
I just made a new test. Downloaded the 2x client and configured a session using an ip and other with the name. First result: The same.

Then I checked the advanced options in the 2x connection manager and disabled the Network Level Autentication and it worked.

Two questions here,

How Network Level Authentication can be disabled:
* Server Side
* Client Side

I checked in the 2008 R2 mstsc, and didn't find anything. Also my server is configured to allow connections from computers running any version of Remote Desktop.
0
 

Author Closing Comment

by:qualitex
ID: 39287907
I reached an alternate solution to my problem. It is not the final answer. The community told me to try everything I tried and when asked for any other options, SILENCE.
0

Featured Post

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

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

You may have a outside contractor who comes in once a week or seasonal to do some work in your office but you only want to give him access to the programs and files he needs and keep privet all other documents and programs, can you do this on a loca…
The Windows functions GetTickCount and timeGetTime retrieve the number of milliseconds since the system was started. However, the value is stored in a DWORD, which means that it wraps around to zero every 49.7 days. This article shows how to solve t…
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…

738 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