Geen snelkoppelingen maken op bureaublad: registerwaarde DesktopShortcutComputerHKLM\Software\Policies\Microsoft\WindowsMediaPlayer

Beleids-ID
PreventWMPDeskTopShortcut
Bereik
Computerconfiguratie
Ondersteund op
Windows Media Player 9 Series en hoger.
Bron
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versie 1.0)
Categorie
Windows-onderdelen › Windows Media Player

Register

DesktopShortcut

REG_SZComputer
Waarde bij ingeschakeld
no
Waarde bij uitgeschakeld
yes
Toepassen met .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\WindowsMediaPlayer]

; Opties (gebruik er maar één)
; Ingeschakeld
"DesktopShortcut"="no"
; Uitgeschakeld
"DesktopShortcut"="yes"
CMD
:: Opties (gebruik er maar één)

:: Ingeschakeld
reg add "HKLM\Software\Policies\Microsoft\WindowsMediaPlayer" /v "DesktopShortcut" /t REG_SZ /d "no" /f
:: Uitgeschakeld
reg add "HKLM\Software\Policies\Microsoft\WindowsMediaPlayer" /v "DesktopShortcut" /t REG_SZ /d "yes" /f
PowerShell
# Algemeen: sleutel maken
New-Item -Path 'HKLM:\Software\Policies\Microsoft\WindowsMediaPlayer' -Force | Out-Null

# Opties (gebruik er maar één)
# Ingeschakeld
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\WindowsMediaPlayer' -Name 'DesktopShortcut' -PropertyType String -Value 'no' -Force | Out-Null
# Uitgeschakeld
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\WindowsMediaPlayer' -Name 'DesktopShortcut' -PropertyType String -Value 'yes' -Force | Out-Null