Hi all,

I have packaged a few iterations of Google Chrome in the past and each time the way I've managed to control the first run actions of chrome for each user was by using the master_preferences file.

The contents of the file are below and the file is installed to C:\Program Files (x86)\Google\Chrome\Application\master_preferences. However, the last couple of releases of Google Chrome I've struggled to get the Master_preferences file to work.

Have Google changed how this file works? Does it no longer work how it used to? Anyone know how to get this working?

Cheers,
Mark

Master_Preferences

{
"homepage" : "http://www.bbc.co.uk",
"show_home_button" : true,
"homepage_is_newtabpage" : false,
"browser" :
    {
        "show_home_button" : true,
        "check_default_browser" : false,
        "window_placement": {
        "bottom": 1000,
        "left": 10,
        "maximized": false,
        "right": 904,
        "top": 10,
        "work_area_bottom": 1010,
        "work_area_left": 0,
        "work_area_right": 1680,
        "work_area_top": 0
    }
},
 "bookmark_bar" :
{
"show_on_all_tabs" : true
},
"distribution" :
{
"skip_first_run_ui" : true,
"show_welcome_page" : false,
"import_search_engine" : false,
"import_history" : false,
"do_not_create_any_shortcuts" : true,
"do_not_launch_chrome" : true,
"do_not_register_for_update_launch": true,
"suppress_first_run_default_browser_prompt": true,
"make_chrome_default" : false,
"msi": true,
"system_level": true,
"do_not_create_desktop_shortcut" : true,
"do_not_create_taskbar_shortcut" : true,
"create_all_shortcuts" : false
}
}

2 Comments   [ + ] Show Comments

Comments

  • Upon further investigation, it seems the master_preferences file is being read but it's not applying the Homepage part. It seems to want to open Google Chrome at the Sign in to Chrome tab.
  • Hi. How do you get rid of the default browser check in Chrome 51 and above? This doesn't seem to work in master_preferences:

    "browser":{"default_browser_infobar_last_declined":"13118355510967964",

    Ok, this unusual setting seems to work in master_preferences for now:

    "browser":{"should_reset_check_default_browser":false,
Please log in to comment

Answers

0
i have recently been doing chrome and havent had an issue with it, i am currently working on the latest enterprise version and will let you know, something else ive notice is i dont know if there was an issue with the copy of the contents but you appear to be missing an addition { or you have one to many }
Answered 07/14/2016 by: sparky86
Fourth Degree Brown Belt

Please log in to comment
0
I have managed to get this working and I have had to edit the master_preferences file from one that worked a couple of versions ago.

Please find the working master_preferences file below for my needs

{
    "homepage": "http://www.bbc.co.uk",
    "homepage_is_newtabpage": false,
    "browser": {
        "show_home_button": true,
        "check_default_browser": false,
        "window_placement": {
            "bottom": 1000,
            "left": 10,
            "maximized": false,
            "right": 904,
            "top": 10,
            "work_area_bottom": 1010,
            "work_area_left": 0,
            "work_area_right": 1680,
            "work_area_top": 0
        }
    },
    "session": {
        "restore_on_startup": 4,
        "startup_urls": [
            "http://www.bbc.co.uk"
        ]
    },
    "bookmark_bar": {
        "show_on_all_tabs": true
    },
    "sync_promo": {
        "show_on_first_run_allowed": false
    },
    "distribution": {
        "skip_first_run_ui": true,
        "show_welcome_page": false,
        "import_history": false,
        "import_search_engine": false,
        "ping_delay": 60,
        "do_not_create_any_shortcuts": true,
        "do_not_launch_chrome": true,
        "do_not_register_for_update_launch": true,
        "suppress_first_run_default_browser_prompt": true,
        "make_chrome_default": false,
        "msi": true,
        "system_level": true,
        "do_not_create_desktop_shortcut": true,
        "do_not_create_taskbar_shortcut": true,
        "create_all_shortcuts": false,
        "suppress_first_run_bubble": true,
        "do_not_create_quick_launch_shortcut": true,
        "verbose_logging": true
    },
    "first_run_tabs": [
        "http://www.bbc.co.uk"
    ]
}

Answered 07/14/2016 by: mark_holland21
Fourth Degree Green Belt

Please log in to comment
Answer this question or Comment on this question for clarity