Sam97
Oct 04, 2023Copper Contributor
Status:
Closed
Problem with rdp:// protocol handler in MacOS Sonoma
Hi, 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 pr...
ghstwhl
Oct 25, 2023Copper 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 Desktop.app" -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...