question

aleksandrsinyavskiy-3092 avatar image
0 Votes"
aleksandrsinyavskiy-3092 asked usernameforgp answered

RemoteApp: file types association

I have some troubles setting FTA for published RemoteApps in my Windows 2016 RDS deployment.

Published MS Project RemoteApp has associated .mpp 'MSProject.Project.9' file type with it with no efforts.
But published AutoCAD 2021 RemoteApp does not have an option to associate .dwg file type with it.

I tried different Windows operating systems as RDSH hosts: there are two physical computers with installed Windows 2016 Std and Windows 2019 Std and two virtual machines (Windows 2016 and Windows 2019 also) in my deployment.

Only one variant allows me to make the thing work: installed AutoCAD 2021 in Windows 2019 Std on physical computer. Other three variants has failed.
The fiield named 'Select the file types to associate with this RemoteApp program' is empty. There is no single file type in it to select.
All four AutoCAD installations are made from the same image and with the same options.

I wonder what does it depend on if a file type makes itself visible in that 'File Type Association' section of RDS settings?

PS: When I log in locally in any of those four computers, i see .dwg files associated with AutoCAD and opens normally by double clicking on them.

remote-desktop-services
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

KarlieWeng-MSFT avatar image
0 Votes"
KarlieWeng-MSFT answered KarlieWeng-MSFT commented

Hello @aleksandrsinyavskiy-3092,

How about using group policy by entering the RemoteApp Connection Default URL?

\Windows Components\Remote Desktop Services\RemoteApp and Desktop Connections
Specify default connection URL

Or publish file type associations for your RemoteApp programs:
https://techcommunity.microsoft.com/t5/microsoft-security-and/windows-server-2012-remoteapp-and-desktop-connections-default/ba-p/247680

https://docs.microsoft.com/en-us/powershell/module/remotedesktop/set-rdfiletypeassociation?view=win10-ps

Best Regards,
Karlie

· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hello, Karlie. Thanks for your comment.

Yes I'm using gpo for specifying RemoteApp connection default URL and it works. And users have their .mpp files associated with published MS Project RemoteApp.

And for the second link article you have suggested

To see this list, open up the properties of a published RemoteApp program in the new Server Manager UI, and navigate to the File Type Associations tab...
In the previous screenshot you can see the list of file types that Paint is capable of launching as a RemoteApp program. To publish file type associations for this RemoteApp program, simply select the file types that you want to be made available to end-users and click OK or Apply .

The situation is that my published AutoCAD RemoteApp is not having that option. I cannot select any file type from that list simply because the list is empty.
And powershell cmdlet Set-RDFileTypeAssociation does exactly the same as Server Manager UI. I.e. it is no use in my situation.

0 Votes 0 ·

Hi there,

So happy the gpo helps! :)

Thanks for the detail you provide, I also learned something from it .

-------If my answer is helpful to you, please remember to mark them as answer. Thank you!------

1 Vote 1 ·
sclga-2334 avatar image
0 Votes"
sclga-2334 answered

Hello Alexander, I have the same problem. Did you find a solution?

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

sclga-2334 avatar image
0 Votes"
sclga-2334 answered sclga-2334 published

Understood. In the case of a Notepad++, it was necessary to synchronize the parameters between sections: HKEY_CURRENT_USER\SOFTWARE\Classes, HKEY_LOCAL_MACHINE\SOFTWARE\Classes and HKEY_CLASSES_ROOT.

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes.conf]
@="conf_auto_file"



[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\conf_auto_file]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\conf_auto_file\shell]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\conf_auto_file\shell\open]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\conf_auto_file\shell\open\command]
@="\"C:\\Program Files\\Notepad++\\notepad++.exe\" \"%1\""



[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Applications\notepad++.exe]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Applications\notepad++.exe\shell]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Applications\notepad++.exe\shell\open]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Applications\notepad++.exe\shell\open\command]
@="\"C:\\Program Files\\Notepad++\\notepad++.exe\" \"%1\""

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

usernameforgp avatar image
0 Votes"
usernameforgp answered

Would really appreciate a solution - how does one add choices to the remoteapp file type association UI for setting the file type. The applications on my RDS server do not seem to offer the filetypes they use. The select boxes are empty just as described above

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.