Posted on 10-29-2020 07:50 AM
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
Posted on 11-06-2020 12:57 AM
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.