ADMX Viewer →

Change color used to highlight search matches

User Configuration > Administrative Templates > Microsoft Outlook 2016 > Outlook Options > Preferences > Search Options

User Policy name L_HitHighlightingcolor outlk16.admx Microsoft 365 Apps 5568.1000

Registry

Key (user)HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\outlook\search
Value namenone on the policy itself; the options below write their own values
Supported onAt least Windows Server 2008 R2 or Windows 7
Namespaceoutlk16.Office.Microsoft.Policies.Windows

Options

OptionValue writtenType and rangeDefault
Background Color: hithighlightingbackgroundcolor
  • 000000 Black
  • 12632256 Silver
  • 8421504 Gray
  • 16777215 White
  • 65535 Aqua
  • 16711808 Fuchsia
  • 8453888 Lime
  • 16776960 Yellow
  • 8421376 Olive
  • 8388736 Purple
  • 32768 Green
  • 16711680 Red
  • 8388608 Maroon
  • 128 Navy
  • 32896 Teal
  • 255 Blue
16776960

What each state writes

Computed with the same rules RFF Conformance uses, with the default options. Pick your own options in the builder below.

Enabled
HKCU\software\policies\microsoft\office\16.0\outlook\search hithighlightingbackgroundcolor 16776960 REG_DWORD
Disabled
HKCU\software\policies\microsoft\office\16.0\outlook\search hithighlightingbackgroundcolor value removed
Not configured
HKCU\software\policies\microsoft\office\16.0\outlook\search hithighlightingbackgroundcolor value removed

In Intune

Intune sets third-party templates by importing the ADMX first. In the admin center that is Devices > Configuration > Import ADMX, then a profile from Imported Administrative templates. With a custom (OMA-URI) profile instead, ingest the file once and then set the policy:

1. Ingest the ADMX./Device/Vendor/MSFT/Policy/ConfigOperations/ADMXInstall/Microsoft365Apps/Policy/outlk16
String value: the whole contents of outlk16.admx. "Microsoft365Apps" is a name you choose; use the same one below.
2. Set it (user)./User/Vendor/MSFT/Policy/Config/Microsoft365Apps~Policy~L_MicrosoftOfficeOutlook~L_OutlookOptions~L_Preferences~L_SearchOptions/L_HitHighlightingcolor
Value to enable<enabled/><data id="L_BackgroundColorcolon" value="16776960"/>
Value to disable<disabled/>

Path format from Microsoft's ADMX ingestion documentation; the category part comes from this ADMX.

Build it

Choose a state and options. You get the exact writes, a .reg file, a script that applies them, and a script that checks a machine and reports drift. Nothing leaves your browser.

Keep it set across your fleet

Group Policy writes these values once per refresh and never tells you when something changes them back. RFF Conformance reads them from every computer, shows which ones drifted and who changed them, and puts them back on approval, with each change versioned and undoable. It works without a domain controller.

How Conformance works · Your baseline from this site

Source: Administrative Template files for Microsoft 365 Apps for enterprise, Office LTSC 2021/2024 and Office 2016, version 5568.1000, published by Microsoft 2026-08-10. Policy names and option labels are Microsoft's. Microsoft's full description of this setting: search Microsoft Learn.

ADMX Viewer is open source: github.com/deadarcher/AdmxViewer. Found a wrong registry value, a missing catalog, or a template that won't load? Open an issue, email brian@getrff.com, or use the form below.