Remove Desktop Shortcuts upon update default: registry value RemoveDesktopShortcutDefaultComputerHKLM\Software\Policies\Microsoft\EdgeUpdate
- Policy ID
- Pol_DefaultRemoveDesktopShortcut
- 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
Registry
RemoveDesktopShortcutDefault
-ComputerHKLM\Software\Policies\Microsoft\EdgeUpdate Current key
RemoveDesktopShortcutDefault
REG_DWORDComputerHKLM\Software\Policies\Microsoft\EdgeUpdate Current key
- Enabled value
- Depends on the option value
- Element
- -
| Item | Stored value |
|---|---|
| Force delete system-level Desktop Shortcuts | 1 |
| Force delete system-level and user-level Desktop Shortcuts | 2 |
| Prevent Desktop Shortcut creation on install | 0 |
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 "RemoveDesktopShortcutDefault"=dword:00000001 ; Force delete system-level and user-level Desktop Shortcuts "RemoveDesktopShortcutDefault"=dword:00000002 ; Prevent Desktop Shortcut creation on install "RemoveDesktopShortcutDefault"=dword:00000000
CMD
:: Options (use only one) :: Force delete system-level Desktop Shortcuts reg add "HKLM\Software\Policies\Microsoft\EdgeUpdate" /v "RemoveDesktopShortcutDefault" /t REG_DWORD /d 1 /f :: Force delete system-level and user-level Desktop Shortcuts reg add "HKLM\Software\Policies\Microsoft\EdgeUpdate" /v "RemoveDesktopShortcutDefault" /t REG_DWORD /d 2 /f :: Prevent Desktop Shortcut creation on install reg add "HKLM\Software\Policies\Microsoft\EdgeUpdate" /v "RemoveDesktopShortcutDefault" /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 'RemoveDesktopShortcutDefault' -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 'RemoveDesktopShortcutDefault' -PropertyType DWord -Value 2 -Force | Out-Null # Prevent Desktop Shortcut creation on install New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\EdgeUpdate' -Name 'RemoveDesktopShortcutDefault' -PropertyType DWord -Value 0 -Force | Out-Null