Display Menu Bar: valor del Registro DisplayMenuBar (DisplayMenuBar_Enum)EquipoHKLM\Software\Policies\Mozilla\Firefox

Sin descripción oficial en español (se muestra el original en inglés)

Id. de directiva
DisplayMenuBar_Enum
Ámbito
Configuración del equipo, configuración de usuario
Compatible con
Firefox 73 or later, Firefox 68.5 ESR or later
Origen
Mozilla Firefox Policy Templates (versión 8.3)
Categoría
Mozilla › Firefox

Registro

DisplayMenuBar

REG_SZEquipoUsuario
Valor al habilitar
Depende del valor de la opción
Elemento
-
Opciones
Elemento de listaValor almacenado
Alwaysalways
Nevernever
On by defaultdefault-on
Off by defaultdefault-off
Aplicar con .reg · CMD · PowerShell
EquipoConfiguración global del equipo
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Mozilla\Firefox]

; Opciones (usar solo una)
; Always
"DisplayMenuBar"="always"
; Never
"DisplayMenuBar"="never"
; On by default
"DisplayMenuBar"="default-on"
; Off by default
"DisplayMenuBar"="default-off"
CMD
:: Opciones (usar solo una)

:: 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
# Común: crear la clave
New-Item -Path 'HKLM:\Software\Policies\Mozilla\Firefox' -Force | Out-Null

# Opciones (usar solo una)
# 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
UsuarioConfiguración por cuenta
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Mozilla\Firefox]

; Opciones (usar solo una)
; Always
"DisplayMenuBar"="always"
; Never
"DisplayMenuBar"="never"
; On by default
"DisplayMenuBar"="default-on"
; Off by default
"DisplayMenuBar"="default-off"
CMD
:: Opciones (usar solo una)

:: 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
# Común: crear la clave
New-Item -Path 'HKCU:\Software\Policies\Mozilla\Firefox' -Force | Out-Null

# Opciones (usar solo una)
# 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