Turn off autocorrect misspelled words
Désactiver la correction automatique des mots mal orthographiés
Explanation
This policy turns off the autocorrect misspelled words option. This does not, however, prevent the user or an application from changing the setting programmatically.
The autocorrect misspelled words option controls whether or not errors in typed text will be automatically corrected.
If the policy is Enabled, then the option will be locked to not autocorrect 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 l’option permettant de corriger automatiquement les mots mal orthographiés. Cela n’empêche toutefois pas l’utilisateur ou une application de modifier ce paramètre par programme.
L’option permettant de corriger automatiquement les mots mal orthographiés contrôle si les fautes dans un texte tapé sont ou non corrigées automatiquement.
Si vous activez ce paramètre de stratégie, l’option est verrouillée pour ne pas corriger automatiquement 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
TurnOffAutocorrectMisspelledWords
| 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/TurnOffAutocorrectMisspelledWords
$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 'TurnOffAutocorrectMisspelledWords' -Value 1 -Type DWordDisable
# Disable: Globalization/TurnOffAutocorrectMisspelledWords
$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 'TurnOffAutocorrectMisspelledWords' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": Globalization/TurnOffAutocorrectMisspelledWords
$k = 'HKCU:\Software\Policies\Microsoft\Control Panel\International'
Remove-ItemProperty -Path $k -Name 'TurnOffAutocorrectMisspelledWords' -ErrorAction SilentlyContinue