Google Chrome Homepage

mhinsz
New Contributor III

Hello.

I've been tasked with forcing a homepage to stick within Google Chrome. I've seen many discussions, and many paths to try to manage this task. Unfortunately for me, none of them have worked. Many of these paths have taken me to places I'm not familiar with, so there has been a lot of learning needed.

This is what I've tried:
Managed Preferences : (MCX?) - https://www.k12techsystems.com/2014/11/using-managed-preferences-mcx-to-block-or-uninstall-chrome-ex...
https://www.jamf.com/jamf-nation/discussions/12520/chrome-managed-preferences

Changing Google Chrome Manifest - http://www.chromium.org/administrators/policy-templates

Chrome Policy - http://www.chromium.org/administrators/policy-list-3 I'm actually not sure how this is implemented.

Configuration Profiles - These don't seem to apply to Chrome.

This page looked like it would be the most helpful, but nothing I tried worked. https://www.jamf.com/jamf-nation/discussions/9868/chrome-homepage

The most promising thing I've done is use a Snapshot using Composer, but it isn't a method I'd prefer, and I'm hoping to be able to lock the end user from changing the settings.

Thanks in advance for any help or advice.

Mark

19 REPLIES 19

StoneMagnet
Contributor III

@mhinsz A macOS Configuration Profile that contains a Custom Settings payload works well for us.

The settings for that payload are:

Preference Domain for the payload is com.google.Chrome

Ccontents of the Property List File is {RestoreOnStartup=4, HomepageLocation=http://your.homepage.address.com, IncognitoModeAvailability=1, RestoreOnStartupURLs=[http://your.homepage.address.com], HomepageIsNewTabPage=false, DefaultBrowserSettingEnabled=false, ShowHomeButton=true}

mhinsz
New Contributor III

This must be where I've made the mistake. I'm not sure about the formatting of the .plist I upload. Would you be able to display how the file looks before it is uploaded?

Thanks @StoneMagnet

daz_wallace
Contributor III
Contributor III

Hi @mhinsz I've got some blog posts that might help you out:

How to stop first run messages in Google Chrome
Chrome first run messages revisited – with added profiles

Hopefully that'll help you out : )

Darren

StoneMagnet
Contributor III

@mhinsz Here's the source for the com.google.Chrome.plist:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>DefaultBrowserSettingEnabled</key>
    <false/>
    <key>HomepageIsNewTabPage</key>
    <false/>
    <key>HomepageLocation</key>
    <string>http://your.home.page.com</string>
    <key>RestoreOnStartupURLs</key>
    <array>
        <string>http://your.home.page.com</string>
    </array>
    <key>RestoreOnStartup</key>
    <integer>4</integer>
    <key>ShowHomeButton</key>
    <true/>
    <key>IncognitoModeAvailability</key>
    <integer>1</integer>
</dict>
</plist>

mhinsz
New Contributor III

Got it!

Many Thanks. I was missing the indent between <array> <string>http://your.home.page.com</string>

Mikep62
New Contributor II

Thanks to @StoneMagnet from me too! Yes this has made a really easy job of setting a default homepage for Google Chrome, the source is perfect. Older scripts/methods i.e. MCX I tried seemed to have stopped working. This works on GC 62.0.3202.75 and OSX 10.12.6 via a Custom Settings Payload

jamfnc
New Contributor II

Thanks to Stonemagnet. It is working great on 10.13......

nojorge
New Contributor

Thank you for posting this information - this worked very well for me in setting a Chrome homepage for our users.

Where is this plist file stored? When I go to userlibrarypreferencescom.google.Chrome.plist, the file doesn't contain the settings entered in JAMF, even though they seem to have taken affect.

Also, can this .plist file be modified further to prevent the startup messages and tabs that people see when first opening Chrome? I thought I might configure Chrome the way I want on a machine, and then look at the .plist file in order to determine how to push out settings to that effect. But the file in userlibrarypreferencescom.google.Chrome.plist doesn't contain anything other than a couple lines of text referencing Keychain.

cdinsight
New Contributor II

Hi everyone,

This worked on the latest build of Chrome. Variable available at:
http://www.chromium.org/administrators/policy-list-3#HomepageLocation

Plist settings:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict> <key>HomepageIsNewTabPage</key> <false/> <key>HomepageLocation</key> <string>inside.insight.com</string> <key>RestoreOnStartup</key> <integer>4</integer> <key>RestoreOnStartupURLs</key> <array> <string>inside.insight.com</string> </array> <key>ShowHomeButton</key> <true/>
</dict>
</plist>

SeetendraPanda
New Contributor III

@StoneMagnet Does this still work
Can you please help me with the steps to setup this

NYBGIT
New Contributor III

@SeetendraPanda https://www.chromium.org/administrators/policy-list-3 - policies that can be set in plist for chrome.
https://cloud.google.com/chrome-enterprise/browser/download/ - Download Plist from Windows bundle

SeetendraPanda
New Contributor III

Hi @kroberts1 Thanks a lot for your help.
I will check these link and get back you in case i need help

mhasman
Valued Contributor

What key is responsible for Passwords - Auto Sigh-in, please?

c2e1fb92d1b6439aad564cc7d3414a6b

BoscoATX
New Contributor III

@mhasman http://www.chromium.org/administrators/policy-list-3#PasswordManagerEnabled

mhasman
Valued Contributor

@BoscoATX Thank you Arthur! Actually, "PasswordManagerEnabled" is responsable for "Offer to save passwords", and I have it managed and disabled by config profile - see on my screenshot on top of yellow

Forbes_
New Contributor

Thanks @StoneMagnet, Helped us solve this as well!

supersizeal
New Contributor III

How do I build a new plist?

supersizeal
New Contributor III

I tried using this URL for the homepage String,https://brookline.follettdestiny.com/cataloging/servlet/presentadvancedsearchredirectorform.do?site=103&context=saas59_2017854

Using this URL doesn't let me upload the plist but if I were to just use www.google.com it uploads fine.
Anyone have issues uploading a longer url?

GabeShack
Valued Contributor II

Do these managed configuration profiles allow the user to set a different homepage after the initial setup?

Gabe Shackney
Princeton Public Schools

Gabe Shackney
Princeton Public Schools