A simple Windows batch file which uses Ghostscript to unlock/unencrypt a pdf file.
- Download Postscript and PDF interpreter/renderer (Windows 64-bit or 32-bit)
- Run pdf_unlock.bat
- Enter full path to pdf file eg. C:\Users\You\Desktop\locked.pdf
- Done
- This script works with either 64-bit or 32-bit Ghostscript (will detect automatically).