Hide user locale selection and customization options
Masquer les options de sélection et de personnalisation des paramètres régionaux
Explanation
This policy setting removes the regional formats interface from the Region settings control panel.
This policy setting is used only to simplify the Regional and Language Options control panel.
If you enable this policy setting, the user does not see the regional formats options. This does not prevent the user or an application from changing their user locale or user overrides programmatically.
If you disable or do not configure this policy setting, the user sees the regional formats options for changing and customizing the user locale.
Ce paramètre de stratégie supprime l’interface des formats régionaux de l’application Paramètres régionaux du Panneau de configuration.
Ce paramètre de stratégie sert uniquement à simplifier l’application Options régionales et linguistiques du Panneau de configuration.
Si vous activez ce paramètre de stratégie, les utilisateurs ne peuvent pas voir les options de formats régionaux. Cela n’empêche pas l’utilisateur ou une application de modifier ses paramètres régionaux utilisateur ou ses remplacements utilisateur par programme.
Si vous désactivez ce paramètre de stratégie ou ne le configurez pas, l’utilisateur peut voir les options de formats régionaux permettant de modifier et de personnaliser la langue de l’interface utilisateur.
Registry
HKEY_CURRENT_USER\Software\Policies\Microsoft\Control Panel\International- Value name
HideLocaleSelectAndCustomize
| State | Value written |
|---|---|
| Enabled | REG_DWORD = 1 |
| Disabled | REG_DWORD = 0 |
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.
Enable
# Enable: Globalization/HideLocaleSelectAndCustomize
$k = 'HKCU:\Software\Policies\Microsoft\Control Panel\International'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'HideLocaleSelectAndCustomize' -Value 1 -Type DWordDisable
# Disable: Globalization/HideLocaleSelectAndCustomize
$k = 'HKCU:\Software\Policies\Microsoft\Control Panel\International'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'HideLocaleSelectAndCustomize' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": Globalization/HideLocaleSelectAndCustomize
$k = 'HKCU:\Software\Policies\Microsoft\Control Panel\International'
Remove-ItemProperty -Path $k -Name 'HideLocaleSelectAndCustomize' -ErrorAction SilentlyContinue