Open in the explorer

Remove Search button from File Explorer

Supprimer le bouton Rechercher de l’Explorateur de fichiers

Type
User
GPO path
User Configuration › Policies › Administrative Templates › Windows Components › File Explorer FR: Configuration utilisateur › Stratégies › Modèles d'administration › Composants Windows › Explorateur de fichiers
Supported on
Windows Server 2003, Windows XP, and Windows 2000 only FR: Windows Server 2003, Windows XP et Windows 2000 uniquement
ADMX file
WindowsExplorer.admx
Internal name
WindowsExplorer/NoShellSearchButton

Explanation

This policy setting allows you to remove the Search button from the File Explorer toolbar.

If you enable this policy setting, the Search button is removed from the Standard Buttons toolbar that appears in File Explorer and other programs that use the File Explorer window, such as My Computer and Network Locations.

Enabling this policy setting does not remove the Search button or affect any search features of Internet browser windows, such as the Internet Explorer window.

If you disable or do not configure this policy setting, the Search button is available from the File Explorer toolbar.

This policy setting does not affect the Search items on the File Explorer context menu or on the Start menu. To remove Search from the Start menu, use the "Remove Search menu from Start menu" policy setting (in User Configuration\Administrative Templates\Start Menu and Taskbar). To hide all context menus, use the "Remove File Explorer's default context menu" policy setting.

French text from Windows 11 26H2

Ce paramètre de stratégie permet de supprimer le bouton Rechercher de l’Explorateur de fichiers.

Si vous activez ce paramètre de stratégie, le bouton Rechercher est supprimé de la barre d’outils des boutons standard qui apparaît dans l’Explorateur de fichiers et dans d’autres programmes utilisant la fenêtre de l’Explorateur de fichiers, tels que Poste de travail et les emplacements réseau.

L’activation de ce paramètre de stratégie ne supprime pas le bouton Rechercher et n’affecte aucune des fonctionnalités de recherche des fenêtres d’un navigateur Internet, telles que celles d’Internet Explorer.

Si vous désactivez ce paramètre de stratégie ou ne configurez pas, le bouton Rechercher est disponible dans la barre d’outils de l’Explorateur de fichiers.

Ce paramètre de stratégie n’affecte pas les options de recherche du menu contextuel de l’Explorateur de fichiers ou du menu Démarrer. Pour supprimer Rechercher du menu Démarrer, utilisez le paramètre de stratégie « Supprimer le menu Rechercher du menu Démarrer » (dans Configuration utilisateur\Modèles d’administration\Menu Démarrer et barre des tâches). Pour masquer tous les menus contextuels, utilisez le paramètre de stratégie « Supprimer le menu contextuel par défaut de l’Explorateur de fichiers ».

Registry

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
Value name
NoShellSearchButton
StateValue written
Enablednot defined in the ADMX
Disablednot defined in the ADMX

PowerShell

PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.

The ADMX does not specify the value written when enabled; the GPO editor usually writes REG_DWORD 1 (enabled) / 0 (disabled). The commands below use 1/0 as an assumption.

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: WindowsExplorer/NoShellSearchButton
$k = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# The ADMX does not specify the value written; the GPO editor usually writes REG_DWORD 1 (enabled) / 0 (disabled)
Set-ItemProperty -Path $k -Name 'NoShellSearchButton' -Value 1 -Type DWord  # assumed value (not defined in the ADMX)

Disable

# Disable: WindowsExplorer/NoShellSearchButton
$k = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# The ADMX does not specify the value written; the GPO editor usually writes REG_DWORD 1 (enabled) / 0 (disabled)
Set-ItemProperty -Path $k -Name 'NoShellSearchButton' -Value 0 -Type DWord  # assumed value (not defined in the ADMX)

Revert to "Not configured"

# Revert to "Not configured": WindowsExplorer/NoShellSearchButton
$k = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer'
Remove-ItemProperty -Path $k -Name 'NoShellSearchButton' -ErrorAction SilentlyContinue

Availability