Open in the explorer

Prevent deleting favorites site data

Empêcher la suppression des données des sites favoris

Type
Computer and user
GPO path
Computer Configuration › Policies › Administrative Templates › Windows Components › Internet Explorer › Delete Browsing History User Configuration › Policies › Administrative Templates › Windows Components › Internet Explorer › Delete Browsing History FR: Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Internet Explorer › Supprimer l’historique de navigationFR: Configuration utilisateur › Stratégies › Modèles d'administration › Composants Windows › Internet Explorer › Supprimer l’historique de navigation
Supported on
At least Internet Explorer 8.0 FR: Au moins Internet Explorer 8.0
ADMX file
inetres.admx
Internal name
inetres/DBHDisableKeepFavorites

Explanation

This policy setting prevents the user from deleting favorites site data. This feature is available in the Delete Browsing History dialog box.

If you enable this policy setting, favorites site data is preserved when the user clicks Delete.

If you disable this policy setting, favorites site 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 favorites site data when he or she clicks Delete.

If the "Prevent access to Delete Browsing History" policy setting is enabled, this policy setting has no effect.

French text from Windows 11 26H2

Ce paramètre de stratégie empêche l’utilisateur de supprimer les données des sites favoris. 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 des sites favoris sont conservées lorsque l’utilisateur clique sur Supprimer.

Si vous désactivez ce paramètre de stratégie, les données des sites favoris 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 des sites favoris lorsqu’il clique sur Supprimer.

Si le paramètre de stratégie « Empêcher l’accès à Supprimer l’historique de navigation » est activé, ce paramètre de stratégie n’a aucun effet.

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Internet Explorer\Privacy
HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Privacy
Value name
UseAllowList
StateValue written
EnabledREG_DWORD = 1
DisabledREG_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/DBHDisableKeepFavorites
$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 'UseAllowList' -Value 1 -Type DWord

Disable

# Disable: inetres/DBHDisableKeepFavorites
$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 'UseAllowList' -Value 0 -Type DWord

Revert to "Not configured"

# Revert to "Not configured": inetres/DBHDisableKeepFavorites
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Privacy'
Remove-ItemProperty -Path $k -Name 'UseAllowList' -ErrorAction SilentlyContinue

User (HKCU)

Enable

Disable

Revert to "Not configured"

Availability