Search code examples
flashregistrymicrosoft-edge

How to turn on/off Adobe Flash settings for Microsoft Edge using registry editor?


Trying to turn on Adobe Flash settings in Microsoft Edge using Windows Registry(Regedit) modification, but it doesn't reflect in the browser. Not looking for a manual or GPO approach, since it needs to be eventually done on a large scale.

Came across and tried this, To enable Flash Policy for Edge , and also tried the below approach:

$RegistryPath = "HKCU:\SOFTWARE\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\AppContainer\Storage\microsoft.microsoftedge_8wekyb3d8bbwe\MicrosoftEdge\Addons"

New-ItemProperty -Path $RegistryPath -Name "FlashPlayerEnabled" -Value "1" -PropertyType DWORD -Force | Out-Null

(Had to create the Addons folder as it wasn't available). But, they don't seem to reflect the change to the browser. Also tried exporting and comparing the registry by manually turning on/off in the browser to see what values were being changed and even that didn't showcase any difference.


Solution

  • The links you have mentioned in the original post shows the correct registry key settings.

    Path: HKLM\Software\Policies\Microsoft\MicrosoftEdge\Addons

    Value name: FlashPlayerEnabled

    Value type: REG_DWORD

    I have tested it on my side and it is enabling/ disabling the flash for the Edge legacy browser.

    Reference:

    Allow Adobe Flash

    Edit:-

    As you had informed that you want to set the policy for the MS Edge (Chromium) browser.

    I found some Flash-related policies that may help you to fix your issue.

    1. RunAllFlashInAllowMode

    2. Default Adobe Flash setting

    3. Allow the Adobe Flash plug-in on specific sites

    4. Block the Adobe Flash plug-in on specific sites

    You can try to refer to the docs and try to set the desired policy.