VMware Horizon Community
mwandell
Enthusiast
Enthusiast

Windows 10 Default Apps

I am having trouble getting Windows 10 to save Default App Association when using Non-Persistent VDI, I am using UEM 9 and Horizon 7.1.  Any help would be appreciated. 

2017-03-30_10-36-40.png

19 Replies
ijdemes
Expert
Expert

Hi mwandell​,

I think you have to add some additional registry keys/values to save "Default Apps".

My INI looks like this:

--

[IncludeRegistryTrees]

HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts

HKCU\Software\Microsoft\Windows\Shell\Associations

HKCU\Software\Microsoft\Windows\CurrentVersion\ApplicationAssociationToasts

[IncludeIndividualRegistryValues]

HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\UserSignedIn

--

HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\UserSignedIn --> include this registry value for saving the "Default Apps"

HKCU\Software\Microsoft\Windows\CurrentVersion\ApplicationAssociationToasts --> include this registry key to save the user's choice after the following selection screen has appeared for a user

tmp1.png

I have done a short test with non-persistent VDI (Horizon 7.1) using Windows 10 Creators Update (1703). For me it worked. But please test-test-test yourself.

I'm also curious if it works for you, so can you please let me know?


\\ Ivan
---
Twitter: @ivandemes
Blog: https://www.ivandemes.com
jmatz135
Hot Shot
Hot Shot

These settings seem to fix the issue for me.

Reply
0 Kudos
ijdemes
Expert
Expert

Thanks for the feedback jmatz135​. I will also do some additional testing, because I only did a short one up to now.


\\ Ivan
---
Twitter: @ivandemes
Blog: https://www.ivandemes.com
Reply
0 Kudos
Sravan_k
Expert
Expert

Hi ijdemes,

Thanks for sharing those key's, it is not working for me properly (I can able to persist default application for only email ), please find the below screens

Please let me know your view on my issue

The below screen shot is before log-off                                                                                       The below screen is after log-on

default-app-beforelogoff.PNG                                  default-app-afterlogon.PNG 

Reply
0 Kudos
ijdemes
Expert
Expert

Which Windows 10 branch version are you using? I only tested with the Creators Update (1703).


\\ Ivan
---
Twitter: @ivandemes
Blog: https://www.ivandemes.com
Reply
0 Kudos
jmatz135
Hot Shot
Hot Shot

My testing was with Windows 10 1607 and it seems to work fine.  I haven't gone through fully rigorous testing, but it definitely will persist most application settings.  Mostly I'm a little worried about Edge taking over HTML and PDF which I need to do more testing to make sure does not happen.

Reply
0 Kudos
Sravan_k
Expert
Expert

jmatz135,

Thanks for response, I am also using 1607 build, can you please confirm that you using only the above reg key right?

Reply
0 Kudos
Sravan_k
Expert
Expert

Thanks for response, I am using 1607

Reply
0 Kudos
jmatz135
Hot Shot
Hot Shot

Yes, I am using the following:

[IncludeRegistryTrees]

HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FileExts

HKCU\SOFTWARE\Microsoft\Windows\Shell\Associations

HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\ApplicationAssociationToasts

[IncludeIndividualRegistryValues]

HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\UserSignedIn

Reply
0 Kudos
Sravan_k
Expert
Expert

are you using any log-on and log-off actions in UEM?

Reply
0 Kudos
ijdemes
Expert
Expert

Hi jmatz135​ / Sravan_k,

Thanks for the feedback!

Regarding Edge and HTML/PDF hijacking, there is an article describing how to prevent this hijacking. Though, I haven't fully tested it myself yet.

http://www.winhelponline.com/blog/edge-hijack-pdf-htm-associations/

I am not running any logon or logoff tasks from UEM.


\\ Ivan
---
Twitter: @ivandemes
Blog: https://www.ivandemes.com
lansti
Hot Shot
Hot Shot

Hi, and thanks for great info.

But i wonder, is it possible to set the default application from systemside at first login for users, and if they change it, it will be remembered?

Best regards
Lansti
Reply
0 Kudos
ijdemes
Expert
Expert

Hi lansti​,

It should be possible using the article below.

https://www.loginvsi.com/blog/login-vsi/518-fixing-default-file-type-associations-in-windows-10


\\ Ivan
---
Twitter: @ivandemes
Blog: https://www.ivandemes.com
Sravan_k
Expert
Expert

It is working for me now!!

Before why it did not work is due to a policy that is applying and saying default FTA over write

Thank you

Vkmr

Reply
0 Kudos
Justin_Y
Enthusiast
Enthusiast

I had followed this in 1607 without success. Also wasn't working in 1703, finally sat down to figure this out and found that if you have a uem shortcut setup to go to a web address it breaks this. Very random, I submitted a ticket with VMware to report the bug.

Reply
0 Kudos
Korrax
Contributor
Contributor

Hi,

are there any new solutions?

We use UEM 7.6.0 with Horizon 7.7 and windows 10 Build 1809.

All written solutions do not work for us.

I tried following solutions:

Export or Import Default Application Associations | Microsoft Docs

https://www.winhelponline.com/blog/edge-hijack-pdf-htm-associations/

Fixing default file type associations in Windows 10 - Login VSI Tips & Tricks - Login VSI

And set in UEM all the Keys you wrote.

Thanks

Reply
0 Kudos
EricNichols
Hot Shot
Hot Shot

In 1607, this is what we have been doing right along.

Roam File and URL associations on Windows 10

Reply
0 Kudos
Korrax
Contributor
Contributor

Hi,

your solution did not work for us.

I found this one which works perfectly:

https://www.ivandemes.com/export-import-file-type-associations-fta-successfully-using-uem/

Thanks for your help.

AlekseiS
Contributor
Contributor

I not permit use close source SetUserFTA.exe.  too got EricNichols script work using settings here Windows 10 – How to configure file associations for IT Pros? – C:>Windows Internals – L'équipe Franç...

Reply
0 Kudos