Open in the explorer

Prevent configuration of search on Address bar

Empêcher la configuration de la recherche dans la barre d’adresses

Type
Computer and user
GPO path
Computer Configuration › Policies › Administrative Templates › Windows Components › Internet Explorer › Internet Settings › Advanced settings › Searching User Configuration › Policies › Administrative Templates › Windows Components › Internet Explorer › Internet Settings › Advanced settings › Searching FR: Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Internet Explorer › Paramètres Internet › Paramètres avancés › Lors de la rechercheFR: Configuration utilisateur › Stratégies › Modèles d'administration › Composants Windows › Internet Explorer › Paramètres Internet › Paramètres avancés › Lors de la recherche
Supported on
At least Internet Explorer 7.0 FR: Au moins Internet Explorer 7.0
ADMX file
inetres.admx
Internal name
inetres/URLFailsPol

Explanation

This policy setting specifies whether the user can conduct a search on the Address bar.

If you enable this policy setting, you must specify which of the following actions applies to searches on the Address bar. The user cannot change the specified action.

• Do not search from the Address bar: The user cannot use the Address bar for searches. The user can still perform searches on the Search bar by clicking the Search button.
• Display the results in the main window: When the user searches on the Address bar, the list of search results is displayed in the main window.

If you disable or do not configure this policy setting, the user can specify what action applies to searches on the Address bar.

French text from Windows 11 26H2

Ce paramètre de stratégie spécifie si l’utilisateur peut effectuer une recherche dans la barre d’adresses.

Si vous activez ce paramètre de stratégie, vous devez spécifier les actions qui s’appliquent aux recherches effectuées dans la barre d’adresses. L’utilisateur ne peut pas modifier l’action spécifiée.

• Ne pas effectuer de recherche à partir de la barre d’adresses : l’utilisateur ne peut pas utiliser la barre d’adresses pour effectuer des recherches. L’utilisateur peut toujours effectuer des recherches dans le volet de recherche en cliquant sur le bouton Rechercher.
• Afficher les résultats dans la fenêtre principale : lorsque l’utilisateur effectue des recherches dans la barre d’adresses, la liste des résultats de la recherche est affichée dans la fenêtre principale.

Si vous désactivez ce paramètre de stratégie ou si vous ne le configurez pas, l’utilisateur peut spécifier l’action qui est appliquée aux recherches dans la barre d’adresses.

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Internet Explorer\Main
HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Main
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/URLFailsPol
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Main'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# When searching from the address bar
# Possible options:
#   Display the results in the main window = 4
#   Do not search from the address bar = 0
Set-ItemProperty -Path $k -Name 'AutoSearch' -Value 4 -Type DWord

Disable

# Disable: inetres/URLFailsPol
# No value is written in the "Disabled" state (nothing defined in the ADMX)

Revert to "Not configured"

# Revert to "Not configured": inetres/URLFailsPol
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Main'
Remove-ItemProperty -Path $k -Name 'AutoSearch' -ErrorAction SilentlyContinue

User (HKCU)

Enable

Disable

Revert to "Not configured"

Options (1)

LabelControlRegistry valueREG typeConstraints / details
When searching from the address bar:Rechercher à partir de la barre d’adresses :URLFailsDrop-down listenumAutoSearchREG_DWORD
Default choice (UI): #0
LabelValue
Display the results in the main windowREG_DWORD = 4
Do not search from the address barREG_DWORD = 0

Availability