Prevent access to Delete Browsing History
Empêcher l’accès à Supprimer l’historique de navigation
Explanation
This policy setting prevents the user from performing actions which will delete browsing history. For more information on browsing history Group Policy settings, see "Group Policies Settings in Internet Explorer 10" in the TechNet technical library.
If you enable this policy setting, the user cannot access the Delete Browsing History dialog box. Starting with Windows 8, users cannot click the Delete Browsing History button on the Settings charm.
If you disable or do not configure this policy setting, the user can access the Delete Browsing History dialog box. Starting with Windows 8, users can click the Delete Browsing History button on the Settings charm.
Ce paramètre de stratégie empêche l’utilisateur d’effectuer des actions qui suppriment l’historique de navigation. Pour plus d’informations sur les paramètres de stratégie de groupe relatifs à l’historique de navigation, voir « Paramètres de stratégie de groupe dans Internet Explorer 10 » dans la bibliothèque technique TechNet.
Si vous activez ce paramètre de stratégie, l’utilisateur ne peut pas accéder à la boîte de dialogue Supprimer l’historique de navigation. À compter de Windows 8, les utilisateurs ne peuvent pas cliquer sur le bouton Supprimer l’historique de navigation sur l’icône Paramètres.
Si vous désactivez ce paramètre de stratégie ou si vous ne le configurez pas, l’utilisateur peut accéder à la boîte de dialogue Supprimer l’historique de navigation. À compter de Windows 8, les utilisateurs peuvent cliquer sur le bouton Supprimer l’historique de navigation sur l’icône Paramètres.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Internet Explorer\Control PanelHKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Control Panel- Value name
DisableDeleteBrowsingHistory
| 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/NoDelBrowsingHistory
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Control Panel'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'DisableDeleteBrowsingHistory' -Value 1 -Type DWordDisable
# Disable: inetres/NoDelBrowsingHistory
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Control Panel'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'DisableDeleteBrowsingHistory' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": inetres/NoDelBrowsingHistory
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Control Panel'
Remove-ItemProperty -Path $k -Name 'DisableDeleteBrowsingHistory' -ErrorAction SilentlyContinueUser (HKCU)
Enable
Disable
Revert to "Not configured"