Office Admin Explorer

Mark grammar errors as you type

Registry value
autogrammar
Group PolicyMark grammar errors as you type
German versionGrammatikfehler während der Eingabe markieren
Intune settings catalogMark grammar errors as you type (User)
ScopeUser · HKCU
ADMXword16.admx · L_Checkgrammarasyoutype
Open in the interactive explorer+ Add to my collection

Group Policy path

User Configuration\Policies\Administrative Templates\Microsoft Word 2016\Word Options\Proofing
Benutzerkonfiguration\Richtlinien\Administrative Vorlagen\Microsoft Word 2016\Word-Optionen\Rechtschreibprüfung

Registry

ValueData
HKCU\Software\policies\microsoft\office\16.0\word\options
autogrammarEnabled = 1 · Disabled = 0
HKCU\Software\policies\microsoft\shared tools\proofing tools
grammarwavyunderlinecolor0 = Black · 255 = Blue · 128 = Dark Blue · 3368703 = Light Blue · 52479 = Sky Blue · 10079487 = Pale Blue · 6710937 = Blue Gray · 65280 = Green · 32768 = Dark Green · 13056 = Darker Green · 13434828 = Light Green · 3355392 = Olive Green · 3381606 = Sea Green · 16711680 = Red · 8388608 = Dark Red · 16776960 = Yellow · 8421376 = Dark Yellow · 16777113 = Light Yellow · 16777215 = White · 10040064 = Brown · 16737792 = Orange · 16750848 = Light Orange · 65535 = Cyan · 32896 = Dark Cyan · 13434879 = Light Cyan · 16711935 = Magenta · 8388736 = Dark Magenta · 13158 = Dark Teal · 3355545 = Indigo · 10079232 = Lime · 3394764 = Aqua · 16763904 = Gold · 10040166 = Plum · 16751052 = Rose · 16764057 = Tan · 13408767 = Lavender · 8421504 = Gray · 12632256 = Gray 25% · 8421504 = Gray 50%

Not configured = the value does not exist – the application default applies and users may change the setting.

PowerShell

Check the current value (read-only)

# --- Settings ---
$root = 'HKCU:'   # other signed-in user (elevated): 'Registry::HKEY_USERS\<SID>'

$key = "$root\Software\policies\microsoft\office\16.0\word\options"
foreach ($name in @('autogrammar')) {
    try   { '{0} = {1}' -f $name, (Get-ItemPropertyValue -Path $key -Name $name -ErrorAction Stop) }
    catch { '{0}: not configured' -f $name }
}
$key = "$root\Software\policies\microsoft\shared tools\proofing tools"
foreach ($name in @('grammarwavyunderlinecolor')) {
    try   { '{0} = {1}' -f $name, (Get-ItemPropertyValue -Path $key -Name $name -ErrorAction Stop) }
    catch { '{0}: not configured' -f $name }
}

Admin rights needed: HKCU\Software\Policies is read-only for standard users. An elevated session writes to the admin's own HKCU – to set it for another signed-in user, change $root to Registry::HKEY_USERS\<SID>.

Enable

# --- Settings ---
$root = 'HKCU:'   # other signed-in user (elevated): 'Registry::HKEY_USERS\<SID>'

try {
    $key = "$root\Software\policies\microsoft\office\16.0\word\options"
    if (-not (Test-Path $key)) { New-Item -Path $key -Force -ErrorAction Stop | Out-Null }
    New-ItemProperty -Path $key -Name 'autogrammar' -PropertyType DWord -Value 1 -Force -ErrorAction Stop | Out-Null   # Enabled
    $key = "$root\Software\policies\microsoft\shared tools\proofing tools"
    if (-not (Test-Path $key)) { New-Item -Path $key -Force -ErrorAction Stop | Out-Null }
    New-ItemProperty -Path $key -Name 'grammarwavyunderlinecolor' -PropertyType DWord -Value 0 -Force -ErrorAction Stop | Out-Null   # options: 0 = Black, 255 = Blue, 128 = Dark Blue, 3368703 = Light Blue, 52479 = Sky Blue, 10079487 = Pale Blue, 6710937 = Blue Gray, 65280 = Green, 32768 = Dark Green, 13
    'Done.'
}
catch { Write-Error "Failed: $($_.Exception.Message)" }
Reset to Not configured
# --- Settings ---
$root = 'HKCU:'   # other signed-in user (elevated): 'Registry::HKEY_USERS\<SID>'

$key = "$root\Software\policies\microsoft\office\16.0\word\options"
Remove-ItemProperty -Path $key -Name 'autogrammar' -ErrorAction SilentlyContinue
$key = "$root\Software\policies\microsoft\shared tools\proofing tools"
Remove-ItemProperty -Path $key -Name 'grammarwavyunderlinecolor' -ErrorAction SilentlyContinue
'Policy values removed (Not configured).'

Intune (settings catalog)

Mark grammar errors as you type (User)

Settings catalog → Add settings → search for the name above.

Intune Settings Catalog Viewer ↗

Alternative: custom profile (OMA-URI)
OMA-URI
./User/Vendor/MSFT/Policy/Config/word16v2~Policy~L_MicrosoftOfficeWord~L_WordOptions~L_Proofing/L_Checkgrammarasyoutype
Data typeString
Value<enabled/> · <disabled/>

This policy has options: add one <data id="…" value="…"/> per element after <enabled/>. The element IDs are in the ADMX file.

Cloud Policy

Cloud Policy (config.office.com → Customization → Policy Management) offers many user policies of the Microsoft 365 Apps – search for Mark grammar errors as you type. It also applies to unmanaged devices and wins over GPO and Intune for the same setting.

Microsoft explanation

Defines color to use for marking grammatical errors.

Same category: Microsoft Word 2016 › Word Options › Proofing

All policies in this category · All 295 policies of word16.admx