Solved

Opening Password encrypted .pdf's with powershell

Posted on 2016-09-13
5
84 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 54

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 54

Accepted Solution

by:
McKnife earned 500 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This script can help you clean up your user profile database by comparing profiles to Active Directory users in a particular OU, and removing the profiles that don't match.
There are many Password Managers (PM) out there to choose from. PM's can help with your password habits and routines, but they should not be a crutch you rely on too heavily. I also have an article for company/enterprise PM's.
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
We often encounter PDF files that are pure images, that is, they do not have text characters, but instead contain only raster graphics. The most common causes of this are document scanning software and faxing software/services that create image-only…

733 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