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
HKCU\Software\Policies\Mozilla\Firefox
- 啟用時的值
- 取決於選項值
- 元素
- -
| 項目 | 儲存的值 |
|---|---|
| Always | always |
| Never | never |
| On by default | default-on |
| Off by default | default-off |
以 .reg · CMD · PowerShell 套用
電腦整部電腦的設定
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Mozilla\Firefox] ; 選項 (只使用其中一個) ; Always "DisplayMenuBar"="always" ; Never "DisplayMenuBar"="never" ; On by default "DisplayMenuBar"="default-on" ; Off by default "DisplayMenuBar"="default-off"
CMD
:: 選項 (只使用其中一個) :: 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 # 選項 (只使用其中一個) # 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] ; 選項 (只使用其中一個) ; Always "DisplayMenuBar"="always" ; Never "DisplayMenuBar"="never" ; On by default "DisplayMenuBar"="default-on" ; Off by default "DisplayMenuBar"="default-off"
CMD
:: 選項 (只使用其中一個) :: 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 # 選項 (只使用其中一個) # 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