Feb 07 2020 07:47 PM
Feb 07 2020 07:47 PM
We are dealing with an issue with WVD Remote Apps where we cannot set or maintain default apps for users. For instance, we want the default browser to be Chrome, mail to be OutLook, .doc files to open in Word, PDFs to open in Reader and the settings are not sticking. We've tried to apply GPO using the app associations .xml file and it doesn't work. We even went as far as writing policy to modify registry for all app extensions and that doesn't work. NOTE: we are using only remote apps and not a full desktop. This is really the last thing that we can't get to work and are stumped. Any help would be appreciated and would like to know if others have experienced this.
A little more about the setup. We have deployed 2 session hosts with FSLogix containers to host our profiles on a file share.
Feb 11 2020 10:58 AM
Essentially correct. We want the server apps to be associated with the files in user's FSLogix profile. So if a user has a pdf file in OneDrive or in their documents folder, it should associate with Reader.
So far we have tried an associations xml file via GPO as well as some registry settings. We'd like chrome for browser, outlook for mail, word for doc and docx, etc. Every session all apps return to Windows 10 default. So for instance, if we click a URL it will open in edge, a mailto: within outlook will prompt which app to open with and will always default to the windows mail client. Even if the user selects outlook and check to remember this app, if they log off and back in, that gets reset. We are forcing users to one drive and opening files like PDFs and .docs seem to work ok but PDF will always prompt the user to choose a default application for PDFs. It's like it doesn't honor the GPO or registry and will always default to using Windows 10 default apps.
We are using remote apps only and the profiles are handled with FSLogix containers.
Jul 03 2020 09:27 AM
@Mtollex70. We have just experienced the same issue. if we setup a user without launching full desktop the default app associations don't apply but if we log in as full desktop then convert back to remote app, default associations start working. has anyone else experienced this or know of a fix?
Aug 02 2021 11:54 AM
Aug 02 2021 01:50 PM
Hi @Luke Murray
Do you have an example script?
I think the issue I have is the target location is as below as it is not a local installed app.
"C:\Users\jonpaul\AppData\Local\Apps\Remote Desktop\msrdc.exe" "C:\Users\jonpaul\AppData\Local\rdclientwpf\1ed5d778-cf01-41d2-996d-ffe4d90b44d1\0c3203ce-050b-4fb0-a5b2-08d9520686ac.rdp" /u:email@example.com /l:2 /p:13188 /r:3 /n:"Adobe Acrobat DC"
Aug 02 2021 03:14 PM - edited Aug 02 2021 03:15 PM
SetUserFTA.exe -Parameters "mailto Outlook.URL.mailto.15"
Aug 02 2021 04:54 PM - edited Aug 02 2021 04:55 PM
Hi @Luke Murray
I think the issue when looking into this is all the local apps associate themselves with an "AppXxxxxx" ID for Regedit to identify what application needs to run for the file type.
1) I am running Azure Virtual Desktop which runs locally on the machine via the installed app "Remote Desktop" however if you assign this as the default app as expected you will only be able to open the "Remote Desktop" however get an error of unable to open file with this application as it can't read the file (Obviously) which is why I am saying the file needs a couple of things to run.
Target File = "C:\Users\jonpaul\AppData\Local\Apps\Remote Desktop\msrdc.exe" "C:\Users\jonpaul\AppData\Local\rdclientwpf\4ec108f6-9882-4f6b-879b-6c38fda0c6e2\0c3203ce-050b-4fb0-a5b2-08d9520686ac.rdp" /u:firstname.lastname@example.org /l:2 /p:12872 /r:3 /n:"Adobe Acrobat DC"
When you split the Target file up you get the below:
This is "Remote Desktop"
This is "Adobe Pro DC"
/u:email@example.com /l:2 /p:12872 /r:3 /n:"Adobe Acrobat DC"
This is for Adobe Pro DC and Remote Desktop to authenticate you have access to read the Remote installed app.
2) As I see it within SetUserFta you would either need a second field to read the authentication (/u:firstname.lastname@example.org /l:2 /p:12872 /r:3 /n:"Adobe Acrobat DC") to be able to get your machine to even think of running the "Remote Desktop Application"
Please let me know if I am missing a vital part of assigning the "Remote Desktop App"
Maybe I shouldn't be using the path of C:\user\username\Appdata\..... feel free to look me up on LinkedIn Jon-Paul Lewis
Aug 02 2021 06:12 PM
Aug 02 2021 06:38 PM
I think you may have nailed it on the head with not being able to read the files from the local machine even though the app seamlessly works as a local app.
We are using OneDrive replication so we are able to use the application to detect the file as OneDrive appears as a folder within the server.
I think the workaround or the solution that actually works is have all your apps installed on the "Remote Desktop" then you are able to assign "Server Defaults" so "Outlook" is able to open "Excel, Adobe, and any other file type"
Which in turn means that your local machine should be used like a "Thin Client" with nothing installed except "Remote Desktop"
Nov 04 2021 01:27 AM