13

I have a .7z archive that I manage using 7zFM (File Manager) and I can easily add objects to this archive. However the objects in the archive are encrypted with AES like I want them to be, but when I add something new I cannot seem to add encryption to that file within the archive unless I decrypt the entire archive, then recrypt it.

Is there an easy way to add encryption, or perhaps remove encryption, of specific files within a .7z archive?

Parad0x13
  • 2,007
  • 3
  • 23
  • 38

2 Answers2

16
  1. Select new files to be added
  2. Right click (context menu) -> 7-Zip -> Add to archive..
  3. Select an existing archive
  4. Encryption, enter password
  5. Click OK
Tomasz
  • 5,269
  • 8
  • 56
  • 65
  • If you don't see **7-Zip** on the context menu, you may have the 32-bit version of 7-Zip installed on a 64-bit version of Windows. Install the 64-bit version of 7-Zip to add the missing context menu item. [Source](https://sourceforge.net/p/sevenzip/discussion/45797/thread/85f6c556/) – I say Reinstate Monica Jul 08 '16 at 21:36
  • If you already have the archive open in 7-Zip, make sure to close it before adding the file; otherwise, the archive will be "in use" and can't be overwritten. – thomas88wp Feb 21 '17 at 12:38
-1

You can do either like in @Tomasz's answer or just select file you wanna archive → RMB {context menu} → 7-ZipAdd to archive...:

  1. Archive format7z;
  2. Encryption {group} → Encrypt file names {checkbox} → Activate.

After that, all files that will be added to the archive via drag-and-drop will be automatically encrypted.

7-Zip 19.00 (x64), 2019-02-21.

Edison
  • 1
  • 3