Turn off collection of InPrivate Filtering data
Désactiver la collecte de données de filtrage InPrivate
Explanation
This policy setting allows you to turn off the collection of data used by the InPrivate Filtering Automatic mode.
The data consists of the URLs of third-party content, along with data about the first-party websites that referenced it. It is collected during non-InPrivate (normal) browsing sessions.
If you enable this policy setting, InPrivate Filtering data collection is turned off.
If you disable this policy setting, InPrivate Filtering collection is turned on.
If you do not configure this policy setting, InPrivate Filtering data collection can be turned on or off on the Privacy tab in Internet Options.
Ce paramètre de stratégie vous permet de désactiver la collecte des données utilisées par le mode automatique de filtrage InPrivate.
Les données se composent des URL de contenu tiers ainsi que des sites Web internes qui y font référence. Ces données sont collectées au cours des sessions de navigation normales (non InPrivate).
Si vous activez ce paramètre de stratégie, la collecte de données de filtrage InPrivate est désactivée.
Si vous désactivez ce paramètre de stratégie, la collecte de données de filtrage InPrivate est activée.
Si vous ne configurez pas ce paramètre de stratégie, la collecte de données de filtrage InPrivate peut être activée ou désactivée sous l’onglet Confidentialité dans Options Internet.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Internet Explorer\Safety\PrivacIEHKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Safety\PrivacIE- Value name
DisableLogging
| State | Value written |
|---|---|
| Enabled | REG_DWORD = 1 |
| Disabled | REG_DWORD = 0 |
PowerShell
PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.
Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.
Computer (HKLM)
Enable
# Enable: inetres/DisableInPrivateLogging
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Safety\PrivacIE'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'DisableLogging' -Value 1 -Type DWordDisable
# Disable: inetres/DisableInPrivateLogging
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Safety\PrivacIE'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'DisableLogging' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": inetres/DisableInPrivateLogging
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Safety\PrivacIE'
Remove-ItemProperty -Path $k -Name 'DisableLogging' -ErrorAction SilentlyContinueUser (HKCU)
Enable
Disable
Revert to "Not configured"