I have a complex setup that I'm having issues getting to work properly. Microsoft is so aggressive at defaulting PDFs to Edge. Edge gives our organization so many problems when working with PDFs and is one of our largest helpdesk woes. We need to stop Edge from ever becoming the default.
I understand how to set up a default file association using GPO and an XML file, however I need to set the following programatically:
-Default PDF Association: Adobe Reader DC -If user has Nitro PDF installed, default to Nitro PDF -If user has Acrobat Pro 2015/2017 installed, default to Acrobat Pro
I've looked into using a batch file to do this using DISM and setting the default application association, but the settings don't seem to keep and Windows defaults back to Edge as Windows 10 now uses an API and a hash to make sure 3rd party apps aren't changing defaults without the user's permission.
I know I can use GPOs to set the default application association, however with some users needing Nitro PDF and some needing Acrobat Pro, I'm not sure the best way of defaulting associations for our user base. Any ideas?