2

The "remember me" feature does not work for me when I use RD gateway to connect to my workstation. Something forces me to explicitly type the credentials every time - I need to figure out what this something is.

I have the following scenario: There is workstation that is behind NAT and inaccessible from outside our company network.

  1. I can connect my my workstation from inside the network and Windows does save the credentials after changing the Credentials Delegation Group Policy.

    Local Computer Policy\Computer Configuration\Administrative Templates\System\Credentials Delegation\

    Allow Delegating Saved Credentials with NTLM-only Server Authentication

  2. Credentials saving also works when I connected to my company's network via VPN and then connect to workstation.

  3. Credential saving does not work when I connect to my workstation via RD gateway -- it says "The logon attempt failed" and forces manual credentials entering

The 3rd scenario is the one I'm interested in figuring out - the error that occurs is shown below. When I manually put the same (as saved) credentials it connects just fine. The credentials to access the gateway are the same as the credentials to access my workstation.

Any suggestions on what can disrupt "remember me" feature?

screenshot scenarios

1 Answers1

1

Try this. On the RD Gateway computer :

Change the default to be “This is a private computer”

  1. Backup C:\Windows\Web\RDWeb\Pages\en-US\Default.aspx
  2. Edit C:\Windows\Web\RDWeb\Pages\en-US\Default.aspx
  3. Find bPrivateMode = false and change the false to true

Change the setting so that the RDP credentials will only be prompted once

  1. Backup C:\Windows\Web\RDWeb\Pages\en-US\Desktops.aspx
  2. Edit Backup C:\Windows\Web\RDWeb\Pages\en-US\Desktops.aspx
  3. Find the line RDPstr += ""; and add the following line under it RDPstr += “promptcredentialonce:i:1\n”;

When you are finished the section of the file should look similar to this:

RDPstr += getUserNameProperty();
RDPstr += "";
RDPstr += "promptcredentialonce:i:1\n";

Source : RDP Gateway Customisation

harrymc
  • 498,455