Ouvrir dans l'explorateur

Actions to run when the computer is idle

Cette stratégie n'a pas de traduction française dans les modèles de l'éditeur ; le texte original est en anglais.

Type
Ordinateur et utilisateur
Chemin GPO
Configuration ordinateur › Stratégies › Modèles d'administration › Microsoft Edge › Actions du navigateur inactif Configuration utilisateur › Stratégies › Modèles d'administration › Microsoft Edge › Actions du navigateur inactif EN : Computer Configuration › Policies › Administrative Templates › Microsoft Edge › Idle Browser ActionsEN : User Configuration › Policies › Administrative Templates › Microsoft Edge › Idle Browser Actions
Pris en charge sur
Microsoft Edge version 134, Windows 7 or later
Fichier ADMX
msedge.admx
Nom interne
msedge/IdleTimeoutActions

Explication

When the timeout from the IdleTimeout policy is reached, the browser runs the actions configured in this policy.

If you don't configure the IdleTimeout policy, this policy has no effect.

If you don't configure this policy or no actions are selected, the IdleTimeout policy has no effect.

Supported actions are:

'close_browsers': close all browser windows and Progressive Web Apps (PWAs) for this profile.

'reload_pages': reload all webpages. For some pages, the user might be prompted for confirmation first.

'sign_out': sign out of browser. (This action only applies to iOS.)

'close_tabs': close all open tabs and create an NTP (New Tab Page). Supported in Android and iOS.

'clear_browsing_history', 'clear_download_history', 'clear_cookies_and_other_site_data', 'clear_cached_images_and_files', 'clear_password_signing', 'clear_autofill', 'clear_site_settings': clear the corresponding browsing data. Deleting cookies using this policy doesn't sign the user out of their profile, the user stays signed in.

Setting 'clear_browsing_history', 'clear_password_signing', 'clear_autofill', and 'clear_site_settings' disables sync for the respective data types if sync isn't already disabled by setting either the SyncDisabled policy or BrowserSignin to disabled.

Policy options mapping:

* close_browsers (close_browsers) = Close Browsers

* clear_browsing_history (clear_browsing_history) = Clear Browsing History

* clear_download_history (clear_download_history) = Clear Download History

* clear_cookies_and_other_site_data (clear_cookies_and_other_site_data) = Clear Cookies and Other Site Data

* clear_cached_images_and_files (clear_cached_images_and_files) = Clear Cached Images and Files

* clear_password_signin (clear_password_signin) = Clear Password sign in

* clear_autofill (clear_autofill) = Clear Autofill

* clear_site_settings (clear_site_settings) = Clear Site Settings

* reload_pages (reload_pages) = Reload Pages

* sign_out (sign_out) = Sign Out

* close_tabs (close_tabs) = Close Tabs

Use the preceding information when configuring this policy.

Example value:

close_browsers

Registre

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Edge
HKEY_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/IdleTimeoutActions
$k = 'HKLM:\Software\Policies\Microsoft\Edge\IdleTimeoutActions'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Actions to run when the computer is idle
# Liste non additive : les valeurs existantes de la clé sont d'abord effacées
if (Test-Path -Path $k) { (Get-Item -Path $k).Property | ForEach-Object { Remove-ItemProperty -Path $k -Name ([WildcardPattern]::Escape($_)) -ErrorAction SilentlyContinue } }
$values = @('<valeur1>', '<valeur2>')  # Remplacez les valeurs par les vôtres
$i = 1
foreach ($v in $values) { Set-ItemProperty -Path $k -Name ('' + $i) -Value $v -Type String; $i++ }

Désactiver

# Désactiver : msedge/IdleTimeoutActions
# Aucune valeur n'est écrite à l'état « Désactivé » (rien de défini dans l'ADMX)

Revenir à « Non configuré »

# Revenir à « Non configuré » : msedge/IdleTimeoutActions
$k = 'HKLM:\Software\Policies\Microsoft\Edge\IdleTimeoutActions'
Remove-Item -Path $k -Recurse -Force -ErrorAction SilentlyContinue

Utilisateur (HKCU)

Activer

Désactiver

Revenir à « Non configuré »

Options (1)

LibelléContrôleValeur de registreType REGContraintes / détails
Actions to run when the computer is idleIdleTimeoutActionsDescListe (tableau)listSoftware\Policies\Microsoft\Edge\IdleTimeoutActionsValeurs nommées « » + n°REG_SZ (valeurs sous la clé)

Application

Microsoft Edge (+ Edge Update, WebView2) (Microsoft) — modèles de novembre 2026

Modèles officiels téléchargés le 12 novembre 2026.