Restricts the UI language Windows uses for all logged users
Limiter la langue d’interface utilisateur que Windows utilise pour tous les utilisateurs connectés
Explanation
This policy setting restricts the Windows UI language for all users.
This is a policy setting for computers with more than one UI language installed.
If you enable this policy setting, the UI language of Windows menus and dialogs for systems with more than one language will follow the language specified by the administrator as the system UI languages. The UI language selected by the user will be ignored if it is different than any of the system UI languages.
If you disable or do not configure this policy setting, the user can specify which UI language is used.
Ce paramètre de stratégie limite la langue de l’interface utilisateur de Windows pour tous les utilisateurs.
Il est destiné aux ordinateurs sur lesquels plusieurs langues d’interface utilisateur sont installées.
Si vous activez ce paramètre de stratégie, la langue d’interface utilisateur des menus et boîtes de dialogue Windows pour les systèmes comportant plusieurs langues correspond à la langue spécifiée par l’administrateur comme langue d’interface utilisateur du système. La langue d’interface utilisateur sélectionnée par l’utilisateur est ignorée si elle ne correspond à aucune des langues d’interface utilisateur du système.
Si vous désactivez ce paramètre de stratégie ou ne le configurez pas, l’utilisateur peut spécifier la langue d’interface utilisateur qui est utilisée.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\MUI\Settings- 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.
Enable
# Enable: Globalization/LockMachineUILanguage
$k = 'HKLM:\Software\Policies\Microsoft\MUI\Settings'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Restrict users to the following language
# Possible options:
# English = en-US; Japanese = ja-JP; Korean = ko-KR; German = de-DE; Simplified Chinese = zh-CN
# Traditional Chinese (Taiwan) = zh-TW; French = fr-FR; Spanish = es-ES; Italian = it-IT
# Swedish = sv-SE; Dutch = nl-NL; Portuguese (Brazil) = pt-BR; Finnish = fi-FI
# Norwegian = nb-NO; Danish = da-DK; Hungarian = hu-HU; Polish = pl-PL; Russian = ru-RU
# Czech = cs-CZ; Greek = el-GR; Portuguese (Portugal) = pt-PT; Turkish = tr-TR; Arabic = ar-SA
# Hebrew = he-IL; Slovak = sk-SK; Slovenian = sl-SI; Romanian = ro-RO; Croatian = hr-HR
# Bulgarian = bg-BG; Estonian = et-EE; Lithuanian = lt-LT; Latvian = lv-LV; Thai = th-TH
# Traditional Chinese (Hong Kong SAR) = zh-HK; Serbian (Latin) = sr-Latn-CS; Ukrainian = uk-UA
Set-ItemProperty -Path $k -Name 'PreferredUILanguages' -Value 'en-US' -Type StringDisable
# Disable: Globalization/LockMachineUILanguage
# No value is written in the "Disabled" state (nothing defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": Globalization/LockMachineUILanguage
$k = 'HKLM:\Software\Policies\Microsoft\MUI\Settings'
Remove-ItemProperty -Path $k -Name 'PreferredUILanguages' -ErrorAction SilentlyContinueOptions (1)
| Label | Control | Registry value | REG type | Constraints / details | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Restrict users to the following language:Limiter les utilisateurs à la langue suivante :UILangSelect | Drop-down listenum | PreferredUILanguages | REG_SZ | Required · Default choice (UI): #0
|