Share via


IdleTimeoutActions

Actions to run when the computer is idle

Supported versions

  • On Windows and macOS since 134 or later

Description

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 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.

Policy options mapping:

Use this information when configuring this policy.

  • close_browsers = Close Browsers
  • clear_browsing_history = Clear Browsing History
  • clear_download_history = Clear Download History
  • clear_cookies_and_other_site_data = Clear Cookies and Other Site Data
  • clear_cached_images_and_files = Clear Cached Images and Files
  • clear_password_signin = Clear Password sign in
  • clear_autofill = Clear Autofill
  • clear_site_settings = Clear Site Settings
  • reload_pages = Reload Pages
  • sign_out = Sign Out
  • close_tabs = Close Tabs

Supported features

  • Is this policy mandatory? Yes
  • Is this policy recommended? No
  • Does this policy support dynamic refresh? Yes
  • Is this policy applied per profile? Yes
  • Does this policy apply to profiles signed in with a Microsoft account? No

Data type

  • List of strings

Windows information and settings

Group Policy (ADMX) info

  • GP unique name: IdleTimeoutActions
  • GP name: Actions to run when the computer is idle
  • GP path (Mandatory): Administrative Templates/Microsoft Edge/Idle Browser Actions
  • GP path (Recommended): N/A
  • GP ADMX file name: MSEdge.admx

Example value

Close Browsers

Registry settings

  • Path (Mandatory): SOFTWARE\Policies\Microsoft\Edge\IdleTimeoutActions
  • Path (Recommended): N/A
  • Value name: 1, 2, 3, ...
  • Value type: List of REG_SZ

Example registry value

SOFTWARE\Policies\Microsoft\Edge\IdleTimeoutActions\1 =

close_browsers

Mac information and settings

  • Preference Key name: IdleTimeoutActions
  • Example value:
<array>
  <string>close_browsers</string>
</array>

See also