Ouvrir dans l'explorateur

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

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

Type
Utilisateur
Chemin GPO
Configuration utilisateur › Stratégies › Modèles d'administration › Composants Windows › Explorateur de fichiers EN : User Configuration › Policies › Administrative Templates › Windows Components › File Explorer
Pris en charge sur
Au minimum Windows Server 2008 R2 ou Windows 7 EN : At least Windows Server 2008 R2 or Windows 7
Fichier ADMX
WindowsExplorer.admx
Nom interne
WindowsExplorer/TryHarderPinnedOpenSearch

Explication

Texte français issu de 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.

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.

Registre

HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Explorer
Nom de la valeur
TryHarderPinnedOpenSearch
ÉtatValeur écrite
ActivéREG_DWORD = 1
DésactivéREG_DWORD = 0

PowerShell

Commandes PowerShell qui écrivent dans le registre ce que la stratégie écrirait. Les valeurs entre chevrons (<…>) sont à remplacer.

Écrire directement dans le registre contourne la stratégie de groupe : si une GPO gère cette valeur, elle sera réécrite au prochain gpupdate ; sinon la valeur reste en place (effet « tatouage »). Préférez une GPO ou, en local, LGPO.exe. Exécutez PowerShell en administrateur pour HKLM. Certaines stratégies demandent un redémarrage ou gpupdate /force.

Activer

# Activer : 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
# URL du site 1
Set-ItemProperty -Path $k -Name 'OpenSearch0' -Value '<valeur>' -Type String
# Nom du site 1
Set-ItemProperty -Path $k -Name 'OpenSearchLabel0' -Value '<valeur>' -Type String
# URL du site 2
Set-ItemProperty -Path $k -Name 'OpenSearch1' -Value '<valeur>' -Type String
# Nom du site 2
Set-ItemProperty -Path $k -Name 'OpenSearchLabel1' -Value '<valeur>' -Type String
# URL du site 3
Set-ItemProperty -Path $k -Name 'OpenSearch2' -Value '<valeur>' -Type String
# Nom du site 3
Set-ItemProperty -Path $k -Name 'OpenSearchLabel2' -Value '<valeur>' -Type String
# URL du site 4
Set-ItemProperty -Path $k -Name 'OpenSearch3' -Value '<valeur>' -Type String
# Nom du site 4
Set-ItemProperty -Path $k -Name 'OpenSearchLabel3' -Value '<valeur>' -Type String
# URL du site 5
Set-ItemProperty -Path $k -Name 'OpenSearch4' -Value '<valeur>' -Type String
# Nom du site 5
Set-ItemProperty -Path $k -Name 'OpenSearchLabel4' -Value '<valeur>' -Type String

Désactiver

# Désactiver : 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

Revenir à « Non configuré »

# Revenir à « Non configuré » : 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)

LibelléContrôleValeur de registreType REGContraintes / détails
URL du site 1Site URL 1OpenSearch0Zone de textetextOpenSearch0REG_SZ
Nom du site 1Site Name 1OpenSearchLabel0Zone de textetextOpenSearchLabel0REG_SZ
URL du site 2Site URL 2OpenSearch1Zone de textetextOpenSearch1REG_SZ
Nom du site 2Site Name 2OpenSearchLabel1Zone de textetextOpenSearchLabel1REG_SZ
URL du site 3Site URL 3OpenSearch2Zone de textetextOpenSearch2REG_SZ
Nom du site 3Site Name 3OpenSearchLabel2Zone de textetextOpenSearchLabel2REG_SZ
URL du site 4Site URL 4OpenSearch3Zone de textetextOpenSearch3REG_SZ
Nom du site 4Site Name 4OpenSearchLabel3Zone de textetextOpenSearchLabel3REG_SZ
URL du site 5Site URL 5OpenSearch4Zone de textetextOpenSearch4REG_SZ
Nom du site 5Site Name 5OpenSearchLabel4Zone de textetextOpenSearchLabel4REG_SZ

Disponibilité