en-US windows computer user

Prevent configuration of search on Address bar

Verified with Windows 11 25H2 — updated on July 23, 2026

Windows 11 25H2

Supported on: At least Internet Explorer 7.0

Path in the GPO console

Computer Configuration\Administrative Templates\Windows Components\Internet Explorer\Internet Settings\Advanced settings\Searching

Description

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.

Registry

HKLM Software\Policies\Microsoft\Internet Explorer\Main
HKCU Software\Policies\Microsoft\Internet Explorer\Main

More options available

Options

When searching from the address bar:
AutoSearch enum
  • Display the results in the main window -> 4 (default)
  • Do not search from the address bar -> 0

Export Builder

BETA

Configure the state, scope and options, then generate .reg, PowerShell, Intune and SCCM outputs — or add the setting to a multi-setting collection.

These exports write the registry — this is not a managed GPO.

Scope

.reg file

Windows Registry Editor Version 5.00

; Exported from gporais.com
; Policy: Prevent configuration of search on Address bar
; State: Enabled
; Scope: Computer (HKLM)
; Supported on: At least Internet Explorer 7.0

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Internet Explorer\Main]
"AutoSearch"=dword:00000004
More formats (PowerShell, Intune, SCCM)

PowerShell

# Exported from gporais.com
# Policy: Prevent configuration of search on Address bar
# State: Enabled
# Scope: Computer (HKLM)
# Supported on: At least Internet Explorer 7.0

$path = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Main'
New-Item -Path $path -Force | Out-Null
Set-ItemProperty -Path $path -Name 'AutoSearch' -Value 4 -Type DWord

Building a multi-setting collection? Add this setting and generate combined .reg / PowerShell / GPO scripts.

Open the Builder

Embed this policy on your site

What to embed
Theme

Adds one script line: the theme follows your site’s appearance and the height fits the content. If your site blocks scripts, the embed follows the visitor’s system theme.

Preview