Open in the explorer

Pin Internet search sites to the "Search again" links and the Start menu

Épingler les sites de recherche Internet aux liens Relancer la recherche et au menu Démarrer

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
At least Windows Server 2008 R2 or Windows 7 FR: Au minimum Windows Server 2008 R2 ou Windows 7
ADMX file
WindowsExplorer.admx
Internal name
WindowsExplorer/TryHarderPinnedOpenSearch

Explanation

This policy setting allows you to add Internet or intranet sites to the "Search again" links located at the bottom of search results in File Explorer and the Start menu links. The "Search again" links at the bottom of the Search Results view allow the user to reconduct a search but in a different location. The Internet search site will be searched with the text in the search box. To add an Internet search site, specify the URL of the search site in OpenSearch format with {searchTerms} for the query string (for example, http://www.example.com/results.aspx?q={searchTerms}).

You can add up to five additional links to the "Search again" links at the bottom of results returned in File Explorer after a search is executed. These links will be shared between Internet search sites and Search Connectors/Libraries. Search Connector/Library links take precedence over Internet search links.

The first several links will also be pinned to the Start menu. A total of four links can be pinned on the Start menu. The "See more results" link will be pinned first by default, unless it is disabled via Group Policy. The "Search the Internet" link is pinned second, if it is pinned via Group Policy (though this link is disabled by default). If a custom Internet search link is pinned using the "Custom Internet search provider" Group Policy, this link will be pinned third on the Start menu. The remaining link(s) will be shared between pinned Internet/intranet links and pinned Search Connectors/Libraries. Search Connector/Library links take precedence over Internet/intranet search links.

If you enable this policy setting, the specified Internet sites will appear in the "Search again" links and the Start menu links.

If you disable or do not configure this policy setting, no custom Internet search sites will be added to the "Search again" links or the Start menu links.

French text from Windows 11 26H2

Ce paramètre de stratégie vous permet d’ajouter des sites Internet ou intranet aux liens Relancer la recherche situés en bas des résultats de recherche affichés dans l’Explorateur de fichiers ainsi qu’aux liens du menu Démarrer. Les liens « Relancer la recherche » situés en bas de la fenêtre Résultats de la recherche permettent à l’utilisateur d’effectuer la même recherche, mais à un autre emplacement. Le texte indiqué dans la zone de recherche est recherché sur le site de recherche Internet. Pour ajouter un site de recherche Internet, spécifiez l’URL du site en question au format OpenSearch en intégrant la variable {searchTerms} pour les termes recherchés (par exemple, http://www.example.com/results.aspx?q={searchTerms}).

Vous pouvez ajouter jusqu’à cinq liens supplémentaires aux liens Relancer la recherche situés en bas des résultats affichés dans l’Explorateur de fichiers. Ces liens seront partagés entre les sites de recherche Internet et les Connecteurs de recherche/Bibliothèques. Les liens Connecteur de recherche/Bibliothèque ont la priorité sur les liens de recherche Internet.

Les premiers liens, quatre au maximum, peuvent également être épinglés au menu Démarrer. Le lien « Voir plus de résultats » est épinglé en premier par défaut, sauf s’il est désactivé par le biais de la stratégie de groupe. Le lien « Rechercher sur Internet » est épinglé en deuxième, s’il est épinglé via la stratégie de groupe (ce lien est désactivé par défaut). Si un lien de recherche Internet personnalisée est épinglé par le biais de la stratégie de groupe « Fournisseur de recherche personnalisée sur Internet », ce lien est épinglé en troisième dans le menu Démarrer. Les autres liens sont partagés entre les liens Internet/intranet épinglés et les liens Connecteur de recherche/Bibliothèque épinglés. Les liens Connecteur de recherche/Bibliothèque ont la priorité sur les liens de recherche Internet/intranet.

Si vous activez ce paramètre de stratégie, les sites Internet spécifiés sont affichés dans les liens « Relancer la recherche » et dans les liens du menu Démarrer.

Si vous désactivez ce paramètre de stratégie ou ne le configurez pas, aucun site de recherche Internet personnalisée n’est ajouté aux liens « Relancer la recherche » ou aux liens du menu Démarrer.

Registry

HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Explorer
Value name
TryHarderPinnedOpenSearch
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: WindowsExplorer/TryHarderPinnedOpenSearch
$k = 'HKCU:\Software\Policies\Microsoft\Windows\Explorer'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'TryHarderPinnedOpenSearch' -Value 1 -Type DWord
# Site URL 1
Set-ItemProperty -Path $k -Name 'OpenSearch0' -Value '<value>' -Type String
# Site Name 1
Set-ItemProperty -Path $k -Name 'OpenSearchLabel0' -Value '<value>' -Type String
# Site URL 2
Set-ItemProperty -Path $k -Name 'OpenSearch1' -Value '<value>' -Type String
# Site Name 2
Set-ItemProperty -Path $k -Name 'OpenSearchLabel1' -Value '<value>' -Type String
# Site URL 3
Set-ItemProperty -Path $k -Name 'OpenSearch2' -Value '<value>' -Type String
# Site Name 3
Set-ItemProperty -Path $k -Name 'OpenSearchLabel2' -Value '<value>' -Type String
# Site URL 4
Set-ItemProperty -Path $k -Name 'OpenSearch3' -Value '<value>' -Type String
# Site Name 4
Set-ItemProperty -Path $k -Name 'OpenSearchLabel3' -Value '<value>' -Type String
# Site URL 5
Set-ItemProperty -Path $k -Name 'OpenSearch4' -Value '<value>' -Type String
# Site Name 5
Set-ItemProperty -Path $k -Name 'OpenSearchLabel4' -Value '<value>' -Type String

Disable

# Disable: WindowsExplorer/TryHarderPinnedOpenSearch
$k = 'HKCU:\Software\Policies\Microsoft\Windows\Explorer'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'TryHarderPinnedOpenSearch' -Value 0 -Type DWord

Revert to "Not configured"

# Revert to "Not configured": WindowsExplorer/TryHarderPinnedOpenSearch
$k = 'HKCU:\Software\Policies\Microsoft\Windows\Explorer'
Remove-ItemProperty -Path $k -Name 'TryHarderPinnedOpenSearch' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'OpenSearch0' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'OpenSearchLabel0' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'OpenSearch1' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'OpenSearchLabel1' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'OpenSearch2' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'OpenSearchLabel2' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'OpenSearch3' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'OpenSearchLabel3' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'OpenSearch4' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'OpenSearchLabel4' -ErrorAction SilentlyContinue

Options (10)

LabelControlRegistry valueREG typeConstraints / details
Site URL 1URL du site 1OpenSearch0Text boxtextOpenSearch0REG_SZ
Site Name 1Nom du site 1OpenSearchLabel0Text boxtextOpenSearchLabel0REG_SZ
Site URL 2URL du site 2OpenSearch1Text boxtextOpenSearch1REG_SZ
Site Name 2Nom du site 2OpenSearchLabel1Text boxtextOpenSearchLabel1REG_SZ
Site URL 3URL du site 3OpenSearch2Text boxtextOpenSearch2REG_SZ
Site Name 3Nom du site 3OpenSearchLabel2Text boxtextOpenSearchLabel2REG_SZ
Site URL 4URL du site 4OpenSearch3Text boxtextOpenSearch3REG_SZ
Site Name 4Nom du site 4OpenSearchLabel3Text boxtextOpenSearchLabel3REG_SZ
Site URL 5URL du site 5OpenSearch4Text boxtextOpenSearch4REG_SZ
Site Name 5Nom du site 5OpenSearchLabel4Text boxtextOpenSearchLabel4REG_SZ

Availability