Policy
Set the default "share additional operating system region" setting
Microsoft Edge
Policy overview
Key metadata and intent for this policy.
Supported OS tags: Windows7
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 values
How enabled and disabled states update the registry.
No explicit registry values are set for enabled or disabled states.
Policy elements
Inputs and configuration options exposed by this policy.
| Scope | Element | Type | Registry mapping | Constraints & behavior | Copy |
|---|---|---|---|---|---|
'Set the default "share additional operating system region" setting ID DefaultShareAdditionalOSRegionSetting | enum | Path Software\Policies\Microsoft\Edge Value name DefaultShareAdditionalOSRegionSetting Type REG_DWORD | Options: Limited (0), Always share the OS Regional format (1), Never share the OS Regional format (2) |