Skip to main content
Question

Chrome Default Browser


Forum|alt.badge.img+4

Hi Everyone! is there a way through Jamf to change default browser to chrome automatically? or how can we do that? as I don't see any config profile in Jamf for that specific task. We do have a lot of Macs that we need to change their default browser to chrome silently. Thank you!

2 replies

sdagley
Forum|alt.badge.img+25
  • Jamf Heroes
  • 3536 replies
  • March 20, 2023

@mforeman1 There's not a Configuration Profile to set the default browser, but you can do it via Jamf Pro by installing an open-source tool called SwiftDefaultApps and calling the command line tool embedded in it via a script. Here's an example on using it: https://aporlebeke.wordpress.com/2020/07/16/configuring-a-macs-default-apps-for-different-file-types/


Forum|alt.badge.img+10
  • Contributor
  • 88 replies
  • March 21, 2023

I'm using the below script but it will still require the user to click a button to accept it when it prompts them

#!/bin/bash killall "Google Chrome" sleep 5 open -a "Google Chrome" --args --make-default-browser sleep 5 open -a "Google Chrome" exit 0

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings