Default apps in WVD

%3CLINGO-SUB%20id%3D%22lingo-sub-1161150%22%20slang%3D%22en-US%22%3EDefault%20apps%20in%20WVD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1161150%22%20slang%3D%22en-US%22%3E%3CP%3EWe%20are%20dealing%20with%20an%20issue%20with%20WVD%20Remote%20Apps%20where%20we%20cannot%20set%20or%20maintain%20default%20apps%20for%20users.%26nbsp%3B%20For%20instance%2C%20we%20want%20the%20default%20browser%20to%20be%20Chrome%2C%20mail%20to%20be%20OutLook%2C%20.doc%20files%20to%20open%20in%20Word%2C%20PDFs%20to%20open%20in%20Reader%20and%20the%20settings%20are%20not%20sticking.%26nbsp%3B%20We've%20tried%20to%20apply%20GPO%20using%20the%20app%20associations%20.xml%20file%20and%20it%20doesn't%20work.%26nbsp%3B%20We%20even%20went%20as%20far%20as%20writing%20policy%20to%20modify%20registry%20for%20all%20app%20extensions%20and%20that%20doesn't%20work.%26nbsp%3B%20NOTE%3A%20we%20are%20using%20only%20remote%20apps%20and%20not%20a%20full%20desktop.%26nbsp%3B%20This%20is%20really%20the%20last%20thing%20that%20we%20can't%20get%20to%20work%20and%20are%20stumped.%26nbsp%3B%20Any%20help%20would%20be%20appreciated%20and%20would%20like%20to%20know%20if%20others%20have%20experienced%20this.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EA%20little%20more%20about%20the%20setup.%26nbsp%3B%20We%20have%20deployed%202%20session%20hosts%20with%20FSLogix%20containers%20to%20host%20our%20profiles%20on%20a%20file%20share.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1167097%22%20slang%3D%22en-US%22%3ERe%3A%20Default%20apps%20in%20WVD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1167097%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F279502%22%20target%3D%22_blank%22%3E%40stevenzelenko%3C%2FA%3E%26nbsp%3B%3A%20Let%20me%20send%20around%20to%20the%20rest%20of%20the%20team%2C%20to%20see%20if%20they%20have%20guidance%20on%20this.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1167228%22%20slang%3D%22en-US%22%3ERe%3A%20Default%20apps%20in%20WVD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1167228%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F279502%22%20target%3D%22_blank%22%3E%40stevenzelenko%3C%2FA%3E%2C%20am%20I%20correct%20that%20you%20want%20files%20on%20the%20remote%20server%20to%20open%20with%20the%20right%20app%20as%20defined%20on%20that%20remote%20server%3F%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOr%20are%20you%20trying%20to%20associate%20local%20files%20to%20open%20in%20a%20remote%20app%3F%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EDavid%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1167517%22%20slang%3D%22en-US%22%3ERe%3A%20Default%20apps%20in%20WVD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1167517%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F217952%22%20target%3D%22_blank%22%3E%40David%20Belanger%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EEssentially%20correct.%26nbsp%3B%20We%20want%20the%20server%20apps%20to%20be%20associated%20with%20the%20files%20in%20user's%20FSLogix%20profile.%26nbsp%3B%20So%20if%20a%20user%20has%20a%20pdf%20file%20in%20OneDrive%20or%20in%20their%20documents%20folder%2C%20it%20should%20associate%20with%20Reader.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESo%20far%20we%20have%20tried%20an%20associations%20xml%20file%20via%20GPO%20as%20well%20as%20some%20registry%20settings.%26nbsp%3B%20We'd%20like%20chrome%20for%20browser%2C%20outlook%20for%20mail%2C%20word%20for%20doc%20and%20docx%2C%20etc.%26nbsp%3B%20Every%20session%20all%20apps%20return%20to%20Windows%2010%20default.%26nbsp%3B%20So%20for%20instance%2C%20if%20we%20click%20a%20URL%20it%20will%20open%20in%20edge%2C%20a%20mailto%3A%20within%20outlook%20will%20prompt%20which%20app%20to%20open%20with%20and%20will%20always%20default%20to%20the%20windows%20mail%20client.%26nbsp%3B%20Even%20if%20the%20user%20selects%20outlook%20and%20check%20to%20remember%20this%20app%2C%20if%20they%20log%20off%20and%20back%20in%2C%20that%20gets%20reset.%26nbsp%3B%20We%20are%20forcing%20users%20to%20one%20drive%20and%20opening%20files%20like%20PDFs%20and%20.docs%20seem%20to%20work%20ok%20but%20PDF%20will%20always%20prompt%20the%20user%20to%20choose%20a%20default%20application%20for%20PDFs.%26nbsp%3B%20It's%20like%20it%20doesn't%20honor%20the%20GPO%20or%20registry%20and%20will%20always%20default%20to%20using%20Windows%2010%20default%20apps.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWe%20are%20using%20remote%20apps%20only%20and%20the%20profiles%20are%20handled%20with%20FSLogix%20containers.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1414055%22%20slang%3D%22en-US%22%3ERe%3A%20Default%20apps%20in%20WVD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1414055%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F279502%22%20target%3D%22_blank%22%3E%40stevenzelenko%3C%2FA%3E%26nbsp%3BDid%20you%20find%20a%20solution%20to%20this%3F%20We%20have%20the%20exact%20same%20problem.%20The%20XML%20file%20through%20GPO%20works%20fine%20for%20full%20desktops%2C%20but%20looks%20like%20its%20ignored%20with%20RemoteApps.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1504045%22%20slang%3D%22en-US%22%3ERe%3A%20Default%20apps%20in%20WVD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1504045%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F377587%22%20target%3D%22_blank%22%3E%40Mtollex70%3C%2FA%3E.%20We%20have%20just%20experienced%20the%20same%20issue.%20if%20we%20setup%20a%20user%20without%20launching%20full%20desktop%20the%20default%20app%20associations%20don't%20apply%20but%20if%20we%20log%20in%20as%20full%20desktop%20then%20convert%20back%20to%20remote%20app%2C%20default%20associations%20start%20working.%20has%20anyone%20else%20experienced%20this%20or%20know%20of%20a%20fix%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1788032%22%20slang%3D%22en-US%22%3ERe%3A%20Default%20apps%20in%20WVD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1788032%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F279502%22%20target%3D%22_blank%22%3E%40stevenzelenko%3C%2FA%3E%26nbsp%3BI%20am%20not%20even%20able%20to%20configure%20default%20apps%20for%20my%20desktops.%20WE%20used%20GPOs%20to%20do%20it%20but%20they%20are%20not%20sticking.%20Anyone%20aware%20about%20this%3F%20or%20just%20me%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E
Contributor

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.

