Turn on lexicon update
Activer la mise à jour du lexique
Explanation
This policy setting controls the lexicon update feature, which downloads hot and popular words lexicon to local PC.
If you enable this policy setting, the functionality associated with this feature is turned on, hot and popular words lexicon can be downloaded to local PC, the user is able to turn it on or off in settings.
If you disable this policy setting, the functionality associated with this feature is turned off, and the user won't be able to turn it on.
If you don't configure this policy setting, it will be turned on by default, and the user can turn on and turn off the lexicon udpate feature.
This Policy setting applies only to Microsoft CHS Pinyin IME.
Ce paramètre de stratégie contrôle la fonctionnalité de mise à jour du lexique, qui télécharge le lexique des mots populaires et en vogue vers le PC local.
Si vous activez ce paramètre de stratégie, la fonctionnalité associée à cette fonctionnalité est activée, le lexique des mots populaires et en vogue peut être téléchargé sur le PC local, l'utilisateur peut l'activer ou le désactiver dans les paramètres.
Si vous désactivez ce paramètre de stratégie, la fonctionnalité associée à cette fonctionnalité est désactivée et l'utilisateur ne peut pas l'activer.
Si vous ne configurez pas ce paramètre de stratégie, il est activé par défaut et l'utilisateur peut activer et désactiver la fonction de mise à jour du lexique.
Ce paramètre de stratégie s'applique uniquement à l'IME Microsoft CHS Pinyin.
Registry
HKEY_CURRENT_USER\Software\Policies\Microsoft\InputMethod\Settings\CHS- Value name
Enable Lexicon Update
| 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: EAIME/L_TurnOnLexiconUpdate
$k = 'HKCU:\Software\Policies\Microsoft\InputMethod\Settings\CHS'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'Enable Lexicon Update' -Value 1 -Type DWordDisable
# Disable: EAIME/L_TurnOnLexiconUpdate
$k = 'HKCU:\Software\Policies\Microsoft\InputMethod\Settings\CHS'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'Enable Lexicon Update' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": EAIME/L_TurnOnLexiconUpdate
$k = 'HKCU:\Software\Policies\Microsoft\InputMethod\Settings\CHS'
Remove-ItemProperty -Path $k -Name 'Enable Lexicon Update' -ErrorAction SilentlyContinue