Has anyone had any luck finding a way to make Chrome the default browser automatically for all users? We're using Catalina (10.15). The closest thing I have been able to do is just block Safari notifications asking to be the default browser once the user switched to Chrome. Thanks!
Setting the default browser lives in the user space and Apple took control over that away years ago. 'Cause Apple. It's not impossible, but it's not easy. Some folks have had success in the past trying to use tools like launchsetter or duti but I'll be honest, that may not be easy. Check out the blog post here - https://technology.siprep.org/script-making-chrome-the-default-browser-on-macos/ - that might get you going in the right direction.
Do you have Apple Enterprise support? Ask them for an official "Apple" way and when they come back and say it can't be managed, give them proper feedback. Also - check out this post here - https://community.jamf.com/t5/jamf-pro/setting-default-browser-in-mojave-to-something-other-than-saf... - a few folks have posted a few different options, but they are a few years old, no guarantee they still work.
Hi @targendaz Thanks for the info, It helps a lot!
can you please explain a little more about the flow of distribution through Jamf (as a script),
About the msda set [-h] [-feu] [-fut] [-e EXTENSION ROLE] [-p PROTOCOL] [-u UTI ROLE] app_id
I try to set Google Chrome as the default web browser.
I created new policy, added the script (Set the JAMF variable to True in the User-Editable Settings section)
and the command -h --version Parameter 4 text in the policy.
About the Set command, Where it should be done?
msda set com.google.chrome -p http -p https -u public.url all -u public.html viewer -u public.xhtml all -fut
thank you for sharing, @targendaz!
That's what I've been looking for.
it works wonderfully on macos 11.5.1 & M1 and 11.4.0 & Intel.
I put the script in the same policy as the Google Chrome Self Service Installation.
Parameter 4 is: set com.google.chrome -p http -p https -p mailto -u public.url all -u public.html viewer -u public.xhtml all -fut