Forum Discussion
How to take off or deactivate password in pdf on Windows 11?
PDFtk Server is a free command-line tool from PDF Labs that's been around forever. It's lightweight, doesn't need Adobe Acrobat, and runs perfectly on Windows 11. The "Server" name sounds fancy, but it's just a free tool anyone can download and use to figure out how to take a password off a PDF. But don't let that scare you off—it's actually pretty straightforward once you see the command.
Here's something important if you are wondering how to take a password off a PDF. Typing your password directly in the command line means it could be saved in your command history, which isn't great for sensitive documents.
PDFtk has a better way. Use PROMPT instead of typing your password:
bash
pdftk secured ,pdf input_ pw PROMPT output unsecured, pdf
When you run this, PDFtk will pop up a window asking you to enter the password securely. Nothing gets saved to your command history. Much safer, right?
You still need to know the password. PDFtk can't magically bypass encryption if you've forgotten it. What it does is strip the password protection off a file you can already open.
Also, some PDFs have two passwords—an "owner password" and a "user password." If the file only has a user password (the one that prevents opening), this command works fine. If it has an owner password, you might need to use owner _pw instead of input _pw.