Ouvrir dans l'explorateur

Autoriser les temps forts de la recherche

Allow search highlights

Type
Ordinateur
Chemin GPO
Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Rechercher EN : Computer Configuration › Policies › Administrative Templates › Windows Components › Search
Pris en charge sur
Au moins Windows Server 2016, Windows 10 EN : At least Windows Server 2016, Windows 10
Fichier ADMX
Search.admx
Nom interne
Search/AllowSearchHighlights

Explication

Texte français issu de Windows 11 26H2

La désactivation de ce paramètre désactive les temps forts de la recherche dans la zone de recherche du menu Démarrer et dans la page d’accueil de la recherche. L’activation ou la non-configuration de ce paramètre active les temps forts de la recherche dans la zone de recherche du menu Démarrer et dans la page d’accueil de la recherche.

Disabling this setting turns off search highlights in the start menu search box and in search home. Enabling or not configuring this setting turns on search highlights in the start menu search box and in search home.

Registre

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Windows Search
Nom de la valeur
EnableDynamicContentInWSB
ÉtatValeur écrite
ActivéREG_DWORD = 1
DésactivéREG_DWORD = 0

PowerShell

Commandes PowerShell qui écrivent dans le registre ce que la stratégie écrirait. Les valeurs entre chevrons (<…>) sont à remplacer.

Écrire directement dans le registre contourne la stratégie de groupe : si une GPO gère cette valeur, elle sera réécrite au prochain gpupdate ; sinon la valeur reste en place (effet « tatouage »). Préférez une GPO ou, en local, LGPO.exe. Exécutez PowerShell en administrateur pour HKLM. Certaines stratégies demandent un redémarrage ou gpupdate /force.

Activer

# Activer : Search/AllowSearchHighlights
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'EnableDynamicContentInWSB' -Value 1 -Type DWord

Désactiver

# Désactiver : Search/AllowSearchHighlights
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'EnableDynamicContentInWSB' -Value 0 -Type DWord

Revenir à « Non configuré »

# Revenir à « Non configuré » : Search/AllowSearchHighlights
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search'
Remove-ItemProperty -Path $k -Name 'EnableDynamicContentInWSB' -ErrorAction SilentlyContinue

Disponibilité

Windows 10

✓ 22H2✓ 21H2— 21H1— 20H2— 2004— 1909— 1903— 1809— 1803— 1709— 1703— 1607— 1511— 1507

Windows Server

✓ 2025— 2022— 2016