Force selected system UI language to overwrite the user UI language
Forcer la langue d’interface utilisateur du système sélectionnée à remplacer la langue d’interface utilisateur de l’utilisateur
Explanation
This policy setting controls which UI language is used 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 is restricted to a specified language. If the specified language is not installed on the target computer or you disable this policy setting, the language selection defaults to the language selected by the local administrator.
If you disable or do not configure this policy setting, there is no restriction of a specific language used for the Windows menus and dialogs.
Ce paramètre de stratégie contrôle quelle langue d’interface utilisateur est utilisée pour les 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 est limitée à la langue spécifique. Si la langue spécifiée n’est pas installée sur l’ordinateur cible ou si ce paramètre de stratégie est désactivé, la sélection de langue correspond par défaut à la langue sélectionnée par l’administrateur local.
Si vous désactivez ce paramètre de stratégie ou ne le configurez pas, aucune limitation à une langue spécifique pour les menus et boîtes de dialogue Windows ne s’applique.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\MUI\Settings- Value name
MachineUILock
| 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/MachineUILanguageOverwrite
$k = 'HKLM:\Software\Policies\Microsoft\MUI\Settings'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'MachineUILock' -Value 1 -Type DWordDisable
# Disable: Globalization/MachineUILanguageOverwrite
$k = 'HKLM:\Software\Policies\Microsoft\MUI\Settings'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'MachineUILock' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": Globalization/MachineUILanguageOverwrite
$k = 'HKLM:\Software\Policies\Microsoft\MUI\Settings'
Remove-ItemProperty -Path $k -Name 'MachineUILock' -ErrorAction SilentlyContinue