Set large or small icon view in desktop search results
Définir l’affichage des grandes ou petites icônes dans les résultats Windows Search
Explanation
Enabling this policy allows you to specify whether you want large icon or small icon view for your Desktop Search results. The two options are:
- Large Icon
- Small Icon.
If you have disabled the preview pane because your organization does not support Office XP or above, you should enforce the large icon view so that users can see snippets related to their desktop search query.
When this policy is disabled or not configured, the default is small icon view.
L’activation de cette stratégie permet de spécifier l’affichage des grandes ou petites icônes pour les résultats de Windows Search. Les deux options disponibles sont les suivantes :
- Grandes icônes
- Petites icônes.
Si vous avez désactivé le volet de visualisation parce que votre organisation ne prend pas en charge Office XP ou les versions ultérieures, vous devez appliquer l’affichage des grandes icônes afin que les utilisateurs puissent consulter des extraits de la requête Windows Search.
Si cette stratégie est désactivée ou non configurée, l’affichage des petites icônes est utilisé par défaut.
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/SearchResultIconSize
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Set Large or Small Icon View in Desktop Search Results
# Possible options:
# Large Icon = 0
# Small Icon = 1
Set-ItemProperty -Path $k -Name 'SearchResultIconSize' -Value 0 -Type DWordDisable
# Disable: Search/SearchResultIconSize
# No value is written in the "Disabled" state (nothing defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": Search/SearchResultIconSize
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search'
Remove-ItemProperty -Path $k -Name 'SearchResultIconSize' -ErrorAction SilentlyContinueOptions (1)
| Label | Control | Registry value | REG type | Constraints / details | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Set Large or Small Icon View in Desktop Search ResultsDéfinir l’affichage des grandes ou petites icônes dans les résultats Windows SearchSearchResultIconSize | Drop-down listenum | SearchResultIconSize | REG_DWORD | Default choice (UI): #0
|