新增/刪除項目 的登錄值 Add 等 1 個使用者HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\ActiveDesktop\AdminComponent

原則 ID
sz_AdminComponents_Title
適用範圍
使用者設定
支援的作業系統
僅 Windows Server 2003、Windows XP 與 Windows 2000
來源
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (版本 1.0)
類別
桌面 › 桌面

登錄

Add

REG_SZ使用者
啟用時的值
取決於選項值
元素
輸入要新增的桌面項目 URL (用空格分隔):
值類型
REG_SZ
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\ActiveDesktop\AdminComponent]

; 值名稱與類型依照 ADMX。請自行填入下方的 <輸入值>
"Add"="<輸入值>"
CMD
:: 值名稱與類型依照 ADMX。請自行填入下方的 <輸入值>

reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\ActiveDesktop\AdminComponent" /v "Add" /t REG_SZ /d "<輸入值>" /f
PowerShell
# 值名稱與類型依照 ADMX。請自行填入下方的 <輸入值>

New-Item -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\ActiveDesktop\AdminComponent' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\ActiveDesktop\AdminComponent' -Name 'Add' -PropertyType String -Value '<輸入值>' -Force | Out-Null

Delete

REG_SZ使用者
啟用時的值
取決於選項值
元素
輸入要刪除的桌面項目 URL (用空格分隔):
值類型
REG_SZ
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\ActiveDesktop\AdminComponent]

; 值名稱與類型依照 ADMX。請自行填入下方的 <輸入值>
"Delete"="<輸入值>"
CMD
:: 值名稱與類型依照 ADMX。請自行填入下方的 <輸入值>

reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\ActiveDesktop\AdminComponent" /v "Delete" /t REG_SZ /d "<輸入值>" /f
PowerShell
# 值名稱與類型依照 ADMX。請自行填入下方的 <輸入值>

New-Item -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\ActiveDesktop\AdminComponent' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\ActiveDesktop\AdminComponent' -Name 'Delete' -PropertyType String -Value '<輸入值>' -Force | Out-Null