15 Replies

@stevenzelenko : Let me send around to the rest of the team, to see if they have guidance on this.

Hi @stevenzelenko, am I correct that you want files on the remote server to open with the right app as defined on that remote server?

 

Or are you trying to associate local files to open in a remote app?

 

David

@David Belanger 

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.

@stevenzelenko Did you find a solution to this? We have the exact same problem. The XML file through GPO works fine for full desktops, but looks like its ignored with RemoteApps. 

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

@stevenzelenko I am not even able to configure default apps for my desktops. WE used GPOs to do it but they are not sticking. Anyone aware about this? or just me?

did you ever get a solution for this? @stevenzelenko 

Something else to try - I use this for setting up my user associations (on a script I use for setting up Windows 10 associations, sets Mail etc, I would assume it would work in AVD, but haven't tested it) - https://kolbi.cz/blog/2017/10/25/setuserfta-userchoice-hash-defeated-set-file-type-associations-per-...

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:jonpaul@mckeefehl.co.nz /l:2 /p:13188 /r:3  /n:"Adobe Acrobat DC"

@JPLewis 

SetUserFTA.exe -Parameters "mailto Outlook.URL.mailto.15"

SetUserFTA.exe -Parameters "http ChromeHTML" 
SetUserFTA.exe -Parameters "https ChromeHTML" 
 
^ is what I used, the first one sets the mail app to Outlook.
 
Try using to get the associations/apps:
SetUserFTA.exe get

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:jonpaul@mckeefehl.co.nz /l:2 /p:12872 /r:3 /n:"Adobe Acrobat DC"

 

When you split the Target file up you get the below:

"C:\Users\jonpaul\AppData\Local\Apps\Remote Desktop\msrdc.exe"

 

This is "Remote Desktop"

"C:\Users\jonpaul\AppData\Local\rdclientwpf\4ec108f6-9882-4f6b-879b-6c38fda0c6e2\0c3203ce-050b-4fb0-a5b2-08d9520686ac.rdp"

 

This is "Adobe Pro DC"

/u:jonpaul@mckeefehl.co.nz /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:jonpaul@mckeefehl.co.nz /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

I can't think of anything specific off the top of my head.

It may be that that kind of seamless interaction may not be possible, even if you could get the PDF to open with Remote Desktop, it won't pass through the file, you may have to use OneDrive on the session hosts to share the files between the two.

@Luke Murray 

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"

Might be of interest, new Video from Azure Academy, requires third party software but integrates with AVD and looks to make user experiance easier:
https://www.youtube.com/watch?v=cszpDeo0aDk
https://www.liquit.com/
Has anyone found a solution how to do the file association even with Seamless Applications (without starting a desktop once)?