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
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.
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
| 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: 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 DWordDisable
# 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 DWordRevert 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