8

Similar to disabling Incognito mode to stop users bypassing extensions, is there a way to disable Chrome's Guest Window?

8
+50

I worked out a solution that is now possible since May 2019 using policies and the same method as disabling Incognito mode.

If you're using chrome, create the folder /etc/opt/chrome/policies/managed. (I'm guessing if you're using chromium, create the folder /etc/chromium/policies/managed.)

Then create a file in that directory named test_policy.json. It can have any name you want, but it needs the extension to be .json.

Open it in your favorite editor and put:

{ "BrowserGuestModeEnabled": false }

Source: https://www.chromium.org/administrators/policy-list-3

8
  • 1
    Hi, this solution is brilliant. However, if you can, can you help me to figure out how to do both: disable Incognito+ disable guest mode. I made the son file and wrote { "IncognitoModeAvailability": 1, "BrowserGuestModeEnabled": false }. Jun 30 '20 at 6:05
  • However, incognito isn't disabled when I do so. Jun 30 '20 at 6:05
  • Creating separate files with names as test_policy.json and test_policy_1.json doesn't work. Jun 30 '20 at 6:06
  • 2
    you can't have any line breaks in the policy file. So it should look like: { "BrowserGuestModeEnabled": false, "IncognitoModeAvailability": 1 }
    – Mr Philby
    Jul 3 '20 at 4:34
  • 1
    @MrPhilby and others, list of available policies moved to: cloud.google.com/docs/chrome-enterprise/policies
    – LuxZg
    Dec 9 '20 at 10:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.