Share via


DefaultIdleDetectionSetting

Default idle detection setting

Supported versions

  • On Windows and macOS since 145 or later
  • On Android since 145 or later

Description

Setting this policy to 1 - AllowIdleDetection allows websites to use the Idle Detection API without requesting user permission.

Setting this policy to 2 - BlockIdleDetection prevents websites from using the Idle Detection API.

Setting this policy to 3 - AskIdleDetection requires websites to request user permission each time before using the Idle Detection API.

If you do not configure this policy, users can decide whether to allow the Idle Detection API and can change this setting themselves.

Policy options mapping:

  • AllowIdleDetection (1) = Allow sites to detect idle state without asking the user

  • BlockIdleDetection (2) = Do not allow any site to detect the user's idle state

  • AskIdleDetection (3) = Ask every time a site wants to detect the user's idle state

Use the preceding information when configuring this policy.

Policy options mapping:

Use this information when configuring this policy.

  • AllowIdleDetection (1) = Allow sites to detect idle state without asking the user
  • BlockIdleDetection (2) = Do not allow any site to detect the user's idle state
  • AskIdleDetection (3) = Ask every time a site wants to detect the user's idle state

Supported features

  • Can be mandatory: Yes
  • Can be recommended: No
  • Dynamic Policy Refresh: Yes
  • Per Profile: Yes
  • Applies to a profile that is signed in with a Microsoft account: No

Data type

  • Integer

Windows information and settings

Group Policy (ADMX) info

  • GP unique name: DefaultIdleDetectionSetting
  • GP name: Default idle detection setting
  • GP path (Mandatory): Administrative Templates/Microsoft Edge/Content settings
  • GP path (Recommended): N/A
  • GP ADMX file name: MSEdge.admx

Example value

Allow sites to detect idle state without asking the user

Registry settings

  • Path (Mandatory): SOFTWARE\Policies\Microsoft\Edge
  • Path (Recommended): N/A
  • Value name: DefaultIdleDetectionSetting
  • Value type: REG_DWORD

Example registry value

0x00000001

Mac information and settings

  • Preference Key name: DefaultIdleDetectionSetting
  • Example value:
<integer>1</integer>

Android information and settings

  • Preference Key name: DefaultIdleDetectionSetting
  • Example value:
1

See also