Turn off highlight misspelled words
Désactiver la mise en surbrillance des mots mal orthographiés
Explanation
This policy turns off the highlight misspelled words option. This does not, however, prevent the user or an application from changing the setting programmatically.
The highlight misspelled words option controls whether or next spelling errors in typed text will be highlighted.
If the policy is Enabled, then the option will be locked to not highlight misspelled words.
If the policy is Disabled or Not Configured, then the user will be free to change the setting according to their preference.
Note that the availability and function of this setting is dependent on supported languages being enabled.
Ce paramètre de stratégie désactive la mise en surbrillance des mots mal orthographiés. Toutefois, il n’empêche pas l’utilisateur ou une application de modifier le paramètre par programme.
L’option permettant de mettre en surbrillance les mots mal orthographiés contrôle si les fautes d’orthographe dans un texte tapé sont ou non mises en surbrillance.
Si vous activez ce paramètre de stratégie, l’option est verrouillée pour ne pas mettre en surbrillance les mots mal orthographiés.
Si vous désactivez ce paramètre de stratégie ou ne le configurez pas, l’utilisateur peut modifier le paramètre selon ses préférences.
Notez que la disponibilité et la fonction de ce paramètre dépendent de l’activation des langues prises en charge.
Registry
HKEY_CURRENT_USER\Software\Policies\Microsoft\Control Panel\International- Value name
TurnOffHighlightMisspelledWords
| 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/TurnOffHighlightMisspelledWords
$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 'TurnOffHighlightMisspelledWords' -Value 1 -Type DWordDisable
# Disable: Globalization/TurnOffHighlightMisspelledWords
$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 'TurnOffHighlightMisspelledWords' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": Globalization/TurnOffHighlightMisspelledWords
$k = 'HKCU:\Software\Policies\Microsoft\Control Panel\International'
Remove-ItemProperty -Path $k -Name 'TurnOffHighlightMisspelledWords' -ErrorAction SilentlyContinue