Browsing Data Lifetime Settings
Cette stratégie n'a pas de traduction française dans les modèles de l'éditeur ; le texte original est en anglais.
Explication
This policy controls how long specific types of browsing data are retained.
If Sync is enabled, this policy has no effect.
You can specify the following data types:
'browsing_history'
'download_history'
'cookies_and_other_site_data'
'cached_images_and_files'
'password_signin'
'autofill'
'site_settings'
'hosted_app_data'
Microsoft Edge periodically deletes data of the selected types that's older than the value set by 'time_to_live_in_hours'.
Expired data is removed 15 seconds after browser startup and every hour while the browser is running.
Note: Deleting cookies using this policy doesn't sign the user out of their profile, the user stays signed in.
Example value:
[
{
"data_types": [
"browsing_history"
],
"time_to_live_in_hours": 24
},
{
"data_types": [
"password_signin",
"autofill"
],
"time_to_live_in_hours": 12
}
]
Registre
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\EdgeHKEY_CURRENT_USER\Software\Policies\Microsoft\Edge- Nom de la valeur
- non défini dans l'ADMX
Valeurs d'activation / désactivation : non défini dans l'ADMX (voir les options ci-dessous).
PowerShell
Commandes PowerShell qui écrivent dans le registre ce que la stratégie écrirait. Les valeurs entre chevrons (<…>) sont à remplacer.
Écrire directement dans le registre contourne la stratégie de groupe : si une GPO gère cette valeur, elle sera réécrite au prochain gpupdate ; sinon la valeur reste en place (effet « tatouage »). Préférez une GPO ou, en local, LGPO.exe. Exécutez PowerShell en administrateur pour HKLM. Certaines stratégies demandent un redémarrage ou gpupdate /force.
Ordinateur (HKLM)
Activer
# Activer : msedge/BrowsingDataLifetime
$k = 'HKLM:\Software\Policies\Microsoft\Edge'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Browsing Data Lifetime Settings
Set-ItemProperty -Path $k -Name 'BrowsingDataLifetime' -Value '<valeur>' -Type StringDésactiver
# Désactiver : msedge/BrowsingDataLifetime
# Aucune valeur n'est écrite à l'état « Désactivé » (rien de défini dans l'ADMX)Revenir à « Non configuré »
# Revenir à « Non configuré » : msedge/BrowsingDataLifetime
$k = 'HKLM:\Software\Policies\Microsoft\Edge'
Remove-ItemProperty -Path $k -Name 'BrowsingDataLifetime' -ErrorAction SilentlyContinueUtilisateur (HKCU)
Activer
Désactiver
Revenir à « Non configuré »
Options (1)
| Libellé | Contrôle | Valeur de registre | Type REG | Contraintes / détails |
|---|---|---|---|---|
| Browsing Data Lifetime SettingsBrowsingDataLifetime | Zone de textetext | BrowsingDataLifetime | REG_SZ | Longueur max : 1000000 |
Application
Microsoft Edge (+ Edge Update, WebView2) (Microsoft) — modèles de novembre 2026
Modèles officiels téléchargés le 12 novembre 2026.