Auto login .rdp file with MacOS's Microsoft Remote Desktop

Breno Baldovinotti 1 Reputation point
2021-02-01T17:09:38.187+00:00

I know that when creating a .rdp file using Windows OS, there's a possibility to encrypt the session's password using one of the Windows API (crypt32.dll) and, therefore, enable the auto login option.

Is there any way to do the same thing, that is, achieve the same goal, creating a .rdp file in a MacOS OS?

Remote Desktop
Remote Desktop
A Microsoft app that connects remotely to computers and to virtual apps and desktops.
4,248 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Eleven Yu (Shanghai Wicresoft Co,.Ltd.) 10,681 Reputation points Microsoft Vendor
    2021-02-02T06:46:55.513+00:00

    Hi,

    When creating .rdp file in windows, you can check "Allow me to save credentials". The credential will be saved under Windows Credentials in Credential Manager. When you use mstsc or Windows remote desktop app to remote connect to the server, the termsrv.ll will call the saved credential to login automatically.
    62777-image.png
    62767-image.png

    On MacOs, when you use remote desktop app for mac for remote connection, will it pop up to allow save credential? If so, choose allow and then try to export the rdp file of this connection. Test if you can use this RDP file to automatically login.
    https://learn.microsoft.com/en-us/windows-server/remote/remote-desktop-services/clients/remote-desktop-mac#export-and-import-connections

    Or, you can check if you can create a TERMSRV credential using Keychain on MacOS and see if the RDP file will use this saved credentials.

    Thanks,
    Eleven

    ----------

    If the Answer is helpful, please click "Accept Answer" and upvote it. Thanks.