Microsoft Remote Desktop URL Scheme

· 1 min read

In development, I hope that user can invoke the RDP app by one click on the web page. I think URL Scheme is the answer.

Actual tests have found that the support for RDP URL Scheme is incomplete.

Platform

  1. MacOS

    System version has behave different, actual verification: BigSur supports ok.

    rdp://full%20address=s:<ip>:<port>&username=s:Administrator
    

    Click to test: rdp://full%20address=s:49.232.185.70:3389&username=s:Administrator

    (Copy and paste the above URL into your browser address bar to test)

    Sonoma not work

    Failed to launch ‘rdp://full%20address=s:127.0.0.1:3389&username=s:Administrator’ because the scheme does not have a registered handler.

    manual install RDP

  2. Windows

    Only supports launching the RDP client, but cannot pass any parameter.

    Click to test: ms-rd://

    (Copy and paste the above URL into your browser address bar to test)

RDP File Download

The currently perfect support is for users to manually download the .rdp file and open it manually. The File content is followdings.

full address:s:9.9.9.9:3389
username:s:administrator

注意MacOS需手动安装Microsoft Remote Desktop

Note: Microsoft Remote Desktop is required in MacOS.

Docs

Authors
Developer, digital product enthusiast, tinkerer, sharer, open source lover