Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Opening Password encrypted .pdf's with powershell

Posted on 2016-09-13
5
Medium Priority
?
216 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 58

Expert Comment

by:McKnife
ID: 41795944
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
ID: 41795956
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 58

Accepted Solution

by:
McKnife earned 2000 total points
ID: 41795980
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
ID: 41796125
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
ID: 41796127
Powershell and Adobe PDF's dont interact. Use the Adobe tool "action wizard" to do so.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The conference as a whole was very interesting, although if one has to make a choice between this one and some others, you may want to check out the others.  This conference is aimed mainly at government agencies.  So it addresses the various compli…
In this post we will be converting StringData saved within a text file into a hash table. This can be further used in a PowerShell script for replacing settings that are dynamic in nature from environment to environment.
Sometimes we receive PDF files that are in the wrong orientation. They may be sideways or even upside down. This most commonly happens with scanned or faxed documents. It is possible to rotate the view of these PDFs with the free Adobe Reader produc…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…
Suggested Courses

564 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