Configures search on the taskbar
Configure la recherche dans la barre des tâches
Explanation
This policy setting allows you to configure search on the taskbar.
If you enable this policy setting and set it to hide, search on taskbar will be hidden by default. Users cannot change it in Settings.
If you enable this policy setting and set it to search icon only, the search icon will be displayed on the taskbar by default. Users cannot change it in Settings.
If you enable this policy setting and set it to search icon and label, the search icon and label will be displayed on the taskbar by default. Users cannot change it in Settings.
If you enable this policy setting and set it to search box, the search box will be displayed on the taskbar by default. Users cannot change it in Settings.
If you disable or do not configure this policy setting, search on taskbar will be configured according to the defaults for your Windows edition. Users will be able to change search on taskbar in Settings.
Ce paramètre de stratégie vous permet de configurer la recherche dans la barre des tâches.
Si vous activez ce paramètre de stratégie et que vous le définissez sur Masquer, la recherche dans la barre des tâches sera masquée par défaut. Les utilisateurs ne peuvent pas le modifier dans les paramètres.
Si vous activez ce paramètre de stratégie et que vous le définissez sur l'icône de recherche uniquement, l'icône de recherche s'affichera par défaut dans la barre des tâches. Les utilisateurs ne peuvent pas le modifier dans les paramètres.
Si vous activez ce paramètre de stratégie et que vous le définissez sur l'icône et l'étiquette de recherche, l'icône et l'étiquette de recherche s'afficheront par défaut dans la barre des tâches. Les utilisateurs ne peuvent pas le modifier dans les paramètres.
Si vous activez ce paramètre de stratégie et que vous le définissez sur la zone de recherche, la zone de recherche s'affichera par défaut dans la barre des tâches. Les utilisateurs ne peuvent pas le modifier dans les paramètres.
Si vous désactivez ou ne configurez pas ce paramètre de stratégie, la recherche dans la barre des tâches sera configurée selon les valeurs par défaut de votre édition Windows. Les utilisateurs pourront modifier la recherche dans la barre des tâches dans les paramètres.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Windows Search- Value name
- not defined in the ADMX
Enable / disable values: not defined in the ADMX (see the options below).
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/ConfigureSearchOnTaskbarMode
$k = 'HKLM:\Software\Policies\Microsoft\Windows\Windows Search'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Search on the taskbar
# Possible options:
# Hide = 0
# Search icon only = 1
# Search icon and label = 2
# Search box = 3
Set-ItemProperty -Path $k -Name 'SearchOnTaskbarMode' -Value 0 -Type DWordDisable
# Disable: Search/ConfigureSearchOnTaskbarMode
# No value is written in the "Disabled" state (nothing defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": Search/ConfigureSearchOnTaskbarMode
$k = 'HKLM:\Software\Policies\Microsoft\Windows\Windows Search'
Remove-ItemProperty -Path $k -Name 'SearchOnTaskbarMode' -ErrorAction SilentlyContinueOptions (1)
| Label | Control | Registry value | REG type | Constraints / details | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Search on the taskbarRechercher dans la barre des tâchesConfigureSearchOnTaskbarMode_Dropdown | Drop-down listenum | SearchOnTaskbarMode | REG_DWORD | Required · Default choice (UI): #0
|