Computer Configuration > Administrative Templates > Microsoft Edge
Both
HKLM\Software\Policies\Microsoft\Edge
This policy controls the dynamic code settings for Microsoft Edge. Disabling dynamic code improves the security of Microsoft Edge by preventing potentially hostile dynamic code and third-party code from making changes to Microsoft Edge's behavior. However this might cause compatibility issues with third-party software (e.g. certain printer drivers) that must run in the browser process. If you set this policy to 0 (the default) or leave unset, then Microsoft Edge will use the default settings. If you set this policy to 1 – (EnabledForBrowser) then the Microsoft Edge browser process is prevented from creating dynamic code. Policy options mapping: * Default (0) = Default dynamic code settings * EnabledForBrowser (1) = Prevent the browser process from creating dynamic code Use the preceding information when configuring this policy.