Restrict Language Pack and Language Feature Installation
Restreindre l’installation du module linguistique et de la fonctionnalité de langue
Explanation
This policy setting restricts the user from installing language packs and language features on demand. This policy does not restrict switching the Windows language, if you want to restrict the Windows language use the following policy: "Restricts the UI languages Windows should use for the selected user."
If you enable this policy setting, the installation of language packs and language features is prevented for the user.
If you disable or do not configure this policy setting, there is no language packs or language features installation restriction for the user.
Ce paramètre de stratégie empêche l’utilisateur d’installer des packs de langue et des fonctionnalités de langue à la demande. cette stratégie ne restreint pas le changement de langue Windows, si vous voulez restreindre la langue de Windows, utiliser la stratégie suivante : « restreint les langues d’interface utilisateur que Windows doit utiliser pour l’utilisateur sélectionné. »
Si vous activez ce paramètre de stratégie, l’installation des modules linguistiques et des fonctionnalités de langue est interdite pour l’utilisateur.
Si vous désactivez ce paramètre de stratégie ou si vous ne le configurez pas, il n’existe aucune restriction d’installation de modules linguistiques ou de fonctionnalités linguistiques pour l’utilisateur.
Registry
HKEY_CURRENT_USER\Software\Policies\Microsoft\Control Panel\International- Value name
RestrictLanguagePacksAndFeaturesInstall
| 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/RestrictLanguagePacksAndFeaturesInstall_1
$k = 'HKCU:\Software\Policies\Microsoft\Control Panel\International'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'RestrictLanguagePacksAndFeaturesInstall' -Value 1 -Type DWordDisable
# Disable: Globalization/RestrictLanguagePacksAndFeaturesInstall_1
$k = 'HKCU:\Software\Policies\Microsoft\Control Panel\International'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'RestrictLanguagePacksAndFeaturesInstall' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": Globalization/RestrictLanguagePacksAndFeaturesInstall_1
$k = 'HKCU:\Software\Policies\Microsoft\Control Panel\International'
Remove-ItemProperty -Path $k -Name 'RestrictLanguagePacksAndFeaturesInstall' -ErrorAction SilentlyContinue