Mark grammar errors as you type
Cette stratégie n'a pas de traduction française dans les modèles de l'éditeur ; le texte original est en anglais.
Explication
Defines color to use for marking grammatical errors.
Registre
HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\word\options- Nom de la valeur
- non défini dans l'ADMX
Valeurs d'activation / désactivation : non défini dans l'ADMX (voir les options ci-dessous).
PowerShell
Commandes PowerShell qui écrivent dans le registre ce que la stratégie écrirait. Les valeurs entre chevrons (<…>) sont à remplacer.
Écrire directement dans le registre contourne la stratégie de groupe : si une GPO gère cette valeur, elle sera réécrite au prochain gpupdate ; sinon la valeur reste en place (effet « tatouage »). Préférez une GPO ou, en local, LGPO.exe. Exécutez PowerShell en administrateur pour HKLM. Certaines stratégies demandent un redémarrage ou gpupdate /force.
Activer
# Activer : word16/L_Checkgrammarasyoutype
$k = 'HKCU:\software\policies\microsoft\office\16.0\word\options'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Check to enforce setting on; uncheck to enforce setting off
# décoché : 0
Set-ItemProperty -Path $k -Name 'autogrammar' -Value 1 -Type DWord
$k = 'HKCU:\software\policies\microsoft\shared tools\proofing tools'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Color for marking grammatical errors
# Options possibles :
# Black = 0; Blue = 255; Dark Blue = 128; Light Blue = 3368703; Sky Blue = 52479
# Pale Blue = 10079487; Blue Gray = 6710937; Green = 65280; Dark Green = 32768
# Darker Green = 13056; Light Green = 13434828; Olive Green = 3355392; Sea Green = 3381606
# Red = 16711680; Dark Red = 8388608; Yellow = 16776960; Dark Yellow = 8421376
# Light Yellow = 16777113; White = 16777215; Brown = 10040064; Orange = 16737792
# Light Orange = 16750848; Cyan = 65535; Dark Cyan = 32896; Light Cyan = 13434879
# Magenta = 16711935; Dark Magenta = 8388736; Dark Teal = 13158; Indigo = 3355545
# Lime = 10079232; Aqua = 3394764; Gold = 16763904; Plum = 10040166; Rose = 16751052
# Tan = 16764057; Lavender = 13408767; Gray = 8421504; Gray 25% = 12632256; Gray 50% = 8421504
Set-ItemProperty -Path $k -Name 'grammarwavyunderlinecolor' -Value 65280 -Type DWordDésactiver
# Désactiver : word16/L_Checkgrammarasyoutype
# Aucune valeur n'est écrite à l'état « Désactivé » (rien de défini dans l'ADMX)Revenir à « Non configuré »
# Revenir à « Non configuré » : word16/L_Checkgrammarasyoutype
$k = 'HKCU:\software\policies\microsoft\office\16.0\word\options'
Remove-ItemProperty -Path $k -Name 'autogrammar' -ErrorAction SilentlyContinue
$k = 'HKCU:\software\policies\microsoft\shared tools\proofing tools'
Remove-ItemProperty -Path $k -Name 'grammarwavyunderlinecolor' -ErrorAction SilentlyContinueOptions (2)
| Libellé | Contrôle | Valeur de registre | Type REG | Contraintes / détails | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Check to enforce setting on; uncheck to enforce setting offL_checktoenforcesettingonunchecktoenforcesettingoff0 | Case à cocherboolean | autogrammar | REG_DWORD | Coché : REG_DWORD = 1Décoché : REG_DWORD = 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Color for marking grammatical errorsL_Colorformarkinggrammaticalerrors | Liste déroulanteenum | grammarwavyunderlinecolordans software\policies\microsoft\shared tools\proofing tools | REG_DWORD | Choix par défaut (interface) : n° 7
|
Application
Microsoft 365 Apps / Office (Microsoft) — modèles de novembre 2026
Modèles officiels téléchargés le 12 novembre 2026.