SOLVED

RemoteApp - auto open .rdp file

%3CLINGO-SUB%20id%3D%22lingo-sub-1166056%22%20slang%3D%22en-US%22%3ERemoteApp%20-%20auto%20open%20.rdp%20file%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1166056%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20All%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhen%20we%20log%20on%20to%20microsoft%20remoteapp%20and%20open%20an%20application%20from%20Edge%20the%20.rdp%20file%20doesn't%20auto-open.%20I%20am%20sure%20this%20is%20by%20design%20for%20security%20purposes.%20Is%20there%20a%20way%20we%20can%20specify%20that%20a%20specific%20file%20type%20or%20any%20file%20from%20a%20specific%20URL%20auto%20opens%20e.g.%20auto%20open%20.rdp%20files%20from%20remoteapp.mycompany.com%3F%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1173821%22%20slang%3D%22en-US%22%3ERe%3A%20RemoteApp%20-%20auto%20open%20.rdp%20file%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1173821%22%20slang%3D%22en-US%22%3E%3CP%3EWe%20managed%20to%20get%20RemoteApp%20working%20in%20Edge%26nbsp%3B%3CIMG%20class%3D%22lia-deferred-image%20lia-image-emoji%22%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Fhtml%2Fimages%2Femoticons%2Fsmile_40x40.gif%22%20alt%3D%22%3Asmile%3A%22%20title%3D%22%3Asmile%3A%22%20%2F%3E%26nbsp%3BWe%20did%20this%20by%20forcing%20our%20RemoteApp%20login%20page%20to%20open%20in%20IE%20mode.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1275905%22%20slang%3D%22en-US%22%3ERe%3A%20RemoteApp%20-%20auto%20open%20.rdp%20file%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1275905%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F553078%22%20target%3D%22_blank%22%3E%40elltommo%3C%2FA%3E%26nbsp%3B%20The%20only%20browser%20that%20opened%20RDP%20files%20automatically%20was%20IE%20since%20it%20used%20the%20MSTSC%20ActiveX%20controls%20that%20knew%20how%20to%20call%20the%20RDC%20client%20to%20process%20it.%26nbsp%3B%20With%20other%20browsers%20such%20as%20Chrome%20or%20the%20new%20Edge%20it%20going%20to%20hand%20it%20off%20to%20Windows%20to%20do%20a%20file%20association%20lookup%20when%20you%20select%20open%20but%20we%20do%20have%20a%20workaround.%26nbsp%3B%20If%20you%20click%20on%20the%203%20dots%20next%20to%20the%20downloaded%20RDP%20file%20you%20will%20see%20the%20option%20%22Always%20open%20files%20of%20this%20type%22.%26nbsp%3B%20If%20you%20choose%20that%20then%20select%20mstsc.exe%20it%20will%20then%20know%20just%20to%20call%20upon%20the%20RDC%20client%20to%20processes%20those%20files%20going%20forward.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1449115%22%20slang%3D%22en-US%22%3ERe%3A%20RemoteApp%20-%20auto%20open%20.rdp%20file%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1449115%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F606598%22%20target%3D%22_blank%22%3E%40JLouque%3C%2FA%3E%26nbsp%3BIs%20there%20any%20way%20for%20an%20administrator%20to%20configure%20this%20option%20through%20policy%2C%20rather%20than%20requiring%20each%20user%20to%20set%20it%20individually%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1449170%22%20slang%3D%22en-US%22%3ERe%3A%20RemoteApp%20-%20auto%20open%20.rdp%20file%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1449170%22%20slang%3D%22en-US%22%3EI've%20seen%20%22Open%20With%22%20done%20by%20GPO%20but%20to%20my%20knowledge%20I%20haven't%20seen%20it%20for%20%22Always%20open%20files%20of%20this%20type%22%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1685097%22%20slang%3D%22en-US%22%3ERe%3A%20RemoteApp%20-%20auto%20open%20.rdp%20file%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1685097%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F27877%22%20target%3D%22_blank%22%3E%40Steve%20Whitcher%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAccording%20to%20a%20%3CA%20title%3D%22always%20open%20specific%20file%20types%22%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fenterprise%2Falways-open-specific-file-types%2Fm-p%2F1555442%2Fhighlight%2Ftrue%23M2221%22%20target%3D%22_self%22%3EJuly%202020%20reply%20in%20another%20thread%3C%2FA%3E%20controlling%20autoopen%20for%20file%20types%20via%20GPO%20was%20added%20in%20V85.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2011706%22%20slang%3D%22en-US%22%3ERe%3A%20RemoteApp%20-%20auto%20open%20.rdp%20file%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2011706%22%20slang%3D%22en-US%22%3E%3CP%3ETry%20this%20GPO%20setting%2C%20it%20works%20with%20RDWEB%20just%20nicely%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2FDeployEdge%2Fmicrosoft-edge-policies%23autoopenfiletypes%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2FDeployEdge%2Fmicrosoft-edge-policies%23autoopenfiletypes%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20would%20also%20recommend%20setting%26nbsp%3BAutoOpenAllowedForURLs%20for%20certain%20security%20considerations.%20Easiest%20way%20to%20do%20this%20is%20just%20to%20enter%20yourcompanydomain.com%20to%20the%20list%20without%20anything%20else%20and%20that's%20it.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHowever...%20This%20setting%20does%20not%20work%20with%20new%20RD%20Web%20Client%20for%20some%20reason%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fwindows-server%2Fremote%2Fremote-desktop-services%2Fclients%2Fremote-desktop-web-client-admin%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fwindows-server%2Fremote%2Fremote-desktop-services%2Fclients%2Fremote-desktop-web-client-admin%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWith%20that%20Edge%20just%20downloads%20the%20file%20and%20does%20not%20auto%20open.%20Reason%20might%20be%20that%20Web%20Client%20generates%20URLs%20as%20blob%3Ahttps%3A%2F%2F%20instead%20of%20https%3A%2F%2F.%20So%20this%20is%20something%20that%20I%20think%20Microsoft%20should%20be%20fixing%20either%20at%20Edge%20or%20then%20with%20Web%20Client.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

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!

 

 

6 Replies
best response confirmed by elltommo (Occasional Contributor)
Solution

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

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

@JLouque Is there any way for an administrator to configure this option through policy, rather than requiring each user to set it individually?

I've seen "Open With" done by GPO but to my knowledge I haven't seen it for "Always open files of this type"

@Steve Whitcher 

 

According to a July 2020 reply in another thread controlling autoopen for file types via GPO was added in V85.

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

 

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.