ccarver0

New Member
Joined
Jul 27, 2012
Messages
2
I'm seeing some very odd remote desktop problems at work. The server is 2008 Server R2 64-bit. Unfortunately, I do not have administrative privileges. I have to escalate to another group in order to analyze logs. I have done this, but my team may meanwhile sit idle for days. All clients are Windows 7 Enterprise Service Pack 1 64-bit. I have full admin privileges on all clients. The clients that cannot connect are on a domain, and the clients that can connect are not on a domain. The server is on a totally different domain, and we are logging in with local user accounts.

Some of the clients can connect to the server using remote desktop. Other clients cannot connect using precisely the same credentials. This rules out a username/password error. However, it is some sort of username/password problem because repeated attempts will lock out the account. The remote desktop failure message is "invalid credentials." If I remove the system from the domain, the problem goes away! It seems like being on the domain is causing the credentials passed to the server to be invalid, even though we're typing the same username and password that work on other clients. We're specifying exactly the same username and password, and we're specifying a local user account by prefixing the username with the remote desktop server hostname: servername\firstname.lastname

They are on the same subnet, and I can literally move the network cable from one system that works to one that doesn't, and the system still cannot connect to the server. This, in my opinion, rules out network problems. I don't see anything noteworthy in event viewer on the client side.

I used Wireshark to compare the network transmissions between failing hosts and succeeding hosts. I cannot analyze the payload, of course, because the session is encrypted. I do, however, notice that the systems that cannot connect are the first to send a packet with the FIN flag. This tells me that the clients are the ones initiating the dismantling of the TCP session. This is consistent with all of the other evidence pointing towards a client-specific problem.

I began checking into security policy settings, but I can't for the life of me find any differences. I checked the certificate being used by the server and imported it into the trusted certificates store. I know I'm trying to connect to the server using the same hostname that appears on the certificate. Does anyone have any suggestions? I'm a UNIX admin and I'm a little stumped. Are there any tools or scripts that can dump security policy settings for easy comparison? Any debuggers that will allow me to analyze the remote desktop session on the client side? If anyone can point me to some documentation that may provide some education, I'll be happy to read it. Any advice would be greatly appreciated.
 
Solution
It sounds like you're facing a complex and frustrating issue with Remote Desktop connections on your Windows environment. Let's break down the key points and explore potential solutions to your problem:

Key Points:​

  1. Server Environment:
    • Server OS: Windows Server 2008 R2 64-bit
    • Privileges: No administrative privileges on the server
    • Client OS: Windows 7 Enterprise Service Pack 1 64-bit
    • Domain Setup: Clients on a domain; server on a different domain
    []Issue Description:
    • Inconsistent Remote Desktop connection behavior.
    • Clients on the domain are having trouble connecting, resulting in account lockouts.
    • Removing the system from the domain resolves the...
It sounds like you're facing a complex and frustrating issue with Remote Desktop connections on your Windows environment. Let's break down the key points and explore potential solutions to your problem:

Key Points:​

  1. Server Environment:
    • Server OS: Windows Server 2008 R2 64-bit
    • Privileges: No administrative privileges on the server
    • Client OS: Windows 7 Enterprise Service Pack 1 64-bit
    • Domain Setup: Clients on a domain; server on a different domain
    []Issue Description:
    • Inconsistent Remote Desktop connection behavior.
    • Clients on the domain are having trouble connecting, resulting in account lockouts.
    • Removing the system from the domain resolves the issue.
    • No network issues observed; clients initiate session termination.
    • No significant events in Event Viewer.
    [
    ]Investigative Steps:
    • Compared Wireshark captures between failing and successful hosts.
    • Checked for differences in security policy settings.
    • Imported the server certificate into the trusted certificates store.

      Possible Solutions and Suggestions:​

    []Troubleshooting Steps:
    • Ensure the Windows servers and clients are fully patched with updates.
    • Check for any recent updates or changes in group policies that might affect Remote Desktop connections.
    • Verify that the client systems have the correct time, as time differences can cause authentication failures.
    • Review Group Policy settings related to Remote Desktop Services on both the server and client sides.
    [
    ]Diagnostic Tools:
    • Group Policy Results Tool: Use this tool to compare Group Policy settings between a working and non-working client.
    • Remote Desktop Connection Manager: This tool can help manage multiple remote desktop connections and troubleshoot issues.
    • Microsoft Remote Desktop Connection Analyzer: This tool can help diagnose connectivity issues with Remote Desktop.
  2. Documentation and Resources:
    • Microsoft TechNet provides detailed documentation on troubleshooting Remote Desktop issues and configuring security settings.
    • Review Microsoft's official documentation on Remote Desktop Protocol (RDP) settings and configurations for additional insights.
Given your UNIX background, familiarizing yourself with Windows security policies and Remote Desktop settings may prove beneficial in troubleshooting this issue. Feel free to explore the suggested tools and resources for further investigation. If you need more specific guidance on any of these steps, feel free to ask!
 
Solution