I don't have a config for you but what you need to do is find the relevant file types in HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts and export the keys after setting the file type associations the way you want them. Change the file type associations again and export again. Conditionally apply the registry values based on your user groups.
Hope i'm not Hijacking the thread but my problem is really close to this.
I'm trying to prevent the windows 8.1 "Reader" app from being the initial default pdf reader when someone logs into their VDI. What I did was log in and manually set Acrobat as the default reader then exported the ...\Explorer\FileExts\.pdf key to a reg file. I Imported that file into my User\Logon\ Policy Configuration in EM.
When the user logs into the VDI and opens a pdf it now opens in Acrobat Reader. The only problem is they are greeted with the "Make Adobe Reader my default PDF application" popup. I'm thinking this may actually be an Adobe key. Though i'd ask before I get too deep into it if my approach to this is the simplest/best.
Is there a simpler way?
Your probably missing many other file types from that key other than PDF and its probably seeing that. The simplest solution is to just capture the entire key and let the user say yes the first time.
Thanks guys, I actually got it wrapped up just now. I did a combination of a few things. I should note the desktop image i'm working on isn't going to be persistent. Every time they log out it will reboot and go back to zero. So I need to make some of these basic decisions for them so they don't see them.
1) Adobe Acrobat XI ADMX file can be found here (disable updates,splash screen, 1st time launch crap, etc...):
2) Setting the default file associations in windows 8.x via powershell & ADMX can be found here:
Cliff notes version:
Run PowerShell with elevated permissions
::To export the initial list of file type associations
Dism /Online /Export-DefaultAppAssociations:c:\_Custom\FileTypes\FileAppAssoc.xml
::Edit the file with the apps you would like to set as default, some examples are as follows:
<Association Identifier=".pdf" ProgId="Applications\AcroRd32.exe" ApplicationName="Adobe Reader" />
<Association Identifier=".tif" ProgId="Evince.tifffile" ApplicationName="Evince" />
::to import list after editing them
Dism /Online /Import-DefaultAppAssociations:c:\_Custom\FileTypes\FileAppAssoc.xml
::To get a list
dism /online /get-defaultappassociations
::Key that needs to be edited so everyone will pull this list
::Acomplished by editing a GPO
Computer configuration\administrative templates\Windows Components\File Explorer\ Set a default associations configuration file
3) EM\User\logon - Actions\Registry\CreateKey (this key unchecks "Tell me if Adobe reader is not my default PDF application" in general prefs) :
Product Update :
EM 10.1 FR4 (GA: Jan 2018) will contain an enhancement to our Policy File Type Association Action.
This will enable Admins to set Open FTAs for specified apps on Windows 10.
The most common request here is to prevent the OS from setting PDF files from opening with Microsoft Edge, but it is not limited to this use case.