Solved

Opening Password encrypted .pdf's with powershell

Posted on 2016-09-13
5
107 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 55

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 55

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

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Windows 10 came with  a lot of built in applications, Some organisations leave them there, some will control them using GPO's. This Article is useful for those who do not want to have any applications in their image (example:me).
There are times when we need to generate a report on the inbox rules, where users have set up forwarding externally in their mailbox. In this article, I will be sharing a script I wrote to generate the report in CSV format.
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…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

695 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