Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have several PDF files each with the same password that I know.

What tool or method could batch unlock them and provide a copy of each of the PDFs as an unlocked version?

There's CutePDF - could I use this to print all the PDFs to PDF and it will batch unlock them?

Also: - Virtual Image Printer driver - sourceforge.net/projects/pdfcreator/‎ - pdfforge.org

Can these unlock in batch?

share|improve this question
    
possible duplicate of FOSS Script for unlocking PDF for printing –  Ƭᴇcʜιᴇ007 Aug 20 '13 at 14:56
    
I don't think that it is a duplicate @techie007 as that question deals with DRM, my question isn't about DRMed PDFs, simply PDFs that are password protected. Thanks. –  therobyouknow Aug 20 '13 at 15:05
    
Password protecting a PDF is a form of DRM. ;) –  Ƭᴇcʜιᴇ007 Aug 20 '13 at 15:47
    
Thanks techie007 - yes I agree there are many approaches to DRM which can include use of a password. But to me DRM is primarily about restricting how many copies of a file can be viewed, listened to or watched. I think my case is not primarily about DRM as here, a password is used on the PDF so that it is not seen by those who shouldn't but if it was made public there would be no such restriction. Also, I feel my answer adds value in the context of unlocking and in batch - the other answer may not occurred to others like me who are looking to just unlock a batch of files, not print them. –  therobyouknow Aug 20 '13 at 16:00
1  
On Linux you can use qpdf for the task. See here for a batch decryption script which can be easily integrated into the context menu of file managers like Nautilus. –  Glutanimate Sep 8 '13 at 18:02

3 Answers 3

Use pdftk

pdftk input.pdf output output.pdf user_pw PASSWORD

and a simple for-loop in your shell.

share|improve this answer
    
+1 thanks I'll check it out when I get home and have time/access to the documents. –  therobyouknow Aug 20 '13 at 15:04
    
For me this didn't work, got error OWNER PASSWORD REQUIRED, but not given (or incorrect) when I tried BOTH user_pw and/or owner_pw as command line options as described in the documentation. Conclusion: pdftk didn't know how to decrypt my particular PDFs - but might work for someone else's. –  therobyouknow Sep 8 '13 at 15:49

You can try cipherbox, a free software to unlock your password-protected PDF files in batch. According to the description of its webpage, cipherbox works on all PDF versions including AES encryption. It applies to word and zip files too.

share|improve this answer
up vote 0 down vote accepted

The following program did the job:

http://www.a-pdf.com/faq/how-to-decrypt-pdf-security.htm

The download trial for it worked. Purchasing the full version at $27 which I think is reasonable for a convenient tool that works.

share|improve this answer

protected by Mokubai May 9 at 16:13

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.