自訂命令標籤 的登錄值 TextOption電腦HKLM\Software\Policies\Microsoft\Internet Explorer\CommandBar
- 原則 ID
- SetCommandLabels
- 適用範圍
- 電腦設定、使用者設定
- 支援的作業系統
- 至少 Internet Explorer 8.0
- 來源
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (版本 1.0)
- 類別
- Windows 元件 › Internet Explorer › 工具列
登錄
TextOption
REG_DWORD電腦使用者…\Software\Policies\Microsoft\Internet Explorer\CommandBarHKLM\Software\Policies\Microsoft\Internet Explorer\CommandBar 目前的機碼
HKCU\Software\Policies\Microsoft\Internet Explorer\CommandBar
HKCU\Software\Policies\Microsoft\Internet Explorer\CommandBar
- 啟用時的值
- 取決於選項值
- 元素
- 命令標記
| 項目 | 儲存的值 |
|---|---|
| 顯示可選取的文字 | 0 |
| 顯示所有文字標籤 | 1 |
| 僅顯示圖示 | 2 |
以 .reg · CMD · PowerShell 套用
電腦整部電腦的設定
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Internet Explorer\CommandBar] ; 選項 (只使用其中一個) ; 顯示可選取的文字 "TextOption"=dword:00000000 ; 顯示所有文字標籤 "TextOption"=dword:00000001 ; 僅顯示圖示 "TextOption"=dword:00000002
CMD
:: 選項 (只使用其中一個) :: 顯示可選取的文字 reg add "HKLM\Software\Policies\Microsoft\Internet Explorer\CommandBar" /v "TextOption" /t REG_DWORD /d 0 /f :: 顯示所有文字標籤 reg add "HKLM\Software\Policies\Microsoft\Internet Explorer\CommandBar" /v "TextOption" /t REG_DWORD /d 1 /f :: 僅顯示圖示 reg add "HKLM\Software\Policies\Microsoft\Internet Explorer\CommandBar" /v "TextOption" /t REG_DWORD /d 2 /f
PowerShell
# 共通: 建立機碼 New-Item -Path 'HKLM:\Software\Policies\Microsoft\Internet Explorer\CommandBar' -Force | Out-Null # 選項 (只使用其中一個) # 顯示可選取的文字 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Internet Explorer\CommandBar' -Name 'TextOption' -PropertyType DWord -Value 0 -Force | Out-Null # 顯示所有文字標籤 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Internet Explorer\CommandBar' -Name 'TextOption' -PropertyType DWord -Value 1 -Force | Out-Null # 僅顯示圖示 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Internet Explorer\CommandBar' -Name 'TextOption' -PropertyType DWord -Value 2 -Force | Out-Null
使用者各帳戶的設定
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\CommandBar] ; 選項 (只使用其中一個) ; 顯示可選取的文字 "TextOption"=dword:00000000 ; 顯示所有文字標籤 "TextOption"=dword:00000001 ; 僅顯示圖示 "TextOption"=dword:00000002
CMD
:: 選項 (只使用其中一個) :: 顯示可選取的文字 reg add "HKCU\Software\Policies\Microsoft\Internet Explorer\CommandBar" /v "TextOption" /t REG_DWORD /d 0 /f :: 顯示所有文字標籤 reg add "HKCU\Software\Policies\Microsoft\Internet Explorer\CommandBar" /v "TextOption" /t REG_DWORD /d 1 /f :: 僅顯示圖示 reg add "HKCU\Software\Policies\Microsoft\Internet Explorer\CommandBar" /v "TextOption" /t REG_DWORD /d 2 /f
PowerShell
# 共通: 建立機碼 New-Item -Path 'HKCU:\Software\Policies\Microsoft\Internet Explorer\CommandBar' -Force | Out-Null # 選項 (只使用其中一個) # 顯示可選取的文字 New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Internet Explorer\CommandBar' -Name 'TextOption' -PropertyType DWord -Value 0 -Force | Out-Null # 顯示所有文字標籤 New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Internet Explorer\CommandBar' -Name 'TextOption' -PropertyType DWord -Value 1 -Force | Out-Null # 僅顯示圖示 New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Internet Explorer\CommandBar' -Name 'TextOption' -PropertyType DWord -Value 2 -Force | Out-Null