Open in the explorer

Enable filter in Find dialog box

Activer le filtrage dans la boîte de dialogue Rechercher

Type
User
GPO path
User Configuration › Policies › Administrative Templates › Desktop › Active Directory FR: Configuration utilisateur › Stratégies › Modèles d'administration › Bureau › Active Directory
Supported on
At least Windows 2000 FR: Au minimum Windows 2000
ADMX file
Desktop.admx
Internal name
Desktop/AD_EnableFilter

Explanation

Displays the filter bar above the results of an Active Directory search. The filter bar consists of buttons for applying additional filters to search results.

If you enable this setting, the filter bar appears when the Active Directory Find dialog box opens, but users can hide it.

If you disable this setting or do not configure it, the filter bar does not appear, but users can display it by selecting "Filter" on the "View" menu.

To see the filter bar, open Network Locations, click Entire Network, and then click Directory. Right-click the name of a Windows domain, and click Find. Type the name of an object in the directory, such as "Administrator." If the filter bar does not appear above the resulting display, on the View menu, click Filter.

French text from Windows 11 26H2

Affiche la barre de filtre au-dessus des résultats d’une recherche Active Directory. La barre de filtre contient des boutons permettant d’appliquer des filtres supplémentaires pour rechercher des résultats.

Si vous activez ce paramètre, la barre de filtre apparaît lorsque la boîte de dialogue Rechercher d’Active Directory s’ouvre, mais les utilisateurs peuvent la masquer.

Si vous désactivez ce paramètre ou ne le configurez pas, la barre de filtre n’apparaît pas, mais les utilisateurs peuvent l’afficher en sélectionnant « Filtre » dans le menu « Affichage ».

Pour afficher la barre de filtre, ouvrez Emplacements réseau, cliquez sur Tout le réseau, puis sur Annuaire. Cliquez avec le bouton droit sur le nom d’un domaine Windows, puis cliquez sur Rechercher. Tapez le nom d’un objet dans l’annuaire, tel que « Administrateur ». Si la barre de filtre n’apparaît pas au-dessus du résultat affiché, cliquez sur Filtre dans le menu Affichage.

Registry

HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Directory UI
Value name
EnableFilter
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: Desktop/AD_EnableFilter
$k = 'HKCU:\Software\Policies\Microsoft\Windows\Directory UI'
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 'EnableFilter' -Value 1 -Type DWord  # assumed value (not defined in the ADMX)

Disable

# Disable: Desktop/AD_EnableFilter
$k = 'HKCU:\Software\Policies\Microsoft\Windows\Directory UI'
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 'EnableFilter' -Value 0 -Type DWord  # assumed value (not defined in the ADMX)

Revert to "Not configured"

# Revert to "Not configured": Desktop/AD_EnableFilter
$k = 'HKCU:\Software\Policies\Microsoft\Windows\Directory UI'
Remove-ItemProperty -Path $k -Name 'EnableFilter' -ErrorAction SilentlyContinue

Availability