安裝時將應用程式釘選到 [開始] 的登錄值 StartPinAppsWhenInstalled (StartPinAppsWhenInstalled)電腦HKLM\Software\Policies\Microsoft\Windows\Explorer\StartPinAppsWhenInstalled
- 原則 ID
- StartPinAppsWhenInstalled
- 適用範圍
- 電腦設定、使用者設定
- 支援的作業系統
- 僅 Windows Server 2012 R2、Windows 8.1 或 Windows RT 8.1
- 來源
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (版本 1.0)
- 類別
- [開始] 功能表和工作列
登錄
StartPinAppsWhenInstalled
-電腦使用者…\Software\Policies\Microsoft\Windows\ExplorerHKLM\Software\Policies\Microsoft\Windows\Explorer
HKCU\Software\Policies\Microsoft\Windows\Explorer
HKCU\Software\Policies\Microsoft\Windows\Explorer
(清單值)
REG_SZ電腦使用者…\Software\Policies\Microsoft\Windows\Explorer\StartPinAppsWhenInstalledHKLM\Software\Policies\Microsoft\Windows\Explorer\StartPinAppsWhenInstalled 目前的機碼
HKCU\Software\Policies\Microsoft\Windows\Explorer\StartPinAppsWhenInstalled
HKCU\Software\Policies\Microsoft\Windows\Explorer\StartPinAppsWhenInstalled
- 啟用時的值
- 取決於選項值
- 元素
- 新增 AppID 到清單:
- 值類型
- REG_SZ
- 值名稱前置詞
- -
- 新增到現有值
- true
以 .reg · CMD · PowerShell 套用
電腦整部電腦的設定
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Explorer\StartPinAppsWhenInstalled] ; 每個清單項目新增一個值,編號依序遞增 "1"="<輸入值>" "2"="<輸入值>"
CMD
:: 每個清單項目新增一個值,編號依序遞增 reg add "HKLM\Software\Policies\Microsoft\Windows\Explorer\StartPinAppsWhenInstalled" /v "1" /t REG_SZ /d "<輸入值>" /f reg add "HKLM\Software\Policies\Microsoft\Windows\Explorer\StartPinAppsWhenInstalled" /v "2" /t REG_SZ /d "<輸入值>" /f
PowerShell
# 每個清單項目新增一個值,編號依序遞增 New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\Explorer\StartPinAppsWhenInstalled' -Force | Out-Null New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Explorer\StartPinAppsWhenInstalled' -Name '1' -PropertyType String -Value '<輸入值>' -Force | Out-Null New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Explorer\StartPinAppsWhenInstalled' -Name '2' -PropertyType String -Value '<輸入值>' -Force | Out-Null
使用者各帳戶的設定
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Explorer\StartPinAppsWhenInstalled] ; 每個清單項目新增一個值,編號依序遞增 "1"="<輸入值>" "2"="<輸入值>"
CMD
:: 每個清單項目新增一個值,編號依序遞增 reg add "HKCU\Software\Policies\Microsoft\Windows\Explorer\StartPinAppsWhenInstalled" /v "1" /t REG_SZ /d "<輸入值>" /f reg add "HKCU\Software\Policies\Microsoft\Windows\Explorer\StartPinAppsWhenInstalled" /v "2" /t REG_SZ /d "<輸入值>" /f
PowerShell
# 每個清單項目新增一個值,編號依序遞增 New-Item -Path 'HKCU:\Software\Policies\Microsoft\Windows\Explorer\StartPinAppsWhenInstalled' -Force | Out-Null New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\Explorer\StartPinAppsWhenInstalled' -Name '1' -PropertyType String -Value '<輸入值>' -Force | Out-Null New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\Explorer\StartPinAppsWhenInstalled' -Name '2' -PropertyType String -Value '<輸入值>' -Force | Out-Null