Display Menu Bar のレジストリ値 DisplayMenuBar (DisplayMenuBar_Enum)コンピューターHKLM\Software\Policies\Mozilla\Firefox

日本語の公式説明なし (英語の原文のまま)

ポリシー ID
DisplayMenuBar_Enum
適用対象
コンピューターの構成、ユーザーの構成
サポートされるバージョン
Firefox 73 or later, Firefox 68.5 ESR or later
出典
Mozilla Firefox Policy Templates (バージョン 8.3)
カテゴリ
Mozilla › Firefox

レジストリ

DisplayMenuBar

REG_SZコンピューターユーザー
…\Software\Policies\Mozilla\FirefoxHKLM\Software\Policies\Mozilla\Firefox 現在のキー
HKCU\Software\Policies\Mozilla\Firefox
有効時の値
オプションの値に依存
要素
-
オプション
項目保存される値
Alwaysalways
Nevernever
On by defaultdefault-on
Off by defaultdefault-off
.reg · CMD · PowerShell で適用する
コンピューターコンピューター全体の設定
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Mozilla\Firefox]

; 選択項目 (1 つだけ使用)
; Always
"DisplayMenuBar"="always"
; Never
"DisplayMenuBar"="never"
; On by default
"DisplayMenuBar"="default-on"
; Off by default
"DisplayMenuBar"="default-off"
CMD
:: 選択項目 (1 つだけ使用)

:: 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
# 共通: キーを作成
New-Item -Path 'HKLM:\Software\Policies\Mozilla\Firefox' -Force | Out-Null

# 選択項目 (1 つだけ使用)
# 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
ユーザーアカウントごとの設定
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Mozilla\Firefox]

; 選択項目 (1 つだけ使用)
; Always
"DisplayMenuBar"="always"
; Never
"DisplayMenuBar"="never"
; On by default
"DisplayMenuBar"="default-on"
; Off by default
"DisplayMenuBar"="default-off"
CMD
:: 選択項目 (1 つだけ使用)

:: 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
# 共通: キーを作成
New-Item -Path 'HKCU:\Software\Policies\Mozilla\Firefox' -Force | Out-Null

# 選択項目 (1 つだけ使用)
# 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