Solved

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

Posted on 2013-06-19
6
399 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
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
The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

 

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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

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…
When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

806 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