Allow Saving History
Autoriser l’enregistrement de l’historique
Explanation
Microsoft Edge saves your user's browsing history, which is made up of info about the websites they visit, on their devices.
If enabled or not configured, the browsing history is saved and visible in the History pane.
If disabled, the browsing history stops saving and is not visible in the History pane. If browsing history exists before this policy was disabled, the previous browsing history remains visible in the History pane. This policy, when disabled, does not stop roaming of existing history or history coming from other roamed devices.
Microsoft Edge enregistre l'historique de navigation de votre utilisateur, qui est composé d'informations sur les sites web qu'il visite, sur ses appareils.
Si cette option est activée ou n'est pas configurée, l'historique de navigation est enregistré et visible dans le volet Historique.
Si cette option est désactivée, l'historique de navigation arrête d'enregistrer et n'est pas visible dans le volet Historique. Si l'historique de navigation existe avant la désactivation de cette stratégie, l'historique de navigation précédent reste visible dans le volet Historique. Cette stratégie, lorsqu'elle est désactivée, n'arrête pas l'itinérance de l'historique existant ou de l'historique provenant d'autres appareils itinérants.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\MicrosoftEdge\MainHKEY_CURRENT_USER\Software\Policies\Microsoft\MicrosoftEdge\Main- Value name
AllowSavingHistory
| 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: MicrosoftEdge/AllowSavingHistory
$k = 'HKLM:\Software\Policies\Microsoft\MicrosoftEdge\Main'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'AllowSavingHistory' -Value 1 -Type DWordDisable
# Disable: MicrosoftEdge/AllowSavingHistory
$k = 'HKLM:\Software\Policies\Microsoft\MicrosoftEdge\Main'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'AllowSavingHistory' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": MicrosoftEdge/AllowSavingHistory
$k = 'HKLM:\Software\Policies\Microsoft\MicrosoftEdge\Main'
Remove-ItemProperty -Path $k -Name 'AllowSavingHistory' -ErrorAction SilentlyContinueUser (HKCU)
Enable
Disable
Revert to "Not configured"