en-US office user

Mark formatting inconsistencies

Verified with Microsoft 365/Office 5568.1000 — updated on September 4, 2026 Supported on: At least Windows Server 2008 R2 or Windows 7

Microsoft 365/Office 5568.1000

Path in the GPO console

User Configuration\Administrative Templates\Microsoft Word 2016\Word Options\Advanced

Registry

HKCU software\policies\microsoft\office\16.0\word\options

Options

Check to enforce setting on; uncheck to enforce setting off
markformatting boolean
Color for marking formatting inconsistencies
formatconsistencywavyunderlinecolor enum
  • 0 Black
  • 255 Blue default
  • 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%

Description

Defines color to use for marking formatting inconsistencies.

Export Builder

BETA

Configure the state, scope and options, then generate .reg, PowerShell, Intune and SCCM outputs — or add the setting to a multi-setting collection.

These exports write the registry — this is not a managed GPO. ⓘ

.reg file

Windows Registry Editor Version 5.00

; Exported from gporais.com
; Policy: Mark formatting inconsistencies
; State: Enabled
; Supported on: At least Windows Server 2008 R2 or Windows 7

[HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\word\options]
"markformatting"=dword:00000000
"formatconsistencywavyunderlinecolor"=dword:000000ff
More formats (PowerShell, Intune, SCCM)

PowerShell

# Exported from gporais.com
# Policy: Mark formatting inconsistencies
# State: Enabled
# Supported on: At least Windows Server 2008 R2 or Windows 7
# Warning: In SYSTEM context (the Intune default), HKCU targets the SYSTEM profile. Run this script using the logged-on credentials.

$path = 'HKCU:\software\policies\microsoft\office\16.0\word\options'
New-Item -Path $path -Force | Out-Null
Set-ItemProperty -Path $path -Name 'markformatting' -Value 0 -Type DWord
Set-ItemProperty -Path $path -Name 'formatconsistencywavyunderlinecolor' -Value 255 -Type DWord

Building a multi-setting collection? Add this setting and generate combined .reg / PowerShell / GPO scripts.

Open the Builder

Embed this policy on your site

What to embed
Theme

Adds one script line: the theme follows your site’s appearance and the height fits the content. If your site blocks scripts, the embed follows the visitor’s system theme.

Preview