Open in the explorer

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

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › Control Panel › Regional and Language Options FR: Configuration ordinateur › Stratégies › Modèles d'administration › Panneau de configuration › Options régionales et linguistiques
Supported on
At least Windows Vista FR: Au minimum Windows Vista
ADMX file
Globalization.admx
Internal name
Globalization/MachineUILanguageOverwrite

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.

French text from Windows 11 26H2

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
StateValue written
EnabledREG_DWORD = 1
DisabledREG_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 DWord

Disable

# 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 DWord

Revert to "Not configured"

# Revert to "Not configured": Globalization/MachineUILanguageOverwrite
$k = 'HKLM:\Software\Policies\Microsoft\MUI\Settings'
Remove-ItemProperty -Path $k -Name 'MachineUILock' -ErrorAction SilentlyContinue

Availability