Impedir a Criação de Atalho na Área de Trabalho: valor do Registro DesktopShortcutComputadorHKLM\Software\Policies\Microsoft\WindowsMediaPlayer

ID da política
PreventWMPDeskTopShortcut
Escopo
Configuração do Computador
Compatível com
Windows Media Player 9 Series e superior.
Fonte
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versão 1.0)
Categoria
Componentes do Windows › Windows Media Player

Registro

DesktopShortcut

REG_SZComputador
Valor habilitado
no
Valor desabilitado
yes
Aplicar com .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\WindowsMediaPlayer]

; Opções (use apenas uma)
; Habilitada
"DesktopShortcut"="no"
; Desabilitada
"DesktopShortcut"="yes"
CMD
:: Opções (use apenas uma)

:: Habilitada
reg add "HKLM\Software\Policies\Microsoft\WindowsMediaPlayer" /v "DesktopShortcut" /t REG_SZ /d "no" /f
:: Desabilitada
reg add "HKLM\Software\Policies\Microsoft\WindowsMediaPlayer" /v "DesktopShortcut" /t REG_SZ /d "yes" /f
PowerShell
# Comum: criar a chave
New-Item -Path 'HKLM:\Software\Policies\Microsoft\WindowsMediaPlayer' -Force | Out-Null

# Opções (use apenas uma)
# Habilitada
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\WindowsMediaPlayer' -Name 'DesktopShortcut' -PropertyType String -Value 'no' -Force | Out-Null
# Desabilitada
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\WindowsMediaPlayer' -Name 'DesktopShortcut' -PropertyType String -Value 'yes' -Force | Out-Null