防止建立 [快速啟動] 工具列捷徑 的登錄值 QuickLaunchShortcut電腦HKLM\Software\Policies\Microsoft\WindowsMediaPlayer

原則 ID
PreventQuickLaunchShortcut
適用範圍
電腦設定
支援的作業系統
Windows Media Player 9 系列和更新版本。
來源
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (版本 1.0)
類別
Windows 元件 › Windows Media Player

登錄

QuickLaunchShortcut

REG_SZ電腦
啟用時的值
no
停用時的值
yes
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\WindowsMediaPlayer]

; 選項 (只使用其中一個)
; 已啟用
"QuickLaunchShortcut"="no"
; 已停用
"QuickLaunchShortcut"="yes"
CMD
:: 選項 (只使用其中一個)

:: 已啟用
reg add "HKLM\Software\Policies\Microsoft\WindowsMediaPlayer" /v "QuickLaunchShortcut" /t REG_SZ /d "no" /f
:: 已停用
reg add "HKLM\Software\Policies\Microsoft\WindowsMediaPlayer" /v "QuickLaunchShortcut" /t REG_SZ /d "yes" /f
PowerShell
# 共通: 建立機碼
New-Item -Path 'HKLM:\Software\Policies\Microsoft\WindowsMediaPlayer' -Force | Out-Null

# 選項 (只使用其中一個)
# 已啟用
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\WindowsMediaPlayer' -Name 'QuickLaunchShortcut' -PropertyType String -Value 'no' -Force | Out-Null
# 已停用
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\WindowsMediaPlayer' -Name 'QuickLaunchShortcut' -PropertyType String -Value 'yes' -Force | Out-Null