Dynamic Code Settings
Explanation
This policy controls the dynamic code settings for Google Chrome.
Disabling dynamic code improves the security of Google Chrome by preventing potentially hostile dynamic code and third-party code from making changes to Google Chrome's behavior, but might cause compatibility issues with third-party software (e.g. certain printer drivers) that must run inside the browser process.
If the policy is set to 0 - Default or left unset then Google Chrome will use the default settings.
If the policy is set to 1 - DisabledForBrowser then the Google Chrome browser process will be prevented from creating dynamic code.
Note: Read more about process mitigation policies ( https://chromium.googlesource.com/chromium/src/+/HEAD/docs/design/sandbox.md#Process-mitigation-policies ).
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Google\ChromeHKEY_CURRENT_USER\Software\Policies\Google\Chrome- Value name
- not defined in the ADMX
Enable / disable values: not defined in the ADMX (see the options below).
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: chrome/DynamicCodeSettings
$k = 'HKLM:\Software\Policies\Google\Chrome'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Dynamic Code Settings
# Possible options:
# Default dynamic code settings = 0
# Prevent the browser process from creating dynamic code = 1
Set-ItemProperty -Path $k -Name 'DynamicCodeSettings' -Value 0 -Type DWordDisable
# Disable: chrome/DynamicCodeSettings
# No value is written in the "Disabled" state (nothing defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": chrome/DynamicCodeSettings
$k = 'HKLM:\Software\Policies\Google\Chrome'
Remove-ItemProperty -Path $k -Name 'DynamicCodeSettings' -ErrorAction SilentlyContinueUser (HKCU)
Enable
Disable
Revert to "Not configured"
Options (1)
| Label | Control | Registry value | REG type | Constraints / details | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Dynamic Code SettingsDynamicCodeSettings | Drop-down listenum | DynamicCodeSettings | REG_DWORD |
|
Application
Google Chrome (Google) — November 2026 templates
Official templates downloaded on November 12, 2026.