Épingler les sites de recherche Internet aux liens Relancer la recherche et au menu Démarrer
Vérifié avec Windows 11 25H2 — mis à jour le 30 juillet 2026
Pris en charge sur : Au minimum Windows Server 2008 R2 ou Windows 7
Chemin dans la console GPO
Configuration utilisateur\Modèles d'administration\Composants Windows\Explorateur de fichiers Description
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.
Registre
Software\Policies\Microsoft\Windows\Explorer Nom de valeur : TryHarderPinnedOpenSearch
Activé : TryHarderPinnedOpenSearch = 1
Désactivé : TryHarderPinnedOpenSearch = 0
MDM / Intune (CSP)
./User/Vendor/MSFT/Policy/Config/ADMX_WindowsExplorer/TryHarderPinnedOpenSearch Documentation Microsoft Learn Données de correspondance : Microsoft Learn (CC BY 4.0)
Générateur d'exports
BETAConfigurez l'état, la portée et les options, puis générez les sorties .reg, PowerShell, Intune et SCCM — ou ajoutez le paramètre à une collection multi-paramètres.
Ces exports écrivent le registre — ce n'est pas une GPO managée. ⓘ
Fichier .reg
Windows Registry Editor Version 5.00
; Exported from gporais.com
; Policy: Épingler les sites de recherche Internet aux liens Relancer la recherche et au menu Démarrer
; State: Enabled
; Supported on: Au minimum Windows Server 2008 R2 ou Windows 7
[HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Explorer]
"TryHarderPinnedOpenSearch"=dword:00000001
"OpenSearch0"=""
"OpenSearchLabel0"=""
"OpenSearch1"=""
"OpenSearchLabel1"=""
"OpenSearch2"=""
"OpenSearchLabel2"=""
"OpenSearch3"=""
"OpenSearchLabel3"=""
"OpenSearch4"=""
"OpenSearchLabel4"="" Autres formats (PowerShell, Intune, SCCM)
PowerShell
# Exported from gporais.com
# Policy: Épingler les sites de recherche Internet aux liens Relancer la recherche et au menu Démarrer
# State: Enabled
# Supported on: Au minimum Windows Server 2008 R2 ou Windows 7
# Warning: In SYSTEM context (the Intune default), HKCU targets the SYSTEM profile. Run this script using the logged-on credentials.
$path = 'HKCU:\Software\Policies\Microsoft\Windows\Explorer'
New-Item -Path $path -Force | Out-Null
Set-ItemProperty -Path $path -Name 'TryHarderPinnedOpenSearch' -Value 1 -Type DWord
Set-ItemProperty -Path $path -Name 'OpenSearch0' -Value '' -Type String
Set-ItemProperty -Path $path -Name 'OpenSearchLabel0' -Value '' -Type String
Set-ItemProperty -Path $path -Name 'OpenSearch1' -Value '' -Type String
Set-ItemProperty -Path $path -Name 'OpenSearchLabel1' -Value '' -Type String
Set-ItemProperty -Path $path -Name 'OpenSearch2' -Value '' -Type String
Set-ItemProperty -Path $path -Name 'OpenSearchLabel2' -Value '' -Type String
Set-ItemProperty -Path $path -Name 'OpenSearch3' -Value '' -Type String
Set-ItemProperty -Path $path -Name 'OpenSearchLabel3' -Value '' -Type String
Set-ItemProperty -Path $path -Name 'OpenSearch4' -Value '' -Type String
Set-ItemProperty -Path $path -Name 'OpenSearchLabel4' -Value '' -Type String Intune XML
OMA-URI: ./User/Vendor/MSFT/Policy/Config/ADMX_WindowsExplorer/TryHarderPinnedOpenSearch
Data type: String
Value:
<enabled/>
<data id="OpenSearch0" value=""/>
<data id="OpenSearchLabel0" value=""/>
<data id="OpenSearch1" value=""/>
<data id="OpenSearchLabel1" value=""/>
<data id="OpenSearch2" value=""/>
<data id="OpenSearchLabel2" value=""/>
<data id="OpenSearch3" value=""/>
<data id="OpenSearchLabel3" value=""/>
<data id="OpenSearch4" value=""/>
<data id="OpenSearchLabel4" value=""/> Intune Remediation
# === Detection script ===
# Exported from gporais.com
# Policy: Épingler les sites de recherche Internet aux liens Relancer la recherche et au menu Démarrer
# State: Enabled
# Supported on: Au minimum Windows Server 2008 R2 ou Windows 7
# Warning: In SYSTEM context (the Intune default), HKCU targets the SYSTEM profile. Run this script using the logged-on credentials.
function Test-RegistryValue {
param(
[Parameter(Mandatory = $true)][string]$Path,
[Parameter(Mandatory = $true)][string]$Name,
[object]$Expected,
[ValidateSet('String', 'DWord', 'MultiString')][string]$Kind = 'String',
[switch]$Absent
)
try {
$item = Get-ItemProperty -LiteralPath $Path -Name $Name -ErrorAction Stop
} catch {
return $Absent.IsPresent
}
if ($Absent.IsPresent) { return $false }
$actual = $item.$Name
if ($Kind -eq 'DWord') { return ([int64]$actual) -eq ([int64]$Expected) }
if ($Kind -eq 'MultiString') {
$actualValues = @($actual)
$expectedValues = @($Expected)
if ($actualValues.Count -ne $expectedValues.Count) { return $false }
for ($i = 0; $i -lt $expectedValues.Count; $i++) {
if ([string]$actualValues[$i] -ne [string]$expectedValues[$i]) { return $false }
}
return $true
}
return [string]$actual -eq [string]$Expected
}
$checks = @(
(Test-RegistryValue -Path 'HKCU:\Software\Policies\Microsoft\Windows\Explorer' -Name 'TryHarderPinnedOpenSearch' -Expected 1 -Kind DWord)
(Test-RegistryValue -Path 'HKCU:\Software\Policies\Microsoft\Windows\Explorer' -Name 'OpenSearch0' -Expected '' -Kind String)
(Test-RegistryValue -Path 'HKCU:\Software\Policies\Microsoft\Windows\Explorer' -Name 'OpenSearchLabel0' -Expected '' -Kind String)
(Test-RegistryValue -Path 'HKCU:\Software\Policies\Microsoft\Windows\Explorer' -Name 'OpenSearch1' -Expected '' -Kind String)
(Test-RegistryValue -Path 'HKCU:\Software\Policies\Microsoft\Windows\Explorer' -Name 'OpenSearchLabel1' -Expected '' -Kind String)
(Test-RegistryValue -Path 'HKCU:\Software\Policies\Microsoft\Windows\Explorer' -Name 'OpenSearch2' -Expected '' -Kind String)
(Test-RegistryValue -Path 'HKCU:\Software\Policies\Microsoft\Windows\Explorer' -Name 'OpenSearchLabel2' -Expected '' -Kind String)
(Test-RegistryValue -Path 'HKCU:\Software\Policies\Microsoft\Windows\Explorer' -Name 'OpenSearch3' -Expected '' -Kind String)
(Test-RegistryValue -Path 'HKCU:\Software\Policies\Microsoft\Windows\Explorer' -Name 'OpenSearchLabel3' -Expected '' -Kind String)
(Test-RegistryValue -Path 'HKCU:\Software\Policies\Microsoft\Windows\Explorer' -Name 'OpenSearch4' -Expected '' -Kind String)
(Test-RegistryValue -Path 'HKCU:\Software\Policies\Microsoft\Windows\Explorer' -Name 'OpenSearchLabel4' -Expected '' -Kind String)
)
if ($checks -notcontains $false) {
Write-Output 'Compliant'
exit 0
}
Write-Output 'Non-compliant'
exit 1
# === Remediation script ===
# Exported from gporais.com
# Policy: Épingler les sites de recherche Internet aux liens Relancer la recherche et au menu Démarrer
# State: Enabled
# Supported on: Au minimum Windows Server 2008 R2 ou Windows 7
# Warning: In SYSTEM context (the Intune default), HKCU targets the SYSTEM profile. Run this script using the logged-on credentials.
$path = 'HKCU:\Software\Policies\Microsoft\Windows\Explorer'
New-Item -Path $path -Force | Out-Null
Set-ItemProperty -Path $path -Name 'TryHarderPinnedOpenSearch' -Value 1 -Type DWord
Set-ItemProperty -Path $path -Name 'OpenSearch0' -Value '' -Type String
Set-ItemProperty -Path $path -Name 'OpenSearchLabel0' -Value '' -Type String
Set-ItemProperty -Path $path -Name 'OpenSearch1' -Value '' -Type String
Set-ItemProperty -Path $path -Name 'OpenSearchLabel1' -Value '' -Type String
Set-ItemProperty -Path $path -Name 'OpenSearch2' -Value '' -Type String
Set-ItemProperty -Path $path -Name 'OpenSearchLabel2' -Value '' -Type String
Set-ItemProperty -Path $path -Name 'OpenSearch3' -Value '' -Type String
Set-ItemProperty -Path $path -Name 'OpenSearchLabel3' -Value '' -Type String
Set-ItemProperty -Path $path -Name 'OpenSearch4' -Value '' -Type String
Set-ItemProperty -Path $path -Name 'OpenSearchLabel4' -Value '' -Type String Scripts SCCM
# Exported from gporais.com
# Policy: Épingler les sites de recherche Internet aux liens Relancer la recherche et au menu Démarrer
# State: Enabled
# Supported on: Au minimum Windows Server 2008 R2 ou Windows 7
# SCCM Configuration Item guidance:
# Create a Configuration Item of type "Setting: Script".
# Discovery script: use the Detection script below.
# Remediation script: use the Remediation script below.
# Compliance rule: the Discovery script output equals 'Compliant'.
# === Detection script ===
# Exported from gporais.com
# Policy: Épingler les sites de recherche Internet aux liens Relancer la recherche et au menu Démarrer
# State: Enabled
# Supported on: Au minimum Windows Server 2008 R2 ou Windows 7
# Warning: In SYSTEM context (the Intune default), HKCU targets the SYSTEM profile. Run this script using the logged-on credentials.
function Test-RegistryValue {
param(
[Parameter(Mandatory = $true)][string]$Path,
[Parameter(Mandatory = $true)][string]$Name,
[object]$Expected,
[ValidateSet('String', 'DWord', 'MultiString')][string]$Kind = 'String',
[switch]$Absent
)
try {
$item = Get-ItemProperty -LiteralPath $Path -Name $Name -ErrorAction Stop
} catch {
return $Absent.IsPresent
}
if ($Absent.IsPresent) { return $false }
$actual = $item.$Name
if ($Kind -eq 'DWord') { return ([int64]$actual) -eq ([int64]$Expected) }
if ($Kind -eq 'MultiString') {
$actualValues = @($actual)
$expectedValues = @($Expected)
if ($actualValues.Count -ne $expectedValues.Count) { return $false }
for ($i = 0; $i -lt $expectedValues.Count; $i++) {
if ([string]$actualValues[$i] -ne [string]$expectedValues[$i]) { return $false }
}
return $true
}
return [string]$actual -eq [string]$Expected
}
$checks = @(
(Test-RegistryValue -Path 'HKCU:\Software\Policies\Microsoft\Windows\Explorer' -Name 'TryHarderPinnedOpenSearch' -Expected 1 -Kind DWord)
(Test-RegistryValue -Path 'HKCU:\Software\Policies\Microsoft\Windows\Explorer' -Name 'OpenSearch0' -Expected '' -Kind String)
(Test-RegistryValue -Path 'HKCU:\Software\Policies\Microsoft\Windows\Explorer' -Name 'OpenSearchLabel0' -Expected '' -Kind String)
(Test-RegistryValue -Path 'HKCU:\Software\Policies\Microsoft\Windows\Explorer' -Name 'OpenSearch1' -Expected '' -Kind String)
(Test-RegistryValue -Path 'HKCU:\Software\Policies\Microsoft\Windows\Explorer' -Name 'OpenSearchLabel1' -Expected '' -Kind String)
(Test-RegistryValue -Path 'HKCU:\Software\Policies\Microsoft\Windows\Explorer' -Name 'OpenSearch2' -Expected '' -Kind String)
(Test-RegistryValue -Path 'HKCU:\Software\Policies\Microsoft\Windows\Explorer' -Name 'OpenSearchLabel2' -Expected '' -Kind String)
(Test-RegistryValue -Path 'HKCU:\Software\Policies\Microsoft\Windows\Explorer' -Name 'OpenSearch3' -Expected '' -Kind String)
(Test-RegistryValue -Path 'HKCU:\Software\Policies\Microsoft\Windows\Explorer' -Name 'OpenSearchLabel3' -Expected '' -Kind String)
(Test-RegistryValue -Path 'HKCU:\Software\Policies\Microsoft\Windows\Explorer' -Name 'OpenSearch4' -Expected '' -Kind String)
(Test-RegistryValue -Path 'HKCU:\Software\Policies\Microsoft\Windows\Explorer' -Name 'OpenSearchLabel4' -Expected '' -Kind String)
)
if ($checks -notcontains $false) {
Write-Output 'Compliant'
exit 0
}
Write-Output 'Non-compliant'
exit 1
# === Remediation script ===
# Exported from gporais.com
# Policy: Épingler les sites de recherche Internet aux liens Relancer la recherche et au menu Démarrer
# State: Enabled
# Supported on: Au minimum Windows Server 2008 R2 ou Windows 7
# Warning: In SYSTEM context (the Intune default), HKCU targets the SYSTEM profile. Run this script using the logged-on credentials.
$path = 'HKCU:\Software\Policies\Microsoft\Windows\Explorer'
New-Item -Path $path -Force | Out-Null
Set-ItemProperty -Path $path -Name 'TryHarderPinnedOpenSearch' -Value 1 -Type DWord
Set-ItemProperty -Path $path -Name 'OpenSearch0' -Value '' -Type String
Set-ItemProperty -Path $path -Name 'OpenSearchLabel0' -Value '' -Type String
Set-ItemProperty -Path $path -Name 'OpenSearch1' -Value '' -Type String
Set-ItemProperty -Path $path -Name 'OpenSearchLabel1' -Value '' -Type String
Set-ItemProperty -Path $path -Name 'OpenSearch2' -Value '' -Type String
Set-ItemProperty -Path $path -Name 'OpenSearchLabel2' -Value '' -Type String
Set-ItemProperty -Path $path -Name 'OpenSearch3' -Value '' -Type String
Set-ItemProperty -Path $path -Name 'OpenSearchLabel3' -Value '' -Type String
Set-ItemProperty -Path $path -Name 'OpenSearch4' -Value '' -Type String
Set-ItemProperty -Path $path -Name 'OpenSearchLabel4' -Value '' -Type String Vous construisez une collection multi-paramètres ? Ajoutez ce paramètre et générez des exports combinés (.reg, PowerShell, GPO).