Forum Discussion
AB21805
Aug 02, 2021Bronze Contributor
How to block incognito mode on chrome via intune
Hi all, I have tried to block chrome incognito mode I have tried this OMA-URL: ./Device/Vendor/MSFT/Policy/Config/Chrome~Policy~googlechrome/IncognitoModeAvailability value: <enabled...
- Aug 03, 2021SOmething like this: (created it on my iphone so... no guarantees 😛 )
$reg = Get-Itemproperty -Path "HKLM:\SOFTWARE\Policies\Google\Chrome" -Name IncognitoModeAvailability | out-null
if(-not($reg)){
New-Itemproperty -path "HKLM:\\SOFTWARE\Policies\Google\Chrome" -name "IncognitoModeAvailability" -value "2"
} else
{
Set-ItemProperty -path "HKLM:\\SOFTWARE\Policies\Google\Chrome" -name "IncognitoModeAvailability" -value "2"
}
Aug 02, 2021
Maybe a stupid question... but did you ingest the admx also ?
What happens when you target the user instead of device? I have seen in it in the past, that some times the device selection just won't work while configuring this setting.
Did you take a look on what the deviceenterprisemgt eventlog has to say?
What happens when you target the user instead of device? I have seen in it in the past, that some times the device selection just won't work while configuring this setting.
Did you take a look on what the deviceenterprisemgt eventlog has to say?