Restrict Language Pack and Language Feature Installation
Restreindre l’installation du module linguistique et de la fonctionnalité de langue
Explanation
This policy setting restricts all users from installing language packs and language features on demand packages. 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 uses for all logged users."
If you enable this policy setting, the installation of language packs and language features is prevented for all users.
If you disable or do not configure this policy setting, there is no language packs or feature installation restriction for any user.
Ce paramètre de stratégie empêche tous les utilisateurs d’installer des modules linguistiques 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, utilisez la stratégie suivante : « restreint les langues d’interface utilisateur utilisées par Windows pour tous les utilisateurs connectés ».
Si vous activez ce paramètre de stratégie, l’installation des modules linguistiques et des fonctionnalités de langue est interdite pour tous les utilisateurs.
Si vous désactivez ce paramètre de stratégie ou si vous ne le configurez pas, aucun module linguistique ou aucune restriction d’installation de fonctionnalité n’est disponible pour les utilisateurs.
Registry
HKEY_LOCAL_MACHINE\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_2
$k = 'HKLM:\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_2
$k = 'HKLM:\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_2
$k = 'HKLM:\Software\Policies\Microsoft\Control Panel\International'
Remove-ItemProperty -Path $k -Name 'RestrictLanguagePacksAndFeaturesInstall' -ErrorAction SilentlyContinue