Remove Desktop Shortcuts upon update: registry value RemoveDesktopShortcut{2CD8A007-E189-409D-A2C8-9AF4EF3C72AA}ComputerHKLM\Software\Policies\Microsoft\EdgeUpdate

Policy ID
Pol_RemoveDesktopShortcutMicrosoftEdgeBeta
Scope
Computer Configuration
Supported on
Microsoft Edge Update 1.3.155.1 and later
Source
Microsoft Edge Policy Templates (version 155.0.4283.45)
Category
Microsoft Edge Update › Applications › Microsoft Edge Beta

Registry

RemoveDesktopShortcut{2CD8A007-E189-409D-A2C8-9AF4EF3C72AA}

-Computer

RemoveDesktopShortcut{2CD8A007-E189-409D-A2C8-9AF4EF3C72AA}

REG_DWORDComputer
Enabled value
Depends on the option value
Element
-
Options
ItemStored value
Force delete system-level Desktop Shortcuts1
Force delete system-level and user-level Desktop Shortcuts2
Prevent Desktop Shortcut creation on install0
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\EdgeUpdate]

; Options (use only one)
; Force delete system-level Desktop Shortcuts
"RemoveDesktopShortcut{2CD8A007-E189-409D-A2C8-9AF4EF3C72AA}"=dword:00000001
; Force delete system-level and user-level Desktop Shortcuts
"RemoveDesktopShortcut{2CD8A007-E189-409D-A2C8-9AF4EF3C72AA}"=dword:00000002
; Prevent Desktop Shortcut creation on install
"RemoveDesktopShortcut{2CD8A007-E189-409D-A2C8-9AF4EF3C72AA}"=dword:00000000
CMD
:: Options (use only one)

:: Force delete system-level Desktop Shortcuts
reg add "HKLM\Software\Policies\Microsoft\EdgeUpdate" /v "RemoveDesktopShortcut{2CD8A007-E189-409D-A2C8-9AF4EF3C72AA}" /t REG_DWORD /d 1 /f
:: Force delete system-level and user-level Desktop Shortcuts
reg add "HKLM\Software\Policies\Microsoft\EdgeUpdate" /v "RemoveDesktopShortcut{2CD8A007-E189-409D-A2C8-9AF4EF3C72AA}" /t REG_DWORD /d 2 /f
:: Prevent Desktop Shortcut creation on install
reg add "HKLM\Software\Policies\Microsoft\EdgeUpdate" /v "RemoveDesktopShortcut{2CD8A007-E189-409D-A2C8-9AF4EF3C72AA}" /t REG_DWORD /d 0 /f
PowerShell
# Common: create the key
New-Item -Path 'HKLM:\Software\Policies\Microsoft\EdgeUpdate' -Force | Out-Null

# Options (use only one)
# Force delete system-level Desktop Shortcuts
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\EdgeUpdate' -Name 'RemoveDesktopShortcut{2CD8A007-E189-409D-A2C8-9AF4EF3C72AA}' -PropertyType DWord -Value 1 -Force | Out-Null
# Force delete system-level and user-level Desktop Shortcuts
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\EdgeUpdate' -Name 'RemoveDesktopShortcut{2CD8A007-E189-409D-A2C8-9AF4EF3C72AA}' -PropertyType DWord -Value 2 -Force | Out-Null
# Prevent Desktop Shortcut creation on install
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\EdgeUpdate' -Name 'RemoveDesktopShortcut{2CD8A007-E189-409D-A2C8-9AF4EF3C72AA}' -PropertyType DWord -Value 0 -Force | Out-Null