Thursday, May 03, 2007

Remote Desktop issue on multihomed machines

I have seen this issue too many times now, so I have to write this short blog about it!

Have you ever seen this error when trying to connect to a Remote Desktop enabled machine using MSTSC/Remote Desktop Client:

Remote Desktop Disconnected
The client could not connect to the remote computer. Remote connections might not be enabled or the computer might be too busy to accept new connections. It is also possible that network problems are preventing your connection. Please try connecting again later. If the problem continues to occur, contact your administrator.

Well, I've seen it so many times now, especially on ISA servers... Even after the RDP sessions have worked nicely, sometimes, for some reason, the RDP settings can be changed - or even "corrupted". In most cases the above error has something to do with NIC (Network Interface Card) adapter binding to RDP.

If you are experiencing this issue go read the Microsoft KB article: "You can not establish a Remote Desktop session to a computer running one of the affected products". You will find it here - good luck!


Shaun said...

Many thanks for this link.

Remote Desktop was working fine on my SBS 2003 R2 Premium server (with ISA 2004 SP2) until it was rebooted and when it came back online I couldn't RDP in, anymore. I didn't notice the event log error, but I got this in the ISA logs:

A connection was abortively closed after one of the peers sent a RST segment.

The problem, of course, is that the machine (and not ISA) was shutting down the connection because the RDP port was not properly binding. I changed the connection properties to only bind to the internal network interface of the ISA machine and it seems to have stuck (came back online after my test reboot).

My guess is that ISA prevents the terminal service from binding directly to the external interface which indirectly causes the binding to fail for all interfaces.

tinh said...

This link to microsoft kb saved me from lot of trouble.

Sakar said...

After P2V , I am unable to RDP the server. It was binded with the Old nic card. With tscc.msc /s and then
Network Adapter setting , I was able to change it to "All Network Adapters"

This article save me a lot of time.

Thanks a lot