Remove Desktop Shortcuts upon update: registry value RemoveDesktopShortcut{65C35B14-6C1D-4122-AC46-7148CC9D6497}ComputerHKLM\Software\Policies\Microsoft\EdgeUpdate

Policy ID
Pol_RemoveDesktopShortcutMicrosoftEdgeCanary
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 Canary

Registry

RemoveDesktopShortcut{65C35B14-6C1D-4122-AC46-7148CC9D6497}

-Computer

RemoveDesktopShortcut{65C35B14-6C1D-4122-AC46-7148CC9D6497}

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{65C35B14-6C1D-4122-AC46-7148CC9D6497}"=dword:00000001
; Force delete system-level and user-level Desktop Shortcuts
"RemoveDesktopShortcut{65C35B14-6C1D-4122-AC46-7148CC9D6497}"=dword:00000002
; Prevent Desktop Shortcut creation on install
"RemoveDesktopShortcut{65C35B14-6C1D-4122-AC46-7148CC9D6497}"=dword:00000000
CMD
:: Options (use only one)

:: Force delete system-level Desktop Shortcuts
reg add "HKLM\Software\Policies\Microsoft\EdgeUpdate" /v "RemoveDesktopShortcut{65C35B14-6C1D-4122-AC46-7148CC9D6497}" /t REG_DWORD /d 1 /f
:: Force delete system-level and user-level Desktop Shortcuts
reg add "HKLM\Software\Policies\Microsoft\EdgeUpdate" /v "RemoveDesktopShortcut{65C35B14-6C1D-4122-AC46-7148CC9D6497}" /t REG_DWORD /d 2 /f
:: Prevent Desktop Shortcut creation on install
reg add "HKLM\Software\Policies\Microsoft\EdgeUpdate" /v "RemoveDesktopShortcut{65C35B14-6C1D-4122-AC46-7148CC9D6497}" /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{65C35B14-6C1D-4122-AC46-7148CC9D6497}' -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{65C35B14-6C1D-4122-AC46-7148CC9D6497}' -PropertyType DWord -Value 2 -Force | Out-Null
# Prevent Desktop Shortcut creation on install
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\EdgeUpdate' -Name 'RemoveDesktopShortcut{65C35B14-6C1D-4122-AC46-7148CC9D6497}' -PropertyType DWord -Value 0 -Force | Out-Null