Del via


DefaultGeolocationSetting

Default geolocation setting

Supported versions

  • Windows: ≥ 77
  • macOS: ≥ 77
  • Android: ≥ 138
  • iOS: Not supported

Description

Set whether websites can track users' physical locations. You can allow tracking by default ('AllowGeolocation'), deny it by default ('BlockGeolocation'), or ask the user each time a website requests their location ('AskGeolocation').

If you don't configure this policy, 'AskGeolocation' is used and the user can change it.

Policy options mapping:

  • AllowGeolocation (1) = Allow sites to track users' physical location

  • BlockGeolocation (2) = Don't allow any site to track users' physical location

  • AskGeolocation (3) = Ask whenever a site wants to track users' physical location

Use the preceding information when configuring this policy.

Policy options mapping:

Use this information when configuring this policy.

  • AllowGeolocation (1) = Allow sites to track users' physical location
  • BlockGeolocation (2) = Don't allow any site to track users' physical location
  • AskGeolocation (3) = Ask whenever a site wants to track users' physical location

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: Yes

Data type

  • Integer

Windows information and settings

Group Policy (ADMX) info

  • GP unique name: DefaultGeolocationSetting
  • GP name: Default geolocation 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 track users' physical location

Registry settings

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

Example registry value

0x00000001

Mac information and settings

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

Android information and settings

  • Preference Key name: DefaultGeolocationSetting
  • Example value:
1

See also