Open in the explorer

Actions to run when the computer is idle

Type
Computer and user
GPO path
Computer Configuration › Policies › Administrative Templates › Microsoft Edge › Idle Browser Actions User Configuration › Policies › Administrative Templates › Microsoft Edge › Idle Browser Actions
Supported on
Microsoft Edge version 134, Windows 7 or later
ADMX file
msedge.admx
Internal name
msedge/IdleTimeoutActions

Explanation

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

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Edge
HKEY_CURRENT_USER\Software\Policies\Microsoft\Edge
Value name
not defined in the ADMX

Enable / disable values: not defined in the ADMX (see the options below).

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: 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
# Non-additive list: existing values of the key are cleared first
if (Test-Path -Path $k) { (Get-Item -Path $k).Property | ForEach-Object { Remove-ItemProperty -Path $k -Name ([WildcardPattern]::Escape($_)) -ErrorAction SilentlyContinue } }
$values = @('<value1>', '<value2>')  # Replace the values with your own
$i = 1
foreach ($v in $values) { Set-ItemProperty -Path $k -Name ('' + $i) -Value $v -Type String; $i++ }

Disable

# Disable: msedge/IdleTimeoutActions
# No value is written in the "Disabled" state (nothing defined in the ADMX)

Revert to "Not configured"

# Revert to "Not configured": msedge/IdleTimeoutActions
$k = 'HKLM:\Software\Policies\Microsoft\Edge\IdleTimeoutActions'
Remove-Item -Path $k -Recurse -Force -ErrorAction SilentlyContinue

User (HKCU)

Enable

Disable

Revert to "Not configured"

Options (1)

LabelControlRegistry valueREG typeConstraints / details
Actions to run when the computer is idleIdleTimeoutActionsDescList (table)listSoftware\Policies\Microsoft\Edge\IdleTimeoutActionsValues named “” + numberREG_SZ (values under the key)

Application

Microsoft Edge (+ Edge Update, WebView2) (Microsoft) — November 2026 templates

Official templates downloaded on November 12, 2026.