Specify uninstall behavior for Microsoft Edge: registry value Uninstall{56EB18F8-B008-4CBD-B6D2-8C97FE7E9062}ComputerHKLM\Software\Policies\Microsoft\EdgeUpdate

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

Registry

Uninstall{56EB18F8-B008-4CBD-B6D2-8C97FE7E9062}

-Computer

Uninstall{56EB18F8-B008-4CBD-B6D2-8C97FE7E9062}

REG_DWORDComputer
Enabled value
Depends on the option value
Element
-
Options
ItemStored value
Enabled1
Enabled and delete user data2
Disabled3
Not Configured0
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\EdgeUpdate]

; Options (use only one)
; Enabled
"Uninstall{56EB18F8-B008-4CBD-B6D2-8C97FE7E9062}"=dword:00000001
; Enabled and delete user data
"Uninstall{56EB18F8-B008-4CBD-B6D2-8C97FE7E9062}"=dword:00000002
; Disabled
"Uninstall{56EB18F8-B008-4CBD-B6D2-8C97FE7E9062}"=dword:00000003
; Not Configured
"Uninstall{56EB18F8-B008-4CBD-B6D2-8C97FE7E9062}"=dword:00000000
CMD
:: Options (use only one)

:: Enabled
reg add "HKLM\Software\Policies\Microsoft\EdgeUpdate" /v "Uninstall{56EB18F8-B008-4CBD-B6D2-8C97FE7E9062}" /t REG_DWORD /d 1 /f
:: Enabled and delete user data
reg add "HKLM\Software\Policies\Microsoft\EdgeUpdate" /v "Uninstall{56EB18F8-B008-4CBD-B6D2-8C97FE7E9062}" /t REG_DWORD /d 2 /f
:: Disabled
reg add "HKLM\Software\Policies\Microsoft\EdgeUpdate" /v "Uninstall{56EB18F8-B008-4CBD-B6D2-8C97FE7E9062}" /t REG_DWORD /d 3 /f
:: Not Configured
reg add "HKLM\Software\Policies\Microsoft\EdgeUpdate" /v "Uninstall{56EB18F8-B008-4CBD-B6D2-8C97FE7E9062}" /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)
# Enabled
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\EdgeUpdate' -Name 'Uninstall{56EB18F8-B008-4CBD-B6D2-8C97FE7E9062}' -PropertyType DWord -Value 1 -Force | Out-Null
# Enabled and delete user data
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\EdgeUpdate' -Name 'Uninstall{56EB18F8-B008-4CBD-B6D2-8C97FE7E9062}' -PropertyType DWord -Value 2 -Force | Out-Null
# Disabled
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\EdgeUpdate' -Name 'Uninstall{56EB18F8-B008-4CBD-B6D2-8C97FE7E9062}' -PropertyType DWord -Value 3 -Force | Out-Null
# Not Configured
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\EdgeUpdate' -Name 'Uninstall{56EB18F8-B008-4CBD-B6D2-8C97FE7E9062}' -PropertyType DWord -Value 0 -Force | Out-Null