Removing Content Restrictions from PDFs
Disclaimer: Only remove content restrictions from PDFs where you have the permission of the owner to do so.
Scenario: You have the Document Open password, and there is no Permissions Password.
Solution:
Open the PDF. Under Document Properties > Security > Security Method, change this to No Security.
Scenario: You have the Document Open password, and there is a Permissions Password.
Solution 1 (Preserves all links, bookmarks and content with GUI):
Download pdfsam https://pdfsam.org/download-pdfsam-basic/.
Install pdfsam.
Open pdfsam and select "extract".
Drag and drop the PDF into pdfsam.
For the "Extract pages", use "1-{total pages}" where {total pages} are the total pages.
Click "Run".
Solution 2 (Preserves all links, bookmarks and content but no GUI):
Download qpdf (ming64 zip) from https://github.com/qpdf/qpdf/releases/tag/v11.8.0
Extract qpdf to a folder.
In the qpdf folder, create the batch file "clean.bat":
cd /d %~dp0
.\bin\qpdf.exe --decrypt "%1" "%~dpn1-clean.pdf"
pause
In Explorer, drag and drop the pdf onto the batch file. The decrypted pdf will have the word "clean" at the end.
Solution 3 (easy GUI but loses bookmarks and links):
Download PDF Arranger from https://github.com/pdfarranger/pdfarranger
Install PDF Arranger.
Open up a PDF in PDF Arranger.
Save the PDF.
All restrictions will be removed, but you may find that all the bookmarks and links no longer work.
Solution 4 (Cannot copy and paste text):
Print to XPS. Then print the XPS back to PDF.
All restrictions will be removed, however you may find that even if the text looks OK but the text is greeked when copied and pasted.
Solution 5 (Bitmaps everything and text may have errors):
Print to XPS or PDF in bitmap mode or print text as curves (see under Print Options > Advanced).
OCR the document in PDF Xchange Viewer or KoFAX (KoFAX has better OCR).
Scenario: The PDF used to be able to be opened, but there is some kind of time limit on it. When the PDF is opened, it is a page saying it is expired.
Solution:
Open the PDF.
Under Document Properties > Security > Security Method, change this to No Security.
Delete the last page. Sometimes the author includes special scripts on the last page.
Alternatively, disable JavaScript in the PDF reader application.