Search bar location: registry value SearchBarUserHKCU\Software\Policies\Mozilla\Firefox
- Policy ID
- SearchBar
- Scope
- Computer Configuration, User Configuration
- Supported on
- Firefox 60 or later, Firefox 60 ESR or later
- Source
- Mozilla Firefox Policy Templates (version 8.3)
- Category
- Mozilla › Firefox
Registry
SearchBar
REG_SZUserComputer…\Software\Policies\Mozilla\FirefoxHKCU\Software\Policies\Mozilla\Firefox Current key
HKLM\Software\Policies\Mozilla\Firefox
HKLM\Software\Policies\Mozilla\Firefox
- Enabled value
- Depends on the option value
- Element
- -
| Item | Stored value |
|---|---|
| Unified | unified |
| Separate | separate |
Apply with .reg · CMD · PowerShell
UserPer-account setting
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Policies\Mozilla\Firefox] ; Options (use only one) ; Unified "SearchBar"="unified" ; Separate "SearchBar"="separate"
CMD
:: Options (use only one) :: Unified reg add "HKCU\Software\Policies\Mozilla\Firefox" /v "SearchBar" /t REG_SZ /d "unified" /f :: Separate reg add "HKCU\Software\Policies\Mozilla\Firefox" /v "SearchBar" /t REG_SZ /d "separate" /f
PowerShell
# Common: create the key New-Item -Path 'HKCU:\Software\Policies\Mozilla\Firefox' -Force | Out-Null # Options (use only one) # Unified New-ItemProperty -Path 'HKCU:\Software\Policies\Mozilla\Firefox' -Name 'SearchBar' -PropertyType String -Value 'unified' -Force | Out-Null # Separate New-ItemProperty -Path 'HKCU:\Software\Policies\Mozilla\Firefox' -Name 'SearchBar' -PropertyType String -Value 'separate' -Force | Out-Null
ComputerMachine-wide setting
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Mozilla\Firefox] ; Options (use only one) ; Unified "SearchBar"="unified" ; Separate "SearchBar"="separate"
CMD
:: Options (use only one) :: Unified reg add "HKLM\Software\Policies\Mozilla\Firefox" /v "SearchBar" /t REG_SZ /d "unified" /f :: Separate reg add "HKLM\Software\Policies\Mozilla\Firefox" /v "SearchBar" /t REG_SZ /d "separate" /f
PowerShell
# Common: create the key New-Item -Path 'HKLM:\Software\Policies\Mozilla\Firefox' -Force | Out-Null # Options (use only one) # Unified New-ItemProperty -Path 'HKLM:\Software\Policies\Mozilla\Firefox' -Name 'SearchBar' -PropertyType String -Value 'unified' -Force | Out-Null # Separate New-ItemProperty -Path 'HKLM:\Software\Policies\Mozilla\Firefox' -Name 'SearchBar' -PropertyType String -Value 'separate' -Force | Out-Null