19
6
I've tried setting default in the reg keys:
hkeycu>software>microsoft>windows>shell>associations>urlassociations>http
and https
.
Tried using master_preference
file.
Tried using command switch --make-default-browser
.
So far these aren't working.
Any help would be appreciated. Open to any to batch files, registry keys, file replacements/edits... basically anything I can automate.
1
This should work for any program you need to set, just change the file path....http://nuance.custhelp.com/app/answers/detail/a_id/15717/~/how-to-set-the-default-pdf-application-from-the-command-line
– Moab – 2016-04-25T02:46:07.787http://stackoverflow.com/questions/17536405/cant-set-chrome-as-default-browser-from-powershell – Moab – 2016-04-25T03:03:28.827
1
In Windows 8 and higher, file associations are to be applied using an XML file... since the hashing algorithm is in place. Pls see https://damonjohns.com/2013/08/16/how-to-deploy-windows-8-enterprise-file-type-associations/ and http://blogs.technet.com/b/mrmlcgn/archive/2013/02/26/windows-8-associate-a-file-type-or-protocol-with-a-specific-app-using-a-gpo-e-g-default-mail-client-for-mailto-protocol.aspx
– w32sh – 2016-04-25T05:02:12.727Check out Judy Li's answer below; it worked for me!
– Sam – 2017-04-05T23:48:28.640