Preferences (JSON on one line): registry value Preferences (PreferencesOneLine)ComputerHKLM\Software\Policies\Mozilla\Firefox
- Policy ID
- PreferencesOneLine
- Scope
- Computer Configuration, User Configuration
- Supported on
- Firefox 81 or later, Firefox 78.3 ESR or later
- Source
- Mozilla Firefox Policy Templates (version 8.3)
- Category
- Mozilla › Firefox
Registry
Preferences
REG_SZComputerUser…\Software\Policies\Mozilla\FirefoxHKLM\Software\Policies\Mozilla\Firefox Current key
HKCU\Software\Policies\Mozilla\Firefox
HKCU\Software\Policies\Mozilla\Firefox
- Enabled value
- Depends on the option value
- Element
- -
- Value type
- REG_SZ
- Maximum length
- 16384
Apply with .reg · CMD · PowerShell
ComputerMachine-wide setting
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Mozilla\Firefox] ; Value names and types follow the ADMX. Replace <enter value> below with your own data "Preferences"="<enter value>"
CMD
:: Value names and types follow the ADMX. Replace <enter value> below with your own data reg add "HKLM\Software\Policies\Mozilla\Firefox" /v "Preferences" /t REG_SZ /d "<enter value>" /f
PowerShell
# Value names and types follow the ADMX. Replace <enter value> below with your own data New-Item -Path 'HKLM:\Software\Policies\Mozilla\Firefox' -Force | Out-Null New-ItemProperty -Path 'HKLM:\Software\Policies\Mozilla\Firefox' -Name 'Preferences' -PropertyType String -Value '<enter value>' -Force | Out-Null
UserPer-account setting
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Policies\Mozilla\Firefox] ; Value names and types follow the ADMX. Replace <enter value> below with your own data "Preferences"="<enter value>"
CMD
:: Value names and types follow the ADMX. Replace <enter value> below with your own data reg add "HKCU\Software\Policies\Mozilla\Firefox" /v "Preferences" /t REG_SZ /d "<enter value>" /f
PowerShell
# Value names and types follow the ADMX. Replace <enter value> below with your own data New-Item -Path 'HKCU:\Software\Policies\Mozilla\Firefox' -Force | Out-Null New-ItemProperty -Path 'HKCU:\Software\Policies\Mozilla\Firefox' -Name 'Preferences' -PropertyType String -Value '<enter value>' -Force | Out-Null