Open in the explorer

Search Engine Four

Type
Computer and user
GPO path
Computer Configuration › Policies › Administrative Templates › Mozilla › Firefox › Search User Configuration › Policies › Administrative Templates › Mozilla › Firefox › Search
Supported on
Firefox 60 ESR or later
ADMX file
firefox.admx
Internal name
firefox/SearchEngines_4

Explanation

If this policy is enabled, you can configure a search engine to be added to Firefox. Use {searchTerms} to indicate where the search term is placed. Due to a bug, you must select the method (usually GET). Note that you must specify the search engines in order.

If this policy is disabled or not configured, a new search engine is not added.

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Mozilla\Firefox\SearchEngines\Add\4
HKEY_CURRENT_USER\Software\Policies\Mozilla\Firefox\SearchEngines\Add\4
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: firefox/SearchEngines_4
$k = 'HKLM:\Software\Policies\Mozilla\Firefox\SearchEngines\Add\4'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Name
Set-ItemProperty -Path $k -Name 'Name' -Value '<value>' -Type String
# URL Template
Set-ItemProperty -Path $k -Name 'URLTemplate' -Value '<value>' -Type String
#
# Possible options:
#   GET = GET
#   POST = POST
Set-ItemProperty -Path $k -Name 'Method' -Value 'GET' -Type String
# Icon URL
Set-ItemProperty -Path $k -Name 'IconURL' -Value '<value>' -Type String
# Alias
Set-ItemProperty -Path $k -Name 'Alias' -Value '<value>' -Type String
# Description
Set-ItemProperty -Path $k -Name 'Description' -Value '<value>' -Type String
# Suggest URL Template
Set-ItemProperty -Path $k -Name 'SuggestURLTemplate' -Value '<value>' -Type String
# POST data
Set-ItemProperty -Path $k -Name 'PostData' -Value '<value>' -Type String
# Encoding
Set-ItemProperty -Path $k -Name 'Encoding' -Value '<value>' -Type String

Disable

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

Revert to "Not configured"

# Revert to "Not configured": firefox/SearchEngines_4
$k = 'HKLM:\Software\Policies\Mozilla\Firefox\SearchEngines\Add\4'
Remove-ItemProperty -Path $k -Name 'Name' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'URLTemplate' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'Method' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'IconURL' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'Alias' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'Description' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'SuggestURLTemplate' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'PostData' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'Encoding' -ErrorAction SilentlyContinue

User (HKCU)

Enable

Disable

Revert to "Not configured"

Options (9)

LabelControlRegistry valueREG typeConstraints / details
Name:SearchEngine_NameText boxtextNameREG_SZ
Required
URL Template:SearchEngine_URLTemplateText boxtextURLTemplateREG_SZ
Required
SearchEngine_MethodDrop-down listenumMethodREG_SZ
LabelValue
GETREG_SZ = GET
POSTREG_SZ = POST
Icon URL:SearchEngine_IconURLText boxtextIconURLREG_SZ
Alias:SearchEngine_AliasText boxtextAliasREG_SZ
Description:SearchEngine_DescriptionText boxtextDescriptionREG_SZ
Suggest URL Template:SearchEngine_SuggestURLTemplateText boxtextSuggestURLTemplateREG_SZ
POST data:SearchEngine_PostDataText boxtextPostDataREG_SZ
Encoding:SearchEngine_EncodingText boxtextEncodingREG_SZ

Application

Mozilla Firefox (Mozilla) — November 2026 templates

Official templates downloaded on November 12, 2026.