Remote desktop clients : saved password lost

rdpremote desktopremoteapp

We use remote desktop on a regular basis ( about 40 clients ).

On the client computers we save the passwords in Remote desktop connection ( by checking the checkbox 'save credentials'). Doing this the user name and the password gets saved in the registry.

On certain client machines, Remote desktop connection asks for the password after a few days. In the options of RDC, the checkbox 'allow the password to be saved' is unchecked, and we have to check it again to be able to save the password.

We did not find what triggers the loss of the passwords nor what could be the difference between the computers that loose the password and those that don't.

Notes :

  1. We use RemoteApp. We usually connect using the shortcut created by installing the RemoteApp .msi package and not with RDC.
  2. Most of the client computers are in remote locations and are in a Workgroup. We are SaaS provider for an application that runs on Remote Desktop

Best Answer

We did not the reason why those passwords stored in the registry get lost. And we did not find any solution neither to avoid the loss of the passwords

Workaround

We decided to use Remote Desktop Plus, which is a wrapper around Remote Desktop Connection. It allows to store the user credentials (the password is encrypted) on the local machine.

With RDP+, it is possible to give the credentials on the command line. This example would launch the RemoteApp defined in RemoteApp.rdp with the command line option -cmd:

start rdp RemoteApp.rdp /o:"remoteapplicationcmdline:s:-cmd /v:host u=domain\user pe=hS4d8GmXlhV/fnfZ75L9WGQ==

The encripted password can be generated in an UI or on the commandline.