設定工作列小型按鈕的行為 的登錄值 ConfigureTaskbarSmallButtonBehavior電腦HKLM\Software\Policies\Microsoft\Windows\Explorer
- 原則 ID
- ConfigureTaskbarSmallButtonBehavior
- 適用範圍
- 電腦設定、使用者設定
- 支援的作業系統
- 至少需要 Windows 11 專業版、企業版或有 Windows 沙箱的教育版
- 來源
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (版本 1.0)
- 類別
- [開始] 功能表和工作列
登錄
ConfigureTaskbarSmallButtonBehavior
REG_DWORD電腦使用者…\Software\Policies\Microsoft\Windows\ExplorerHKLM\Software\Policies\Microsoft\Windows\Explorer 目前的機碼
HKCU\Software\Policies\Microsoft\Windows\Explorer
HKCU\Software\Policies\Microsoft\Windows\Explorer
- 啟用時的值
- 取決於選項值
- 元素
- 選擇何時顯示較小的工作列按鈕:
| 項目 | 儲存的值 |
|---|---|
| 永遠 | 0 |
| 當工作列滿時 | 1 |
| 永不 | 2 |
以 .reg · CMD · PowerShell 套用
電腦整部電腦的設定
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Explorer] ; 選項 (只使用其中一個) ; 永遠 "ConfigureTaskbarSmallButtonBehavior"=dword:00000000 ; 當工作列滿時 "ConfigureTaskbarSmallButtonBehavior"=dword:00000001 ; 永不 "ConfigureTaskbarSmallButtonBehavior"=dword:00000002
CMD
:: 選項 (只使用其中一個) :: 永遠 reg add "HKLM\Software\Policies\Microsoft\Windows\Explorer" /v "ConfigureTaskbarSmallButtonBehavior" /t REG_DWORD /d 0 /f :: 當工作列滿時 reg add "HKLM\Software\Policies\Microsoft\Windows\Explorer" /v "ConfigureTaskbarSmallButtonBehavior" /t REG_DWORD /d 1 /f :: 永不 reg add "HKLM\Software\Policies\Microsoft\Windows\Explorer" /v "ConfigureTaskbarSmallButtonBehavior" /t REG_DWORD /d 2 /f
PowerShell
# 共通: 建立機碼 New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\Explorer' -Force | Out-Null # 選項 (只使用其中一個) # 永遠 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Explorer' -Name 'ConfigureTaskbarSmallButtonBehavior' -PropertyType DWord -Value 0 -Force | Out-Null # 當工作列滿時 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Explorer' -Name 'ConfigureTaskbarSmallButtonBehavior' -PropertyType DWord -Value 1 -Force | Out-Null # 永不 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Explorer' -Name 'ConfigureTaskbarSmallButtonBehavior' -PropertyType DWord -Value 2 -Force | Out-Null
使用者各帳戶的設定
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Explorer] ; 選項 (只使用其中一個) ; 永遠 "ConfigureTaskbarSmallButtonBehavior"=dword:00000000 ; 當工作列滿時 "ConfigureTaskbarSmallButtonBehavior"=dword:00000001 ; 永不 "ConfigureTaskbarSmallButtonBehavior"=dword:00000002
CMD
:: 選項 (只使用其中一個) :: 永遠 reg add "HKCU\Software\Policies\Microsoft\Windows\Explorer" /v "ConfigureTaskbarSmallButtonBehavior" /t REG_DWORD /d 0 /f :: 當工作列滿時 reg add "HKCU\Software\Policies\Microsoft\Windows\Explorer" /v "ConfigureTaskbarSmallButtonBehavior" /t REG_DWORD /d 1 /f :: 永不 reg add "HKCU\Software\Policies\Microsoft\Windows\Explorer" /v "ConfigureTaskbarSmallButtonBehavior" /t REG_DWORD /d 2 /f
PowerShell
# 共通: 建立機碼 New-Item -Path 'HKCU:\Software\Policies\Microsoft\Windows\Explorer' -Force | Out-Null # 選項 (只使用其中一個) # 永遠 New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\Explorer' -Name 'ConfigureTaskbarSmallButtonBehavior' -PropertyType DWord -Value 0 -Force | Out-Null # 當工作列滿時 New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\Explorer' -Name 'ConfigureTaskbarSmallButtonBehavior' -PropertyType DWord -Value 1 -Force | Out-Null # 永不 New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\Explorer' -Name 'ConfigureTaskbarSmallButtonBehavior' -PropertyType DWord -Value 2 -Force | Out-Null