Problem with rdp:// protocol handler in MacOS Sonoma

Problem with rdp:// protocol handler in MacOS Sonoma



 Oct 04 2023
5 Comments (5 New)

with the new Sonoma update, the Microsoft Remote Desktop MacOS app can't be opened with the classic rdp protocol handler. This seems to happend only when the full%20address param includes the protocol port (ex.

open -W -a "/Applications/Microsoft Remote" rdp://full%20address=s:host.subdomain.domain:52328)


Error received:

Unable to interpret 'rdp://full%20address=s:host.subdomain.domain:52328' as a path or URL

Copper Contributor

I have the same issue


Copper Contributor

Has anyone found a work around for this?  It is very frustrating this seems to break for months after doing an OS update.

Copper Contributor

Not yet @l337Vader. This behaviour prevents us to release our internal project.

Copper Contributor

This isn't an issue with Remote Desktop, so MS won't be able to fix it.  The issue is that the 'open' command in Sonoma has stricter URL validation that doesn't accept the ':'  characters in the URI parameters.  Try this:


open -W -a "/Applications/Microsoft Remote" -u 'rdp://full%20address=s%3Ahost.subdomain.domain%3A52328'


I put the URL in single quotes, and added -u in front to make sure the open command knows to treat this as a URL. Then I replaced the : characters in the parameters (not in 'rdp://') with %3A which is the url encoding string for ':'.


I believe only the last step was strictly necessary for this to work, but I get pedantic...

Copper Contributor

@ghstwhl Thank you it works! :happyface: