Solved

Opening Password encrypted .pdf's with powershell

Posted on 2016-09-13
5
48 Views
Last Modified: 2016-09-13
Hey there

A customer of us sends us daily some reports in PDF-Format. The PDF files are password encrypted.
To provide the pdf's to our employees we have to open each report, enter the password (we own it), and save the file afterwards.

Is there a way to do this with a script, prefered powershell?

Regards
0
Comment
Question by:rdkli
  • 3
  • 2
5 Comments
 
LVL 53

Expert Comment

by:McKnife
Comment Utility
Does the manufacturer (was it adobe?) of the software you use to encrypt have a website with an FAQ, tutorials/manuals? Did you look at those already?
0
 

Author Comment

by:rdkli
Comment Utility
Yeah - I googled for about 2 hours for it. Adobe only supports a userinteractive solution, not really stuff to perform for a automated task :/

I found some scripts with some 3 party dlls (which I dont want to use if possible), other one's to create pwd protected pdf's .. but nothing really to do the decrypt part.
0
 
LVL 53

Accepted Solution

by:
McKnife earned 500 total points
Comment Utility
Powershell will not work with Acrobat. However, starting with Acrobat X, you have an action wizard, that can automate whatever you like. What Acrobat version do you use?
0
 

Author Comment

by:rdkli
Comment Utility
Thanks McKnife for your input! I found an acrobat XI in our marketing team (IT only have version 9 licensed, lol).

I'll try the action wizard!
0
 

Author Closing Comment

by:rdkli
Comment Utility
Powershell and Adobe PDF's dont interact. Use the Adobe tool "action wizard" to do so.
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Article by: btan
Provide an easy one stop to quickly get the relevant information on common asked question on Ransomware in Expert Exchange.
I thought I'd write this up for anyone who has a request to create an anonymous whistle-blower-type submission form created using SharePoint 2010 (this would probably work the same for 2013). It's not 100% fool-proof but it's as close as you can get…
In this video, we show how to perform Bates Numbering/Stamping of PDF documents using Power PDF Advanced, the newest product from the Document Imaging division of Nuance Communications. There are two editions of Power PDF — Standard and Advanced. Th…
In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now