9

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

1 Answer 1

11
+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 }

(Updated) Source: https://chromeenterprise.google/policies/

9
  • 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, 2020 at 6:05
  • However, incognito isn't disabled when I do so. Jun 30, 2020 at 6:05
  • 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, 2020 at 4:34
  • 2
    @MrPhilby and others, list of available policies moved to: cloud.google.com/docs/chrome-enterprise/policies
    – LuxZg
    Dec 9, 2020 at 10:22
  • 1
    I confirm this works today. Thanks !
    – Dan Ortega
    Oct 24, 2021 at 6:25

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.