Mark formatting inconsistencies
| Registry value | markformatting |
| Group Policy | Mark formatting inconsistencies |
| German version | Inkonsistenz bei Formatierungen markieren |
| Intune settings catalog | Mark formatting inconsistencies (User) |
| Scope | User · HKCU |
| ADMX | word16.admx · L_Markformattinginconsistencies |
Group Policy path
Registry
| Value | Data |
|---|---|
HKCU\Software\policies\microsoft\office\16.0\word\options | |
| markformatting | Enabled = 1 · Disabled = 0 |
HKCU\Software\policies\microsoft\shared tools\proofing tools | |
| formatconsistencywavyunderlinecolor | 0 = 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 @('markformatting')) {
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 @('formatconsistencywavyunderlinecolor')) {
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 'markformatting' -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 'formatconsistencywavyunderlinecolor' -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 'markformatting' -ErrorAction SilentlyContinue $key = "$root\Software\policies\microsoft\shared tools\proofing tools" Remove-ItemProperty -Path $key -Name 'formatconsistencywavyunderlinecolor' -ErrorAction SilentlyContinue 'Policy values removed (Not configured).'
Intune (settings catalog)
Mark formatting inconsistencies (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_Advanced/L_Markformattinginconsistencies |
| Data type | String |
| 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 formatting inconsistencies. It also applies to unmanaged devices and wins over GPO and Intune for the same setting.
Microsoft explanation
Defines color to use for marking formatting inconsistencies.
Same category: Microsoft Word 2016 › Word Options › Advanced
- Typing replaces selected textautotextdelete
- Number of folders in the Recent Folders listmax display
- When selecting, automatically select entire wordautowordselect
- Allow text to be dragged and droppeddraganddroptext
- Use CTRL + Click to follow hyperlinksctrlclickhyperlink
- Automatically create drawing canvas when inserting AutoShapesautocreatecanvas
- Use smart paragraph selectionsmartparagraphselect
- Add double quote for Hebrew alphabet numberinghebdoublequote
- Prompt to update stylepromptupdatestyle
- Enable click and typeclickandtype
- Cursor movementcursormovement
- Cursor visual selectioncursorselection
All policies in this category · All 295 policies of word16.admx