Configure auto discard sleeping tabs
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 setting lets you configure whether to turn on auto discard. Auto discard reduces memory usage by discarding inactive background tabs. When the user switches back to a discarded tab, the tab is reloaded. By default, auto discard is turned on.
Microsoft Edge discards an eligible background tab after it has remained in the background through three consecutive browsing sessions, including the current one. A new browsing session begins when the browser is used more than 12 hours after the start of the previous session, or more than 18 hours on devices with 16 GB or more of memory. The tab's inactivity period starts over when the user switches to it or navigates to it.
If this policy is enabled, auto discard is turned on.
If this policy is disabled, auto discard is turned off.
If this policy is not configured, auto discard is turned on.
Registre
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Edge\RecommendedHKEY_CURRENT_USER\Software\Policies\Microsoft\Edge\Recommended- Nom de la valeur
AutoDiscardSleepingTabsEnabled
| État | Valeur écrite |
|---|---|
| Activé | REG_DWORD = 1 |
| Désactivé | REG_DWORD = 0 |
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/AutoDiscardSleepingTabsEnabled_recommended
$k = 'HKLM:\Software\Policies\Microsoft\Edge\Recommended'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'AutoDiscardSleepingTabsEnabled' -Value 1 -Type DWordDésactiver
# Désactiver : msedge/AutoDiscardSleepingTabsEnabled_recommended
$k = 'HKLM:\Software\Policies\Microsoft\Edge\Recommended'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'AutoDiscardSleepingTabsEnabled' -Value 0 -Type DWordRevenir à « Non configuré »
# Revenir à « Non configuré » : msedge/AutoDiscardSleepingTabsEnabled_recommended
$k = 'HKLM:\Software\Policies\Microsoft\Edge\Recommended'
Remove-ItemProperty -Path $k -Name 'AutoDiscardSleepingTabsEnabled' -ErrorAction SilentlyContinueUtilisateur (HKCU)
Activer
Désactiver
Revenir à « Non configuré »
Application
Microsoft Edge (+ Edge Update, WebView2) (Microsoft) — modèles de novembre 2026
Modèles officiels téléchargés le 12 novembre 2026.