Del via


DynamicCodeSettings

Dynamic Code Settings

Supported versions

  • Windows: ≥ 128
  • macOS: Not supported
  • Android: Not supported
  • iOS: Not supported

Description

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.

Policy options mapping:

Use this information when configuring this policy.

  • Default (0) = Default dynamic code settings
  • EnabledForBrowser (1) = Prevent the browser process from creating dynamic code

Supported features

  • Can be mandatory: Yes
  • Can be recommended: No
  • Dynamic Policy Refresh: No - Requires browser restart
  • Per Profile: No
  • Applies to a profile that is signed in with a Microsoft account: Yes

Data type

  • Integer

Windows information and settings

Group Policy (ADMX) info

  • GP unique name: DynamicCodeSettings
  • GP name: Dynamic Code Settings
  • GP path (Mandatory): Administrative Templates/Microsoft Edge
  • GP path (Recommended): N/A
  • GP ADMX file name: MSEdge.admx

Example value

Prevent the browser process from creating dynamic code

Registry settings

  • Path (Mandatory): SOFTWARE\Policies\Microsoft\Edge
  • Path (Recommended): N/A
  • Value name: DynamicCodeSettings
  • Value type: REG_DWORD

Example registry value

0x00000001

See also