question

StephenBarrett-3502 avatar image
1 Vote"
StephenBarrett-3502 asked KubaDudek-5258 commented

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.

remote-desktop-client
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi,

I don't know if you already solved your case. In my case there was a problem with triggering the application.
when I wanted open connection in following way:

 open "rdp://full%20address=s:mypc:3389&audiomode=i:2&disable%20themes=i:1"

Terminal returned:

 No application knows how to open URL rdp://full%20address=s:mypc:3389&audiomode=i:2&disable%20themes=i:1 (Error Domain=NSOSStatusErrorDomain Code=-10814 "kLSApplicationNotFoundErr: E.g. no application claims the file" UserInfo={_LSLine=1489, _LSFunction=runEvaluator}).

But when I add "-a /Applications/Microsoft\ Remote\ Desktop.app" everything is working great.

 open -a /Applications/Microsoft\ Remote\ Desktop.app "rdp://full%20address=s:mypc:3389&audiomode=i:2&disable%20themes=i:1"








0 Votes 0 ·
LeilaKong-MSFT avatar image
0 Votes"
LeilaKong-MSFT answered LeilaKong-MSFT commented

Hello @StephenBarrett-3502 ,

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://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-R2-and-2012/dn690096(v=ws.11)?redirectedfrom=MSDN

Have you configured the GPO for RemoteApp Programs in Group Policy? https://rdr-it.com/en/gpo-deploy-remoteapp-programs/

FYI: https://docs.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-mac

FYI: https://docs.microsoft.com/en-us/answers/questions/224756/remote-desktop-app-on-macos-big-sur-not-working-wi.html


Best 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.

· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

I understand how to use the RDP URI scheme. As I said in my statement, all of this works just fine on Catalina. This broke when upgrading to Big Sur. The URI scheme does not work if running MacOS Big Sur.

I tried the latest 10.6.7 and it still has the same proble. This has been broken in ALL versions while running on BIg Sur. Microsoft needs to come out and tell people that the RDP client for Mac is not supported fully on Big Sur.

1 Vote 1 ·

Hello @StephenBarrett-3502 ,

Thanks for your response. You may open a case to Microsoft for further professional help.
https://support.microsoft.com/en-us/help/4341255/support-for-busines

We also sincerely suggest that you could post this issue to the uservoice and let others vote for it to see if there will be any feedback from the product team.
https://remotedesktop.uservoice.com/forums/287834-remote-desktop-client-for-mac?query=Big%20Sur

0 Votes 0 ·
RaffaeleVigliotti-6681 avatar image
1 Vote"
RaffaeleVigliotti-6681 answered RaffaeleVigliotti-6681 edited

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://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-R2-and-2012/dn690096(v=ws.11)?redirectedfrom=MSDN



5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.