Solved

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

Posted on 2013-06-19
6
400 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
Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

 

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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

Suggested Solutions

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…
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
This Micro Tutorial will teach you how to the overview of Microsoft Security Essentials. This is a free anti-virus software that guards your PC against viruses, spyware, worms, and other malicious software. This will be demonstrated using Windows…
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…

828 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