41

Not when creating new archive, but on existing archive. I would also like to know how to do that in other archiver.

3 Answers 3

87

You can do it by using this method . Tools > Convert Archives > Compression > General > Set Password > then click ok and save . :)

8
  • 7
    Nice! Talk about a BURIED feature! Jan 17, 2013 at 13:31
  • 2
    Hahahahahahahaha.... what the ... :D
    – Apache
    Dec 16, 2013 at 2:03
  • I don't know if this was different in earlier versions, but I found the 'set password' button under 'general' not the 'advanced' tab. Still, you got me more than half the way there!
    – fadelm0
    Dec 10, 2016 at 15:41
  • Works great. Note that WinRAR 3.42 has another password option under File->Password (I don't know what this does). Jan 6, 2017 at 8:06
  • This also works with .zip archives in WinRar :) Also remember to check 'delete original archives' so that you can replace the original with encrypted version. Otherwise, you must manually delete the unencrypted version.
    – Jon Grah
    Mar 3, 2017 at 2:24
2

This is not possible as the password is generally used as the hash/similar for the file, so, anything that changes it will require an intensive operation to change all files.

The fastest and easiest thing by far is to extract all files and create a new archive with the security set.

Not saying it isn't possible to do what you want, but I haven't seen the option to do it.

4
  • I added file to archive and set password which casused everything to update. Now archive is password protected, but has unnecessary file. I removed it and archive remained protected.
    – Boris_yo
    May 27, 2011 at 12:26
  • @Boris - Technically what you did was exactly what you DID NOT want to do. You actually did create a new archive it was just invisible to you.
    – Ramhound
    May 27, 2011 at 15:38
  • 1
    Then where is the old archive? In temp directory?
    – Boris_yo
    May 30, 2011 at 13:55
  • This is the correct answer. The picked answer actually recompresses the archive, so it's not what OP wants. Neither what I want... been looking to set a password to a 60GB archive that took 12 hours to make without recompressing it... and it's not possible. Since I have no choice, it'll end up as a rar in a rar situation.
    – JasonXA
    Feb 27 at 0:32
-3

There is a better way of doing it. go to Options>Settings>Compression>Create Default>Set Password>Then click Ok and you're done! (At least it's easier to navigate.)

1
  • 1
    That is not the answer to the question; this just sets how archives are made 'from now on.'
    – Jan Doggen
    Sep 20, 2014 at 11:50

Not the answer you're looking for? Browse other questions tagged or ask your own question.