Set the background tab inactivity timeout for 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 the timeout, in seconds, after which inactive background tabs are automatically put to sleep if sleeping tabs is enabled. By default, this timeout is 900 seconds (15 minutes).
When energy saver is active, Microsoft Edge uses the shorter of this timeout and the energy saver timeout. The energy saver timeout is 5 minutes in maximum savings mode. In other active modes, it's 30 minutes, or 15 minutes on devices with less than 6 GB of memory.
Tabs are only put to sleep automatically when the policy 'SleepingTabsEnabled' (Configure sleeping tabs) is enabled or isn't configured, and the user has enabled the sleeping tabs setting.
If you don't configure this policy, users can choose the timeout value.
Policy options mapping:
* 30Seconds (30) = 30 seconds of inactivity
* 5Minutes (300) = 5 minutes of inactivity
* 15Minutes (900) = 15 minutes of inactivity
* 30Minutes (1800) = 30 minutes of inactivity
* 1Hour (3600) = 1 hour of inactivity
* 2Hours (7200) = 2 hours of inactivity
* 3Hours (10800) = 3 hours of inactivity
* 6Hours (21600) = 6 hours of inactivity
* 12Hours (43200) = 12 hours of inactivity
Use the preceding information when configuring this policy.
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/SleepingTabsTimeout
$k = 'HKLM:\Software\Policies\Microsoft\Edge'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Set the background tab inactivity timeout for sleeping tabs
# Options possibles :
# 30 seconds of inactivity = 30
# 5 minutes of inactivity = 300
# 15 minutes of inactivity = 900
# 30 minutes of inactivity = 1800
# 1 hour of inactivity = 3600
# 2 hours of inactivity = 7200
# 3 hours of inactivity = 10800
# 6 hours of inactivity = 21600
# 12 hours of inactivity = 43200
Set-ItemProperty -Path $k -Name 'SleepingTabsTimeout' -Value 30 -Type DWordDésactiver
# Désactiver : msedge/SleepingTabsTimeout
# Aucune valeur n'est écrite à l'état « Désactivé » (rien de défini dans l'ADMX)Revenir à « Non configuré »
# Revenir à « Non configuré » : msedge/SleepingTabsTimeout
$k = 'HKLM:\Software\Policies\Microsoft\Edge'
Remove-ItemProperty -Path $k -Name 'SleepingTabsTimeout' -ErrorAction SilentlyContinueUtilisateur (HKCU)
Activer
Désactiver
Revenir à « Non configuré »
Options (1)
| Libellé | Contrôle | Valeur de registre | Type REG | Contraintes / détails | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Set the background tab inactivity timeout for sleeping tabsSleepingTabsTimeout | Liste déroulanteenum | SleepingTabsTimeout | REG_DWORD |
|
Application
Microsoft Edge (+ Edge Update, WebView2) (Microsoft) — modèles de novembre 2026
Modèles officiels téléchargés le 12 novembre 2026.