Edit

Share via


DefaultGeolocationSetting

Default geolocation setting

Supported versions

  • On Windows and macOS since 77 or later

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>

See also