Spécifier le comportement de désinstallation pour Microsoft Edge : valeur de Registre Uninstall{56EB18F8-B008-4CBD-B6D2-8C97FE7E9062}OrdinateurHKLM\Software\Policies\Microsoft\EdgeUpdate

ID de stratégie
Pol_UninstallEdgeMicrosoftEdge
Étendue
Configuration ordinateur
Pris en charge sur
Microsoft Edge Update 1.3.193.5 et versions ultérieures
Source
Microsoft Edge Policy Templates (version 155.0.4283.45)
Catégorie
Mise à jour de Microsoft Edge › Applications › Microsoft Edge

Registre

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

-Ordinateur

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

REG_DWORDOrdinateur
Valeur si activée
Dépend de la valeur de l'option
Élément
-
Options
EntréeValeur stockée
Activé1
Activer et supprimer les données utilisateur2
Désactivé3
Non configuré0
Appliquer avec .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\EdgeUpdate]

; Options (en utiliser une seule)
; Activé
"Uninstall{56EB18F8-B008-4CBD-B6D2-8C97FE7E9062}"=dword:00000001
; Activer et supprimer les données utilisateur
"Uninstall{56EB18F8-B008-4CBD-B6D2-8C97FE7E9062}"=dword:00000002
; Désactivé
"Uninstall{56EB18F8-B008-4CBD-B6D2-8C97FE7E9062}"=dword:00000003
; Non configuré
"Uninstall{56EB18F8-B008-4CBD-B6D2-8C97FE7E9062}"=dword:00000000
CMD
:: Options (en utiliser une seule)

:: Activé
reg add "HKLM\Software\Policies\Microsoft\EdgeUpdate" /v "Uninstall{56EB18F8-B008-4CBD-B6D2-8C97FE7E9062}" /t REG_DWORD /d 1 /f
:: Activer et supprimer les données utilisateur
reg add "HKLM\Software\Policies\Microsoft\EdgeUpdate" /v "Uninstall{56EB18F8-B008-4CBD-B6D2-8C97FE7E9062}" /t REG_DWORD /d 2 /f
:: Désactivé
reg add "HKLM\Software\Policies\Microsoft\EdgeUpdate" /v "Uninstall{56EB18F8-B008-4CBD-B6D2-8C97FE7E9062}" /t REG_DWORD /d 3 /f
:: Non configuré
reg add "HKLM\Software\Policies\Microsoft\EdgeUpdate" /v "Uninstall{56EB18F8-B008-4CBD-B6D2-8C97FE7E9062}" /t REG_DWORD /d 0 /f
PowerShell
# Commun : créer la clé
New-Item -Path 'HKLM:\Software\Policies\Microsoft\EdgeUpdate' -Force | Out-Null

# Options (en utiliser une seule)
# Activé
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\EdgeUpdate' -Name 'Uninstall{56EB18F8-B008-4CBD-B6D2-8C97FE7E9062}' -PropertyType DWord -Value 1 -Force | Out-Null
# Activer et supprimer les données utilisateur
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\EdgeUpdate' -Name 'Uninstall{56EB18F8-B008-4CBD-B6D2-8C97FE7E9062}' -PropertyType DWord -Value 2 -Force | Out-Null
# Désactivé
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\EdgeUpdate' -Name 'Uninstall{56EB18F8-B008-4CBD-B6D2-8C97FE7E9062}' -PropertyType DWord -Value 3 -Force | Out-Null
# Non configuré
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\EdgeUpdate' -Name 'Uninstall{56EB18F8-B008-4CBD-B6D2-8C97FE7E9062}' -PropertyType DWord -Value 0 -Force | Out-Null