Forcing the Microsoft Purview Extension into Chrome Incognito

0
Browser_Extension

So you deployed the Purview extension and felt great about it

Picture the scene. You’ve force-installed the Microsoft Purview extension across your Windows fleet, your DLP policies are humming, Chrome is officially a Grown-Up Managed Browser, and you lean back with a cup of tea feeling like a compliance hero.

Then someone opens an Incognito window.

And just like that, your shiny DLP control vanishes. Chrome disables extensions in Incognito by default, so the Purview extension simply isn’t there: no monitoring, no blocking, no telemetry. A user can pop open Incognito and upload whatever they like to wherever they like, and Purview never sees a thing.

Here’s the kicker. As an admin, you can’t force an extension on in Incognito. Google only lets the user flip that switch, by hand, per extension. No policy, no GPO, no Intune toggle does it for you. Which is a slightly awkward spot to be in when the entire point of the extension is stopping people doing sketchy things quietly.

The dead ends (so you don’t waste an afternoon)

Before the good bit, here’s what doesn’t work, because I tried so you don’t have to:

  • A GPO or Intune toggle for “allow in Incognito.” Doesn’t exist. Google deliberately leaves that switch to the user, per extension. Nothing flips it on their behalf.
  • “Just disable Incognito.” This is actually Microsoft’s guidance: the extension doesn’t support Incognito, so turn it off with IncognitoModeAvailability. It works and it’s fully supported, but it’s a sledgehammer, and the people who use Incognito for a quick second sign-in will grumble.
  • Editing Chrome’s Secure Preferences file to flip the flag yourself. Please don’t. Chrome guards that file with an HMAC hash precisely to stop anything but the browser changing it, and forging that hash is a technique straight out of the malware playbook. Your own EDR could flag it, it breaks on updates, and it’s exactly the sort of thing you don’t want turning up in a security deliverable.

The trick: a policy Google hasn’t shipped on Windows (yet)

There is a policy built for exactly this problem: MandatoryExtensionsForIncognitoNavigation. You feed it a list of extension IDs, and Chrome blocks Incognito browsing until the user allows those extensions in Incognito. It’s fail-closed, which is lovely, and it keeps Incognito as a feature instead of nuking it entirely.

The catch? It’s officially ChromeOS only. On Windows it shows up in chrome://policy as Unreleased, which means the code is sitting in your build but switched off.

And this is where it gets properly entertaining. There’s a Chromium issue that’s been running since 2022, issue 40269962, where admins have been poking Google to bring this policy to Windows and Mac for years. Google extended it to desktop, reverted it, relanded it, and as recently as mid-2025 a Googler was still replying that it’s ChromeOS only with “no ETA” for anywhere else. So it’s close, but not shipped. Worth a read if you enjoy the slow-motion drama of enterprise feature requests.

Here’s the good news: “Unreleased” doesn’t mean “unusable.” Chrome has a switch called EnableExperimentalPolicies that tells it to honour named policies despite their unreleased status. Add both of these to the registry via PowerShell(elevated):

# Precondition: this policy does nothing if Incognito is already disabled
$inc = (Get-ItemProperty 'HKLM:\SOFTWARE\Policies\Google\Chrome' -Name 'IncognitoModeAvailability' -ErrorAction SilentlyContinue).IncognitoModeAvailability
if ($inc -eq 1) { Write-Warning 'IncognitoModeAvailability is 1 (Incognito disabled) - clear it or this policy has no effect.' }
# 1. Require the Purview extension in Incognito
$mandatory = 'HKLM:\SOFTWARE\Policies\Google\Chrome\MandatoryExtensionsForIncognitoNavigation'
New-Item -Path $mandatory -Force | Out-Null
New-ItemProperty -Path $mandatory -Name '1' -Value 'echcggldkblhodogklpincgchnpgcdco' -PropertyType String -Force | Out-Null
# 2. Tell Chrome to honour the still-unreleased policy
$experimental = 'HKLM:\SOFTWARE\Policies\Google\Chrome\EnableExperimentalPolicies'
New-Item -Path $experimental -Force | Out-Null
New-ItemProperty -Path $experimental -Name '1' -Value 'MandatoryExtensionsForIncognitoNavigation' -PropertyType String -Force | Out-Null
Write-Host 'Done. Fully restart Chrome, then open chrome://policy and hit Reload policies.'

The first key arms the policy with the Purview extension ID. The second tells Chrome to actually respect it. Both are list policies, so the extension ID and the policy name each go in a value named 1. Fully quit and reopen Chrome, go to chrome://policy, hit Reload policies, and watch the status flip from Unreleased to OK.

And… it actually works

Open an Incognito window now, and instead of the usual anything-goes free-for-all, Chrome stops you dead with this:

Chrome blocking Incognito until the Microsoft Purview extension is allowed in it

That’s Chrome refusing to let Incognito go anywhere until the Purview extension is allowed in it. The user gets a neat little set of instructions, and until they follow them, Incognito simply doesn’t browse. Fail-closed, exactly as you’d want a DLP control to behave.

Before you roll this out to 10,000 machines consider:

I know, I know. It works, it’s neat, you want to ship it on Friday. Here’s why I’d keep it firmly in the lab for now:

  • Experimental means unsupported. EnableExperimentalPolicies can change or disappear in any Chrome release, and Google’s own warning is that experimental policies may be unfinished and can be altered or removed without notice.
  • It can fail silently. If a Chrome update breaks the gate, enforcement quietly switches off and nothing tells you. Incognito goes back to running without Purview, and you’d never know unless you’re actively watching chrome://policy across the fleet. A DLP control that can die quietly while you think it’s alive is the worst kind.
  • Microsoft doesn’t validate Purview in Incognito. You’ve made Chrome require the extension in Incognito, but that’s not the same as Microsoft confirming the extension actually enforces DLP correctly there. You could get a green tick and only partial (or no) real enforcement, which is arguably worse than a known gap, because now you think you’re covered.
  • It’s thin audit evidence. For a regulated client, “we turned on an experimental browser flag” is not a line that lands well with a risk function or an auditor.

So treat this as a proof of concept and an early warning that Windows support is getting close, not as a production control. And test it properly before trusting it: run real DLP actions inside Incognito and confirm they actually surface in Activity Explorer and the DLP alerts dashboard, not just that the pretty block screen appears.

TL;DR

  • Chrome kills extensions in Incognito, so the Purview extension is a DLP blind spot there, and you can’t force it on as an admin.
  • MandatoryExtensionsForIncognitoNavigation is built for this, but it’s ChromeOS only. On Windows it reads as “Unreleased,” and Google has been sitting on desktop support for years (issue 40269962).
  • Pair it with EnableExperimentalPolicies and it springs to life on Windows, at least in the lab.
  • But it’s experimental, unsupported, can fail silently, and Microsoft doesn’t bless Purview in Incognito. Lab toy for now, not a production control.
  • For real coverage today: disable Incognito, or route sensitive work to Edge, where DLP is built in and there’s no extension to babysit.

Sources: Google: using extensions in Incognito, Microsoft: Purview extension for Chrome, Chromium issue 40269962. Accurate as of 30 November 2026.

Leave a Reply

Your email address will not be published. Required fields are marked *