Mark formatting inconsistencies
Explanation
Defines color to use for marking formatting inconsistencies.
Registry
HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\word\options- Value name
- not defined in the ADMX
Enable / disable values: not defined in the ADMX (see the options below).
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: word16/L_Markformattinginconsistencies
$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
# unchecked: 0
Set-ItemProperty -Path $k -Name 'markformatting' -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 formatting inconsistencies
# Possible options:
# 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 'formatconsistencywavyunderlinecolor' -Value 255 -Type DWordDisable
# Disable: word16/L_Markformattinginconsistencies
# No value is written in the "Disabled" state (nothing defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": word16/L_Markformattinginconsistencies
$k = 'HKCU:\software\policies\microsoft\office\16.0\word\options'
Remove-ItemProperty -Path $k -Name 'markformatting' -ErrorAction SilentlyContinue
$k = 'HKCU:\software\policies\microsoft\shared tools\proofing tools'
Remove-ItemProperty -Path $k -Name 'formatconsistencywavyunderlinecolor' -ErrorAction SilentlyContinueOptions (2)
| Label | Control | Registry value | REG type | Constraints / details | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Check to enforce setting on; uncheck to enforce setting offL_checktoenforcesettingonunchecktoenforcesettingoff18 | Check boxboolean | markformatting | REG_DWORD | Checked: REG_DWORD = 1Unchecked: REG_DWORD = 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Color for marking formatting inconsistenciesL_Colorformarkingformattinginconsistencies | Drop-down listenum | formatconsistencywavyunderlinecolorin software\policies\microsoft\shared tools\proofing tools | REG_DWORD | Default choice (UI): #1
|
Application
Microsoft 365 Apps / Office (Microsoft) — November 2026 templates
Official templates downloaded on November 12, 2026.