Forum Discussion

elltommo's avatar
elltommo
Brass Contributor
Feb 11, 2020
Solved

RemoteApp - auto open .rdp file

Hi All,

 

When we log on to microsoft remoteapp and open an application from Edge the .rdp file doesn't auto-open. I am sure this is by design for security purposes. Is there a way we can specify that a specific file type or any file from a specific URL auto opens e.g. auto open .rdp files from remoteapp.mycompany.com? 

 

Thanks!

 

 

  • We managed to get RemoteApp working in Edge :smile: We did this by forcing our RemoteApp login page to open in IE mode. 

7 Replies

  • sipposa's avatar
    sipposa
    Copper Contributor

    Try this GPO setting, it works with RDWEB just nicely:

     

    https://docs.microsoft.com/en-us/DeployEdge/microsoft-edge-policies#autoopenfiletypes

     

    I would also recommend setting AutoOpenAllowedForURLs for certain security considerations. Easiest way to do this is just to enter yourcompanydomain.com to the list without anything else and that's it.

     

    However... This setting does not work with new RD Web Client for some reason:

     

    https://docs.microsoft.com/en-us/windows-server/remote/remote-desktop-services/clients/remote-desktop-web-client-admin

     

    With that Edge just downloads the file and does not auto open. Reason might be that Web Client generates URLs as blob:https:// instead of https://. So this is something that I think Microsoft should be fixing either at Edge or then with Web Client.

  • elltommo  The only browser that opened RDP files automatically was IE since it used the MSTSC ActiveX controls that knew how to call the RDC client to process it.  With other browsers such as Chrome or the new Edge it going to hand it off to Windows to do a file association lookup when you select open but we do have a workaround.  If you click on the 3 dots next to the downloaded RDP file you will see the option "Always open files of this type".  If you choose that then select mstsc.exe it will then know just to call upon the RDC client to processes those files going forward. 

  • elltommo's avatar
    elltommo
    Brass Contributor

    We managed to get RemoteApp working in Edge :smile: We did this by forcing our RemoteApp login page to open in IE mode. 

    • luisdev's avatar
      luisdev
      Copper Contributor

      Apologies for replying to a very old post... but I think this is relevant.

      I added the following key to the Registry on my Windows 11 23H2 laptop, and it solved the problem:

      [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge\AutoOpenFileTypes]
      "1"="rdp"


      No IE Mode neccessary...

      I open lots of RDP connections every day via BeyondTrust and the security warning was a painful extra step that stole hundreds of clicks from the life of my mouse😉. Now it's not an issue.

Resources