Dynamic Code Settings
Explanation
This policy controls the dynamic code settings for Brave.
Disabling dynamic code improves the security of Brave by preventing potentially hostile dynamic code and third-party code from making changes to Brave'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 Brave will use the default settings.
If the policy is set to 1 - DisabledForBrowser then the Brave 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\BraveSoftware\BraveHKEY_CURRENT_USER\Software\Policies\BraveSoftware\Brave- 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: brave/DynamicCodeSettings
$k = 'HKLM:\Software\Policies\BraveSoftware\Brave'
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: brave/DynamicCodeSettings
# No value is written in the "Disabled" state (nothing defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": brave/DynamicCodeSettings
$k = 'HKLM:\Software\Policies\BraveSoftware\Brave'
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
Brave (Brave Software) — November 2026 templates
Official templates downloaded on November 12, 2026.