Search Engine Four
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\4HKEY_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 StringDisable
# 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 SilentlyContinueUser (HKCU)
Enable
Disable
Revert to "Not configured"
Options (9)
| Label | Control | Registry value | REG type | Constraints / details | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Name:SearchEngine_Name | Text boxtext | Name | REG_SZ | Required | ||||||
| URL Template:SearchEngine_URLTemplate | Text boxtext | URLTemplate | REG_SZ | Required | ||||||
| SearchEngine_Method | Drop-down listenum | Method | REG_SZ |
| ||||||
| Icon URL:SearchEngine_IconURL | Text boxtext | IconURL | REG_SZ | |||||||
| Alias:SearchEngine_Alias | Text boxtext | Alias | REG_SZ | |||||||
| Description:SearchEngine_Description | Text boxtext | Description | REG_SZ | |||||||
| Suggest URL Template:SearchEngine_SuggestURLTemplate | Text boxtext | SuggestURLTemplate | REG_SZ | |||||||
| POST data:SearchEngine_PostData | Text boxtext | PostData | REG_SZ | |||||||
| Encoding:SearchEngine_Encoding | Text boxtext | Encoding | REG_SZ |
Application
Mozilla Firefox (Mozilla) — November 2026 templates
Official templates downloaded on November 12, 2026.