Allow Adobe Flash
Autoriser Adobe Flash
Explanation
This setting lets you decide whether employees can run Adobe Flash in Microsoft Edge.
If you enable or don't configure this setting, employees can use Adobe Flash.
If you disable this setting, employees can't use Adobe Flash.
Ce paramètre vous permet de décider si les employés peuvent exécuter Adobe Flash dans Microsoft Edge.
Si vous activez ce paramètre ou ne le configurez pas, les employés peuvent utiliser Adobe Flash.
Si vous désactivez ce paramètre, les employés ne peuvent pas utiliser Adobe Flash.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\MicrosoftEdge\AddonsHKEY_CURRENT_USER\Software\Policies\Microsoft\MicrosoftEdge\Addons- Value name
FlashPlayerEnabled
| State | Value written |
|---|---|
| Enabled | REG_DWORD = 1 |
| Disabled | REG_DWORD = 0 |
PowerShell
PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.
Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.
Computer (HKLM)
Enable
# Enable: MicrosoftEdge/AllowFlash
$k = 'HKLM:\Software\Policies\Microsoft\MicrosoftEdge\Addons'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'FlashPlayerEnabled' -Value 1 -Type DWordDisable
# Disable: MicrosoftEdge/AllowFlash
$k = 'HKLM:\Software\Policies\Microsoft\MicrosoftEdge\Addons'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'FlashPlayerEnabled' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": MicrosoftEdge/AllowFlash
$k = 'HKLM:\Software\Policies\Microsoft\MicrosoftEdge\Addons'
Remove-ItemProperty -Path $k -Name 'FlashPlayerEnabled' -ErrorAction SilentlyContinueUser (HKCU)
Enable
Disable
Revert to "Not configured"