Set the default "share additional operating system region" setting
Explanation
This policy controls the default value for the "share additional operating system region" setting in Microsoft Edge.
The "share additional operating system region" Microsoft Edge setting controls whether the OS Regional format setting is shared with the web through the default JavaScript locale. If shared, websites can query the OS Regional format using JavaScript code, for example; "Intl.DateTimeFormat().resolvedOptions().locale". The default value for the setting is "Limited".
If you set this policy to "Limited", the OS Regional format is shared only if its language part matches the Microsoft Edge display language.
If you set this policy to "Always", the OS Regional format is always shared. This value could cause unexpected website behavior if the OS Regional format language is different from the Microsoft Edge display language. For example, if a website uses the JavaScript default locale to format dates, the names of the days and months are displayed in one language while the surrounding text is displayed in another language.
If you set this policy to "Never", the OS Regional format is never shared.
Example 1: In this example the OS Regional format is set to "en-GB", and the browser display language is set to "en-US". Then the OS Regional format is shared if the policy is set to "Limited", or "Always".
Example 2: In this example the OS Regional format is set to "es-MX", and the browser display language is set to "en-US". Then the OS Regional format is shared if the policy is set to "Always"; however, the OS Regional format isn't shared if the policy is set to "Limited".
For more information about this setting, see https://go.microsoft.com/fwlink/?linkid=2222282.
Policy options mapping:
* Limited (0) = Limited
* Always (1) = Always share the OS Regional format
* Never (2) = Never share the OS Regional format
Use the preceding information when configuring this policy.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\EdgeHKEY_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/DefaultShareAdditionalOSRegionSetting
$k = 'HKLM:\Software\Policies\Microsoft\Edge'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# 'Set the default "share additional operating system region" setting
# Possible options:
# Limited = 0
# Always share the OS Regional format = 1
# Never share the OS Regional format = 2
Set-ItemProperty -Path $k -Name 'DefaultShareAdditionalOSRegionSetting' -Value 0 -Type DWordDisable
# Disable: msedge/DefaultShareAdditionalOSRegionSetting
# No value is written in the "Disabled" state (nothing defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": msedge/DefaultShareAdditionalOSRegionSetting
$k = 'HKLM:\Software\Policies\Microsoft\Edge'
Remove-ItemProperty -Path $k -Name 'DefaultShareAdditionalOSRegionSetting' -ErrorAction SilentlyContinueUser (HKCU)
Enable
Disable
Revert to "Not configured"
Options (1)
| Label | Control | Registry value | REG type | Constraints / details | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 'Set the default "share additional operating system region" settingDefaultShareAdditionalOSRegionSetting | Drop-down listenum | DefaultShareAdditionalOSRegionSetting | REG_DWORD |
|
Application
Microsoft Edge (+ Edge Update, WebView2) (Microsoft) — November 2026 templates
Official templates downloaded on November 12, 2026.