Enable Acrobat JavaScript
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\Acrobat Reader\DC\JSPrefs- Value name
bEnableJS
| State | Value written |
|---|---|
| Enabled | REG_DWORD = 1 |
| Disabled | REG_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: AcrobatReaderDC/Policy_Enable_Acrobat_75
$k = 'HKCU:\Software\Adobe\Acrobat Reader\DC\JSPrefs'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'bEnableJS' -Value 1 -Type DWordDisable
# Disable: AcrobatReaderDC/Policy_Enable_Acrobat_75
$k = 'HKCU:\Software\Adobe\Acrobat Reader\DC\JSPrefs'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'bEnableJS' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": AcrobatReaderDC/Policy_Enable_Acrobat_75
$k = 'HKCU:\Software\Adobe\Acrobat Reader\DC\JSPrefs'
Remove-ItemProperty -Path $k -Name 'bEnableJS' -ErrorAction SilentlyContinueApplication
Adobe Acrobat / Reader (Adobe) — October 2026 templates
October 2026 templates from pl4nty/web-admx-tool.