Windows XP and Windows 2000:
- In the Windows File Explorer menu, select Tools > Folder Options . . . and click the File Types tab. Select the PDF file type and click the Advanced button.
- Click the New . . . button and a New Action dialog appears. Give the new action the name Encrypt.
- Give the action an application to open by clicking the Browse . . . button and selecting cmd.exe, which lives somewhere such as C:\windows\system32\ (Windows XP) or C:\winnt\system32\ (Windows 2000).
- Add these arguments after cmd.exe, changing the path to suit, like so:
- Click OK, OK, OK and you should be done with the configuration.
C:\windows\system32\cmd.exe
/C C:\windows\system32\pdftk.exe "%1" output "%1.encrypted.pdf"
encrypt_128bits user_pw PROMPT