PDF Security & Access Issues

Fix Acrobat Trusted Save As Function Security Errors on Windows 11

Olivia MillerOlivia Miller Nov 19, 2026 868 views

Question details

The user needs an Acrobat trusted JavaScript Save As function to work on a Windows 11 tablet.

Fix Acrobat Trusted Save As Function Security Errors on Windows 11
Product
Adobe Acrobat
Device & OS
Windows 11 tablet
Scenario
A folder-level trusted JavaScript function saves a PDF on Windows 10 but must also run on a Windows 11 device.
Observed behavior
On Windows 11, the function returns a NotAllowedError saying that security settings block the property or method.
Before you start

Confirm whether the tablet has Adobe Acrobat or Acrobat Reader installed, and locate the folder-level JavaScript file and the destination path used by the function. You may need permission from your administrator to inspect Acrobat security settings or write to the destination folder.

Solution 1Recommended

Verify the trusted function and test the Save As path

Use this approach to identify whether the error comes from script installation, the destination path, or Acrobat security restrictions.

1
Check the installed product

In Acrobat, open Help > About to confirm the product and version. Reader has additional restrictions, and a trusted function may not be able to perform the same Save As operation there.

2
Check the script location

Place the folder-level JavaScript file in the JavaScripts folder for the installed Acrobat product or user profile. If the JavaScript console is available, run app.getPath("user", "javascript") to check the user-level folder.

3
Restart Acrobat

Close all Acrobat windows, reopen Acrobat, and open the PDF that calls the trusted function. Folder-level scripts are loaded when Acrobat starts.

4
Test the destination

Open the JavaScript console with Ctrl+J if it is enabled, and test the same saveAs command with the exact path and filename used by the function. Check that the path uses Acrobat-supported path syntax and that you can write to the destination folder in File Explorer.

5
Review trust and security settings

Open Edit > Preferences > Security (Enhanced) and review the applicable security and protected-mode settings. Check that the function is defined as a trusted function in the folder-level script and uses the required privileged context; consult your administrator before changing security settings.

Verify the trusted function and test the Save As path
Console results can differ: A command that works in the JavaScript console may still fail when called from a document if the document call does not run through a correctly installed trusted function.
Free Microsoft Office alternative

Work with PDFs and Office files in WPS Office

WPS Office is a free, lightweight alternative with a familiar interface and support for common Office formats, making it easy to move everyday document work. It does not fix Acrobat trusted JavaScript security errors.

Open and read PDFs alongside your other documentsCompatible with Microsoft Office formats such as DOCX and XLSXUse a familiar interface for a smoother transition from OfficeWork with a lightweight suite available for free
microsoft office alternative - wps office

Frequently Asked Questions

Where should I put the Acrobat trusted JavaScript file?

Use the JavaScripts folder for the installed Acrobat product or user profile. If the JavaScript console is available, run app.getPath("user", "javascript") to find the user-level folder, then restart Acrobat after adding the file.

Why does Save As work in the console but not from the PDF?

The console and a document script can run in different security contexts. Check that the document calls a correctly installed folder-level trusted function and that the privileged operation runs in the required privileged context.

Can this trusted Save As function run in Acrobat Reader?

Reader has additional restrictions, so a function that works in Acrobat may not be able to perform the same saveAs operation in Reader. Check the installed product under Help > About and verify that the operation is supported.

What should I check in the destination path?

Test the exact path and filename in Acrobat's JavaScript console, using Acrobat-supported path syntax. Also open the destination folder in File Explorer and confirm that your Windows account can write to it.

Should I turn off Acrobat security to make the script work?

First review Edit > Preferences > Security (Enhanced), the script installation, and the destination permissions. Consult your administrator before changing protected-mode or other security settings.