If i replace // with //// in the URI, I don't get that error anymore although the Mac RDP Desktop Client throws an "The URL is not valid. Notify your network administrator." Error - I also tried with the example here: https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-R2-and-2012/dn690096(v=ws.11)?redirectedfrom=MSDN
Mac Remote Desktop Commandline with BIg Sur
Ever since I updated to Big Sur, a script I have no longer works with Remote Desktop Client for Mac.
Basically the script, goes to AWS and looks up a private ip address of a specified machine instance. It then SSH tunnels to that private ip address on port 3389 and binds it locally to port 59000. It then launches remote desktop with a command similar to
open "rdp://full%20address=s:localhost:59000&username=s:administrator&prompt%20for%20credentials%20on%20client=i:1&smart%20sizing:i:1&screen%20mode%20id:i:1"
This was all working great under Catalina (and previous iteration of MacOS). Now with Big Sur, it no longer works. It gets an error:
The file /Users/REDACTED/rdp:/full%20address=s:localhost:59000&username=s:administrator&prompt%20for%20credentials%20on%20client=i:1&smart%20sizing:i:1&screen%20mode%20id:i:1 does not exist.
Its as if Big Sur/Terminal no longer knows how to handle an rdp URI.
Is there some new parameter or configuration that needs to be done with Big Sur now? I am running the latest RDP client 10.6.6 and also tried with the last few versions.
3 answers
Sort by: Most helpful
-
-
Leila Kong 3,701 Reputation points
2021-05-18T03:26:30.917+00:00 Hello @Stephen Barrett ,
1.Microsoft Remote Desktop uses the URI scheme rdp://query_string to store pre-configured attribute settings that are used when launching the client. The query strings represent a single or set of RDP attributes provided in the URL. The RDP attributes are separated by the ampersand symbol (&).
https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-R2-and-2012/dn690096(v=ws.11)?redirectedfrom=MSDNHave you configured the GPO for RemoteApp Programs in Group Policy? https://rdr-it.com/en/gpo-deploy-remoteapp-programs/
FYI: https://learn.microsoft.com/en-us/answers/questions/315333/launch-mac-microsoft-rdp-with-url.html
2.There is a new beta version released which you could have a try:
https://install.appcenter.ms/orgs/rdmacios-k2vy/apps/microsoft-remote-desktop-for-mac/distribution_groups/all-users-of-microsoft-remote-desktop-for-macBest regards,
Leila
If the Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread. -
Nils Hjelte 0 Reputation points
2023-12-21T09:26:26.0066667+00:00 For MacOS sonoma you need to escape the
:
characters, as described here:eg
rdp://full%20address=s%3Amyhost.com