This script will disable Incognito mode. We have a policy which runs the script. We are finding that it works once the MacOS machine is restarted.
!/bin/bash
defaults write com.google.chrome IncognitoModeAvailability -integer 1
@BerkleySupport he's asking for the exact opposite of that... he wants the browser to ALWAYS be incognito.
I did a quick look and the only way that I could find on short notice is to replace the chrome shortcut with a script that launches it in incognito, maybe give that a try. script info is here
I don't think this is the best way to go about this problem tho, i think setting up a guest account and idle logout timers probably a cleaner solution.
@BerkeleySupport
can this command be applied at the user level? That would answer your earlier question, right?
@fsteffy I found your solution!
Use profile creator to create a config profile for google chrome.
there is a setting that will force incognito mode, it also allows for setting homepages and bookmarks and much much more

Tried that but it won't push to the device
In case anyone else finds this via search before this page - there is currently a "2" option that forces incognito for the setting:
defaults write com.google.chrome IncognitoModeAvailability -integer 2
https://cloud.google.com/docs/chrome-enterprise/policies/?policy=IncognitoModeAvailability
In case anyone else finds this via search before this page - there is currently a "2" option that forces incognito for the setting:
defaults write com.google.chrome IncognitoModeAvailability -integer 2
https://cloud.google.com/docs/chrome-enterprise/policies/?policy=IncognitoModeAvailability
How do you get this to work? A script?
@fsteffy I found your solution!
Use profile creator to create a config profile for google chrome.
there is a setting that will force incognito mode, it also allows for setting homepages and bookmarks and much much more

Just came across this, never used Profile Creator and was able to create a restrict to Incognito Mode config profile perfectly in like 10 minutes, thanks!!! Excited to look into what else I can use it for.
This script will disable Incognito mode. We have a policy which runs the script. We are finding that it works once the MacOS machine is restarted.
!/bin/bash
defaults write com.google.chrome IncognitoModeAvailability -integer 1
Would you mind sharing the entire script ?? I have tried a few but none of them seemed like working.
!/bin/bash
defaults write com.google.chrome IncognitoModeAvailability -integer 2
This should be the incognito force one but not working
In case anyone else finds this via search before this page - there is currently a "2" option that forces incognito for the setting:
defaults write com.google.chrome IncognitoModeAvailability -integer 2
https://cloud.google.com/docs/chrome-enterprise/policies/?policy=IncognitoModeAvailability
!/bin/bash
defaults write com.google.chrome IncognitoModeAvailability -integer 2
is this the correct format ?