Open in the explorer

Allow uninstallation of language features when a language is uninstalled

Autoriser la désinstallation des fonctionnalités de langue lors de la désinstallation d'une langue

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › Windows Components › Text Input FR: Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Saisie de texte
Supported on
At least Windows Server 2016, Windows 10 FR: Au moins Windows Server 2016, Windows 10
ADMX file
TextInput.admx
Internal name
TextInput/AllowLanguageFeaturesUninstall

Explanation

When this policy setting is enabled, some language features (such as handwriting recognizers and spell checking dictionaries) included with a language can be uninstalled from a user’s machine when the language is uninstalled. The language can be reinstalled with a different selection of included language features if needed. When this policy setting is disabled, language features remain on the user’s machine when the language is uninstalled.

French text from Windows 11 26H2

Lorsque ce paramètre de stratégie est activé, certaines fonctionnalités de langue (telles que la reconnaissance de l'écriture manuscrite et les dictionnaires de vérification de l'orthographe) incluses dans une langue peuvent être désinstallées de l'ordinateur d'un utilisateur lors de la désinstallation de cette langue. La langue peut être réinstallée avec un choix différent de fonctionnalités de langue incluses si nécessaire. Si vous désactivez ce paramètre de stratégie, les fonctionnalités de langue restent sur l'ordinateur de l'utilisateur lors de la désinstallation de la langue.

Registry

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\TextInput
Value name
AllowLanguageFeaturesUninstall
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: TextInput/AllowLanguageFeaturesUninstall
$k = 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\TextInput'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'AllowLanguageFeaturesUninstall' -Value 1 -Type DWord

Disable

# Disable: TextInput/AllowLanguageFeaturesUninstall
$k = 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\TextInput'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'AllowLanguageFeaturesUninstall' -Value 0 -Type DWord

Revert to "Not configured"

# Revert to "Not configured": TextInput/AllowLanguageFeaturesUninstall
$k = 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\TextInput'
Remove-ItemProperty -Path $k -Name 'AllowLanguageFeaturesUninstall' -ErrorAction SilentlyContinue

Availability

Windows Server