Prevent configuration of top-result search on Address bar
Empêcher la configuration de la recherche de résultat principal dans la barre d’adresse
Explanation
This policy setting allows you to specify whether a user can browse to the website of a top result when search is enabled on the Address bar. The possible options are:
• Disable top result search: When a user performs a search in the Address bar, a list of search results from the selected search provider is displayed in the main window.
• Enable top result search: When a user performs a search in the Address bar, the user is directed to an external top result website determined by the search provider, if available.
If you enable this policy setting, you can choose where to direct the user after a search on the Address bar: a top-result website or a search-results webpage in the main window.
If you disable or do not configure this policy setting, the user can select their preference for this behavior. Browsing to the top-result website is the default.
Ce paramètre de stratégie vous permet de spécifier si un utilisateur peut accéder au site web d’un résultat principal lorsque la recherche est activée dans la barre d’adresse. Les options possibles sont les suivantes :
• Désactiver la recherche de résultat principal : lorsqu’un utilisateur effectue une recherche dans la barre d’adresse, une liste de résultats de recherche provenant du moteur de recherche sélectionné s’affiche dans la fenêtre principale.
• Activer la recherche de résultat principal : lorsqu’un utilisateur effectue une recherche dans la barre d’adresse, il est dirigé le cas échéant vers un site web de résultat principal externe déterminé par le moteur de recherche.
Si vous activez ce paramètre de stratégie, vous pouvez choisir où diriger l’utilisateur après une recherche dans la barre d’adresse : site web du résultat principal ou page web de résultats de la recherche dans la fenêtre principale.
Si vous désactivez ou ne configurez pas ce paramètre de stratégie, l’utilisateur peut sélectionner sa préférence pour ce comportement. L’accès au site web du résultat principal constitue la valeur par défaut.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Internet Explorer\SearchScopesHKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\SearchScopes- 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.
Computer (HKLM)
Enable
# Enable: inetres/TopResultPol
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\SearchScopes'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# When searching from the Address bar
# Possible options:
# Enable top result search = 1
# Disable top result search = 0
Set-ItemProperty -Path $k -Name 'TopResult' -Value 1 -Type DWordDisable
# Disable: inetres/TopResultPol
# No value is written in the "Disabled" state (nothing defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": inetres/TopResultPol
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\SearchScopes'
Remove-ItemProperty -Path $k -Name 'TopResult' -ErrorAction SilentlyContinueUser (HKCU)
Enable
Disable
Revert to "Not configured"
Options (1)
| Label | Control | Registry value | REG type | Constraints / details | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| When searching from the Address bar:Pour les recherches à partir de la barre d’adresses :TopResult | Drop-down listenum | TopResult | REG_DWORD | Default choice (UI): #0
|