Open in the explorer

Fully disable Search UI

Désactiver complètement l’interface utilisateur de recherche

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › Windows Components › Search FR: Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Rechercher
Supported on
Windows 11 SE
ADMX file
Search.admx
Internal name
Search/DisableSearch

Explanation

If you enable this policy, the Search UI will be disabled along with all its entry points, such as keyboard shortcuts, touchpad gestures, and type-to-search in the Start menu. The Start menu's search box and Search Taskbar button will also be hidden.

If you disable or don't configure this policy setting, the user will be able to open the Search UI and its different entry points will be shown.

French text from Windows 11 26H2

Si vous activez ce paramètre de stratégie, l’interface utilisateur de recherche est désactivée avec tous ses points d’entrée, tels que les raccourcis clavier, les mouvements du pavé tactile et la recherche de type dans le menu Démarrer. La zone de recherche du menu Démarrer et le bouton de la barre des tâches de recherche seront également masqués.

Si vous désactivez ou ne configurez pas ce paramètre de stratégie, l’utilisateur peut ouvrir l’interface utilisateur de recherche et ses différents points d’entrée sont affichés.

Registry

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Windows Search
Value name
DisableSearch
StateValue written
EnabledREG_DWORD = 1
DisabledREG_DWORD = 0

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: Search/DisableSearch
$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 'DisableSearch' -Value 1 -Type DWord

Disable

# Disable: Search/DisableSearch
$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 'DisableSearch' -Value 0 -Type DWord

Revert to "Not configured"

# Revert to "Not configured": Search/DisableSearch
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search'
Remove-ItemProperty -Path $k -Name 'DisableSearch' -ErrorAction SilentlyContinue

Availability

Windows 10

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

Windows Server

✓ 2025— 2022— 2016