I've set up some instances on Amazon AWS that have RDP enabled. I can log in to these instances just fine from my home network. There is no domain behind the instances, there are only local accounts.

However, I want to be able to access them from corporate networks that block RDP. In order to get around firewall restrictions, I've added an RDP GateWay server with a signed certificate. Using my OS X RDP client ("Microsoft Remote Desktop.app"), I can connect to the instances just fine through the RDP GW.

However, when I'm using Windows (7, 8, 10), it doesn't allow me to connect. The login prompt below jus keeps respawning, without any feedback whatsoever. I'm sure the credentials are correct. The title refers to the GW, but the target is the actual EC2 instance. I've tried credentials for both the GW and the EC2 instance.

Login prompt

What I've tried

  • In the GPO, set LAN Manager Authentication Level to Send NTLMv2 response only. I did this both on the gateway and my local computers.
  • Use different computers (Windows 7 without domain, Windows 8 with domain, Windows 10 without domain). (Only OS X works)
  • Using the same credentials on the GW and the EC2 instance.
  • Exporting the RDP configuration from OS X and opening it with windows.

Logs on Gateway

Logs from Microsoft-Windows-TerminalServices-Gateway/Operational

  • When connecting from OS X:

    The user "WIN-XXXXXX\USERNAME", on client computer "xx.xx.xx.xx", 
    met connection authorization policy requirements and was therefore authorized to access the RD Gateway server. 
    The authentication method used was: "NTLM" and connection protocol used: "HTTP".
  • When connecting from windows, nothing is shown


When I monitor everything through WireShark, no traffic occurs when using the gateway (on windows), while I do see everything on OS X+GW and windows w/o gateway. It doesn't try to resolve my gateway dns, it doesn't try to connect to it; nothing! It just gives me the login prompt, I enter credentials and press enter, and the prompt resets.

  • Anything in the event logs on the gateway server when you try and connect? – BlueCompute Nov 3 '15 at 12:56
  • Nothing for the windows login. I've added some info the post. – Dauntless Nov 3 '15 at 13:07
  • Any login attempt recorded in security log? – BlueCompute Nov 3 '15 at 13:09
  • There's nothing about the login attempt in Windows Logs > Security. Any other logs I should check? – Dauntless Nov 3 '15 at 13:22
  • I'm confused. First you said I can log in to these instances just fine from my home network and then you said In order to get around firewall restrictions, I've added an RDP GateWay server . Those two statements would seem to contradict each other. – joeqwerty Nov 3 '15 at 14:54

So, apparently there's a bug in the windows Remote Desktop Client (or at least a very confusing UI?).

When entering my credentials, nothing was happening (traffic-wise) whenever I submitted my credentials.

However, if I check the "Remember my credentials" box, wheels start turning, traffic starts flowing and I'm successfully able to log in.

I can only assume this is a bug in the RDP client, but feel free to give more insight.

Your Answer

By clicking "Post Your Answer", you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.