PDF Editing Issues

How to Unlock Read-Only PDF Comments in Acrobat XI Pro

Rana GarciaRana Garcia Nov 3, 2026 869 views

Question details

The user needs a way to unlock PDF comments that are stuck in a locked or read-only state because the standard Acrobat user interface does not allow these properties to be modified.

How to Unlock Read-Only PDF Comments in Acrobat XI Pro
Product
Adobe Acrobat XI Pro
Device & OS
not provided
Scenario
Attempting to edit, move, or delete existing annotations in a PDF file, but finding them completely locked.
Observed behavior
PDF comments remain locked and read-only, even though the visible 'Locked' checkbox appears to be unchecked in the Acrobat properties menu.
Before you start

Before running any automated scripts, save a backup copy of your PDF file to prevent accidental data loss or irreversible changes to your document.

Solution 1Recommended

Use Acrobat JavaScript Console to Unlock Comments

Run a batch JavaScript command in the Acrobat console to forcefully bypass the UI glitch and remove the lock and read-only attributes from all comments.

When the Acrobat interface fails to update comment properties due to software glitches, its built-in JavaScript engine can interact with the document's backend properties directly to resolve the issue.

1
Open the JavaScript Debugger

Launch Acrobat XI Pro, open your PDF file, and press 'Ctrl + J' (Windows) or 'Cmd + J' (Mac) to open the interactive JavaScript Console.

2
Input the unlock script

Copy and paste the following code into the console: this.syncAnnotScan(); var annots = this.getAnnots(); if (annots != null) { for (var i in annots) { var annot = annots[i]; annot.setProps({lock:false, readOnly:false}); } }

3
Execute the script

Highlight all the code you just pasted and press 'Ctrl + Enter' (or 'Enter' on the numeric keypad) to run the script. All comments in the PDF will instantly become editable.

Use Acrobat JavaScript Console to Unlock Comments
End of Support Notice: Adobe Acrobat XI Pro is no longer officially supported. If you frequently encounter corrupted files or uneditable elements, consider testing the document in a newer PDF editor.
Manage PDF Comments Easily

Edit and Manage PDF Comments Seamlessly with WPS Office

Avoid complex JavaScript codes and outdated software glitches. WPS Office provides an intuitive, user-friendly interface to add, edit, lock, or unlock PDF comments effortlessly.

  1. 1. Open your PDF: Launch WPS Office and open the PDF document containing the annotations.
  2. 2. Access the Comment tab: Navigate to the 'Comment' tab located on the top ribbon to view all available annotation and markup tools.
  3. 3. Modify Comment Properties: Click on any comment to select it. Right-click to access its 'Properties', where you can easily toggle the locked status directly from the visual interface without any coding.
Free and intuitive PDF viewing and editing toolsFully compatible with Adobe Acrobat PDF formats and Microsoft Office filesEasily manage, reply to, and modify annotations without writing scriptsLightweight application available for Windows, Mac, Linux, and mobile devices
microsoft office alternative - wps office

Frequently Asked Questions

Why are my PDF comments locked even when the box is unchecked?

In some older versions of Adobe Acrobat, document corruption or software bugs can cause the underlying read-only property to remain active internally, even if the user interface checkbox fails to display the correct status.

How do I access the JavaScript console in newer versions of Adobe Acrobat?

In modern versions like Acrobat Pro DC, you can access the JavaScript Debugger by navigating to Tools > JavaScript > Document JavaScripts, or by using the standard Ctrl+J / Cmd+J shortcut.

Is Adobe Acrobat XI Pro still safe to use?

Adobe officially ended support for Acrobat XI Pro in 2017. It no longer receives security patches or bug fixes, making it less secure and more prone to compatibility issues compared to modern alternatives.

Can I unlock comments if the entire PDF is password protected?

No. If the PDF document has security restrictions applied preventing commenting or editing, you must first enter the permissions password to unlock the document before scripts can modify the comments.