Remote Desktop Gateway credential repeatedly deleted

Brian Hart 296 Reputation points
2021-02-04T19:14:25.873+00:00

I have been running RD Gateway connections to multiple clients for years. I always check the box to save credentials, and there has always been a persistent entry for gateway.MyCustomerDomain.com in Windows Credentials. I upgraded from Windows 7 to Windows 10 last week, and the saved credentials continued to work until there was a network interruption--and then it deleted those credentials.

I live in a rural area and lose my connection periodically when DSL renegotiates and IP address or otherwise has a hiccup. Things have always reconnected smoothly, though, until a couple of days ago.

Now, as soon as I am disconnected, the system still attempts to auto-reconnect, but if that fails because the connection is out long enough for it to time out, the next time i try to logon, the RD Gateway prompts me for credentials--with no option to save them. This has happened a half-dozen times since my upgrade to Windows 10 (and all post-upgrade updates) last week

So I went directly into the credential manager, and entered the gateway address and credentials. That worked for a day; I was no longer prompted for RDG credentials. But upon the next interrupted network connection, it again deleted the entry.

What in the world is auto-deleting credentials here? That should never happen. How can I prevent those credentials from being deleted like this?

Remote Desktop
Remote Desktop
A Microsoft app that connects remotely to computers and to virtual apps and desktops.
4,695 questions
{count} vote

8 answers

Sort by: Most helpful
  1. Jenny Yan-MSFT 9,341 Reputation points
    2021-02-23T05:28:39.953+00:00

    Hi,
    It seemed that users are not allowed to change the persistence of credential because it is related to account security. But per searching, someone suggested that to create new credentials with chosen persistence.

    https://serverfault.com/questions/920048/change-persistence-type-of-windows-credentials-from-enterprise-to-local-compu

    Please note: Information posted in the given link is hosted by a third party. Microsoft does not guarantee the accuracy and effectiveness of information.


    Hope this helps and please help to accept as Answer if the response is useful.

    Thanks,
    Jenny

    0 comments No comments

  2. Brian Hart 296 Reputation points
    2021-02-23T05:49:48.82+00:00

    That did not allow me to create Local computer credentials. It has now been almost three weeks since I first looked at all of this, and nothing allowed me to create Local computer credentials.

    But the big question is this: what, very specifically, changed from Windows 7 to Windows 10? As I noted, I had been using the same saved credentials for some years, and two days after upgrading to Windows 10, Windows began deleting the credentials intermittently. For sure, the credentials are deleted if I lose my connection. I have a somewhat unstable DSL home/office connection, and perhaps once every day or two, I lost all my RD connections. Upon reconnect to at least a couple of the servers, I am prompted--with no option to save password--for the Remote Desktop Gateway username & password.

    So I have no proof that this is even about persistence. It just seems that nobody--Microsoft included--understands what they have done to Windows in this regard. For the record, I have many clients that have the same problem; I set them up to work remotely, and they are prompted for RD Gateway credentials (but not the remote computer--those credentials are correctly saved) at each logon.

    I seem to have to do something like this: after being prompted for RD Gateway credentials, enter them and log in. While logged in, go to the Credential Manager and manually add a Generic credential. It seems inconsistent, though.

    Here should be a big clue: when I go to Advanced → Settings and click "delete" to delete the RD Gateway credentials, nothing happens. It used to immediately switch to user name "None specified" and offer the option to "use my RD Gateway credentials for the remote computer". But now it just keeps the logon settings. That has got to be some sort of bug. In fact, when I deleted the credential for one of my clients' RDG servers, the screen did not change, but when I then tried to connect, it brought up as a suggestion the username from a different client's RD Gateway server.

    So I need specific information on exactly where in the registry or system this information is stored.


  3. Tom Ricca 1 Reputation point
    2021-05-29T22:06:34.043+00:00

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.