Prevent deleting InPrivate Filtering data
Empêcher la suppression de données de filtrage InPrivate
Explanation
This policy setting prevents the user from deleting InPrivate Filtering data. Internet Explorer collects InPrivate Filtering data during browser sessions other than InPrivate Browsing sessions to determine which third-party items should be blocked when InPrivate Filtering is enabled. This feature is available in the Delete Browsing History dialog box.
If you enable this policy setting, InPrivate Filtering data is preserved when the user clicks Delete.
If you disable this policy setting, InPrivate Filtering data is deleted when the user clicks Delete.
If you do not configure this policy setting, the user can choose whether to delete or preserve InPrivate Filtering data when he or she clicks Delete.
Ce paramètre de stratégie empêche l’utilisateur de supprimer les données de filtrage InPrivate. Internet Explorer recueille les données de filtrage InPrivate pendant les sessions du navigateur qui ne sont pas des sessions de navigation InPrivate afin de déterminer quels sont les éléments tiers à bloquer lorsque le filtrage InPrivate est activé. Cette fonctionnalité est disponible dans la boîte de dialogue Supprimer l’historique de navigation.
Si vous activez ce paramètre de stratégie, les données de filtrage InPrivate sont conservées lorsque l’utilisateur clique sur Supprimer.
Si vous désactivez ce paramètre de stratégie, les données de filtrage InPrivate sont supprimées lorsque l’utilisateur clique sur Supprimer.
Si vous ne configurez pas ce paramètre de stratégie, l’utilisateur est libre de supprimer ou de conserver les données de filtrage InPrivate lorsqu’il clique sur Supprimer.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Internet Explorer\PrivacyHKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Privacy- Value name
CleanInPrivateBlocking
| State | Value written |
|---|---|
| Enabled | REG_DWORD = 0 |
| Disabled | REG_DWORD = 1 |
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/DBHDisableDeleteInPrivateDataV8
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Privacy'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'CleanInPrivateBlocking' -Value 0 -Type DWordDisable
# Disable: inetres/DBHDisableDeleteInPrivateDataV8
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Privacy'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'CleanInPrivateBlocking' -Value 1 -Type DWordRevert to "Not configured"
# Revert to "Not configured": inetres/DBHDisableDeleteInPrivateDataV8
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Privacy'
Remove-ItemProperty -Path $k -Name 'CleanInPrivateBlocking' -ErrorAction SilentlyContinueUser (HKCU)
Enable
Disable
Revert to "Not configured"