Open in the explorer

Enable Acrobat JavaScript

Type
User
GPO path
User Configuration › Policies › Administrative Templates › Adobe Acrobat DC › Preferences › Security
Supported on
Undefined
ADMX file
AcrobatDC.admx
Internal name
AcrobatDC/Policy_Enable_Acrobat_74

Explanation

Toggles JavaScript execution on and off globally; when off, the PDF cannot execute JavaScript.

When the user's ability to create privileged locations is not disabled and locked, end users can bypass disabled JS by choosing Trust once or Trust Always via the Options button on the Yellow Message Bar. Admins can disable and lock JS execution by setting bDisableJavaScript to 0 in HKLM.

GUI mapping: Preferences > JavaScript > JavaScript panel > Enable Acrobat JavaScript

Registry

HKEY_CURRENT_USER\Software\Adobe\Adobe Acrobat\DC\JSPrefs
Value name
bEnableJS
StateValue written
EnabledREG_DWORD = 1
DisabledREG_DWORD = 0

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.

Enable

# Enable: AcrobatDC/Policy_Enable_Acrobat_74
$k = 'HKCU:\Software\Adobe\Adobe Acrobat\DC\JSPrefs'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'bEnableJS' -Value 1 -Type DWord

Disable

# Disable: AcrobatDC/Policy_Enable_Acrobat_74
$k = 'HKCU:\Software\Adobe\Adobe Acrobat\DC\JSPrefs'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'bEnableJS' -Value 0 -Type DWord

Revert to "Not configured"

# Revert to "Not configured": AcrobatDC/Policy_Enable_Acrobat_74
$k = 'HKCU:\Software\Adobe\Adobe Acrobat\DC\JSPrefs'
Remove-ItemProperty -Path $k -Name 'bEnableJS' -ErrorAction SilentlyContinue

Application

Adobe Acrobat / Reader (Adobe) — October 2026 templates

October 2026 templates from pl4nty/web-admx-tool.