Chrome CBCM - policies need to be reloaded manually in order to get them work - why?

mucgyver
New Contributor III

Hey all.

I tried to get Google Chrome CBCM running with a Config profile, and basically, it looks fine.... except that the intended settings (mainly URLs zu open at first start and set Chrome as default browser) fail to apply as soon as Chrome is auto-opened during enrollment via a script:

#!/bin/sh
# Get the currently logged in user
loggedInUser=`ls -l /dev/console | cut -d " " -f 4`
echo "Current user is $loggedInUser"
sudo -u $loggedInUser open -a "Google Chrome"
exit 0

EDIT: Same behaviour if Chrome is manually started by user, not via script.

However, when I check chrome://policy, all pre-defined policies from CBCM show up fine, so I would assume that they got properly loaded by Chrome before. Odd thing: When I no click on "Reload policies" in this window, close and re-open Chrome, all settings (except for wallpaper, but let's forget about this one), are now properly applied.

So, does anyone understand why this policies show no effect on first launch?

I attached some screenshots that might be helpful. Thank you all in advance.

Best regards
Chris

08ef23c6d10f43c98df30c1248a7dd7b

8e9a70d38c694a28ab2de81b2fc56047

e9e9b3aea44343acba866085cb9c2565

1 REPLY 1

mucgyver
New Contributor III

Sorry, anyone any idea? I am totally stuck with this. As a workaround, a script command to reload policies upon first start could probably also help. Thanks.