Display Menu Bar: registry value DisplayMenuBar (DisplayMenuBar_Enum)UserHKCU\Software\Policies\Mozilla\Firefox
- Policy ID
- DisplayMenuBar_Enum
- Scope
- Computer Configuration, User Configuration
- Supported on
- Firefox 73 or later, Firefox 68.5 ESR or later
- Source
- Mozilla Firefox Policy Templates (version 8.3)
- Category
- Mozilla › Firefox
Registry
DisplayMenuBar
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 |
|---|---|
| Always | always |
| Never | never |
| On by default | default-on |
| Off by default | default-off |
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) ; Always "DisplayMenuBar"="always" ; Never "DisplayMenuBar"="never" ; On by default "DisplayMenuBar"="default-on" ; Off by default "DisplayMenuBar"="default-off"
CMD
:: Options (use only one) :: Always reg add "HKCU\Software\Policies\Mozilla\Firefox" /v "DisplayMenuBar" /t REG_SZ /d "always" /f :: Never reg add "HKCU\Software\Policies\Mozilla\Firefox" /v "DisplayMenuBar" /t REG_SZ /d "never" /f :: On by default reg add "HKCU\Software\Policies\Mozilla\Firefox" /v "DisplayMenuBar" /t REG_SZ /d "default-on" /f :: Off by default reg add "HKCU\Software\Policies\Mozilla\Firefox" /v "DisplayMenuBar" /t REG_SZ /d "default-off" /f
PowerShell
# Common: create the key New-Item -Path 'HKCU:\Software\Policies\Mozilla\Firefox' -Force | Out-Null # Options (use only one) # Always New-ItemProperty -Path 'HKCU:\Software\Policies\Mozilla\Firefox' -Name 'DisplayMenuBar' -PropertyType String -Value 'always' -Force | Out-Null # Never New-ItemProperty -Path 'HKCU:\Software\Policies\Mozilla\Firefox' -Name 'DisplayMenuBar' -PropertyType String -Value 'never' -Force | Out-Null # On by default New-ItemProperty -Path 'HKCU:\Software\Policies\Mozilla\Firefox' -Name 'DisplayMenuBar' -PropertyType String -Value 'default-on' -Force | Out-Null # Off by default New-ItemProperty -Path 'HKCU:\Software\Policies\Mozilla\Firefox' -Name 'DisplayMenuBar' -PropertyType String -Value 'default-off' -Force | Out-Null
ComputerMachine-wide setting
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Mozilla\Firefox] ; Options (use only one) ; Always "DisplayMenuBar"="always" ; Never "DisplayMenuBar"="never" ; On by default "DisplayMenuBar"="default-on" ; Off by default "DisplayMenuBar"="default-off"
CMD
:: Options (use only one) :: Always reg add "HKLM\Software\Policies\Mozilla\Firefox" /v "DisplayMenuBar" /t REG_SZ /d "always" /f :: Never reg add "HKLM\Software\Policies\Mozilla\Firefox" /v "DisplayMenuBar" /t REG_SZ /d "never" /f :: On by default reg add "HKLM\Software\Policies\Mozilla\Firefox" /v "DisplayMenuBar" /t REG_SZ /d "default-on" /f :: Off by default reg add "HKLM\Software\Policies\Mozilla\Firefox" /v "DisplayMenuBar" /t REG_SZ /d "default-off" /f
PowerShell
# Common: create the key New-Item -Path 'HKLM:\Software\Policies\Mozilla\Firefox' -Force | Out-Null # Options (use only one) # Always New-ItemProperty -Path 'HKLM:\Software\Policies\Mozilla\Firefox' -Name 'DisplayMenuBar' -PropertyType String -Value 'always' -Force | Out-Null # Never New-ItemProperty -Path 'HKLM:\Software\Policies\Mozilla\Firefox' -Name 'DisplayMenuBar' -PropertyType String -Value 'never' -Force | Out-Null # On by default New-ItemProperty -Path 'HKLM:\Software\Policies\Mozilla\Firefox' -Name 'DisplayMenuBar' -PropertyType String -Value 'default-on' -Force | Out-Null # Off by default New-ItemProperty -Path 'HKLM:\Software\Policies\Mozilla\Firefox' -Name 'DisplayMenuBar' -PropertyType String -Value 'default-off' -Force | Out-Null