Ouvrir dans l'explorateur

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.

Type
Utilisateur
Chemin GPO
Configuration utilisateur › Stratégies › Modèles d'administration › Microsoft Word 2016 › Options Word › Vérification EN : User Configuration › Policies › Administrative Templates › Microsoft Word 2016 › Word Options › Proofing
Pris en charge sur
At least Windows Server 2008 R2 or Windows 7
Fichier ADMX
word16.admx
Nom interne
word16/L_Checkgrammarasyoutype

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 DWord

Dé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 SilentlyContinue

Options (2)

LibelléContrôleValeur de registreType REGContraintes / détails
Check to enforce setting on; uncheck to enforce setting offL_checktoenforcesettingonunchecktoenforcesettingoff0Case à cocherbooleanautogrammarREG_DWORD
Coché : REG_DWORD = 1
Décoché : REG_DWORD = 0
Color for marking grammatical errorsL_ColorformarkinggrammaticalerrorsListe déroulanteenumgrammarwavyunderlinecolordans software\policies\microsoft\shared tools\proofing toolsREG_DWORD
Choix par défaut (interface) : n° 7
LibelléValeur
BlackREG_DWORD = 0
BlueREG_DWORD = 255
Dark BlueREG_DWORD = 128
Light BlueREG_DWORD = 3368703
Sky BlueREG_DWORD = 52479
Pale BlueREG_DWORD = 10079487
Blue GrayREG_DWORD = 6710937
GreenREG_DWORD = 65280
Dark GreenREG_DWORD = 32768
Darker GreenREG_DWORD = 13056
Light GreenREG_DWORD = 13434828
Olive GreenREG_DWORD = 3355392
Sea GreenREG_DWORD = 3381606
RedREG_DWORD = 16711680
Dark RedREG_DWORD = 8388608
YellowREG_DWORD = 16776960
Dark YellowREG_DWORD = 8421376
Light YellowREG_DWORD = 16777113
WhiteREG_DWORD = 16777215
BrownREG_DWORD = 10040064
OrangeREG_DWORD = 16737792
Light OrangeREG_DWORD = 16750848
CyanREG_DWORD = 65535
Dark CyanREG_DWORD = 32896
Light CyanREG_DWORD = 13434879
MagentaREG_DWORD = 16711935
Dark MagentaREG_DWORD = 8388736
Dark TealREG_DWORD = 13158
IndigoREG_DWORD = 3355545
LimeREG_DWORD = 10079232
AquaREG_DWORD = 3394764
GoldREG_DWORD = 16763904
PlumREG_DWORD = 10040166
RoseREG_DWORD = 16751052
TanREG_DWORD = 16764057
LavenderREG_DWORD = 13408767
GrayREG_DWORD = 8421504
Gray 25%REG_DWORD = 12632256
Gray 50%REG_DWORD = 8421504

Application

Microsoft 365 Apps / Office (Microsoft) — modèles de novembre 2026

Modèles officiels téléchargés le 12 novembre 2026.