Skip to main content
New Participant
June 12, 2020
Question

Remove executable code from PDF

  • June 12, 2020
  • 1 reply
  • 10872 views

Hi there, I have a series of pdf files that I need a way to figure out if there is executable code inside the files.  Do you know of a good method to do this on a batch level?

1 reply

JR Boulay
Community Expert
June 12, 2020

You can use the Preflight tool or the PDF Optimiser (Save as Other).

 

Acrobate du PDF, InDesigner et Photoshopographe
gfbgfhyAuthor
New Participant
June 12, 2020

Hmm the pdf is still being rejected.  Is there a way to extract the contents that show the code?

New Participant
November 30, 2020

Thanks for the fix. The windows don't look exactly like this in Acrobat DC, but I was able to go into the Preflight and get rid of the java script, which did the trick for uploading to the Ninth Circuit Court of Appeals' ECF system.


I am having the same issue as the OP but in a different jurisdiction on the same court filing system (SDNY, NextGen ECF).  I've tried all of the above suggestions but the court filing system rejecting it still says it "contains code which may cause an external action (such as launching an application)"