Hide the select language group options
Masquer les options du groupe de sélection de langue
Explanation
This policy setting removes the option to change the user's menus and dialogs (UI) language from the Language and Regional Options control panel.
This policy setting is used only to simplify the Regional Options control panel.
If you enable this policy setting, the user does not see the option for changing the UI language. This does not prevent the user or an application from changing the UI language programmatically.
If you disable or do not configure this policy setting, the user sees the option for changing the UI language.
Note: Even if a user can see the option to change the UI language, other policy settings can prevent them from changing their UI language.
Ce paramètre de stratégie supprime l’option permettant de modifier la langue des menus et des boîtes de dialogue (interface utilisateur) de l’utilisateur dans l’application Options régionales et linguistiques du Panneau de configuration.
Ce paramètre de stratégie sert uniquement à simplifier l’application Options régionales du Panneau de configuration.
Si vous activez ce paramètre de stratégie, l’utilisateur ne voit pas l’option permettant de changer la langue de l’interface utilisateur. Cela n’empêche pas l’utilisateur ou une application de modifier la langue d’interface utilisateur par programme.
Si vous désactivez ce paramètre de stratégie ou ne le configurez pas, l’utilisateur peut voir l’option permettant de modifier la langue de l’interface utilisateur.
Remarque : même si un utilisateur peut voir l’option permettant de modifier la langue de l’interface utilisateur, d’autres stratégies peuvent l’empêcher de modifier cette langue.
Registry
HKEY_CURRENT_USER\Software\Policies\Microsoft\Control Panel\International- Value name
HideLanguageSelection
| 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/HideLanguageSelection
$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 'HideLanguageSelection' -Value 1 -Type DWordDisable
# Disable: Globalization/HideLanguageSelection
$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 'HideLanguageSelection' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": Globalization/HideLanguageSelection
$k = 'HKCU:\Software\Policies\Microsoft\Control Panel\International'
Remove-ItemProperty -Path $k -Name 'HideLanguageSelection' -ErrorAction SilentlyContinue