How can I remove the password protection from a RAR archive?

3

I have a directory in which there are lots of password protected .RAR files/archives. The passwords of these individual archives are known.

I want to remove the password protection from all of them without extracting the contents. Since each file is larger than 1 GB, decompressing & then recompressing without password encryption is not a good option for me. How can I easily do that? I'm using WinRAR 3.80 on Win7. Any other 3rd party tools are welcomed.

Mehper C. Palavuzlar

Posted 2010-03-03T11:59:10.220

Reputation: 51 093

Question was closed 2013-08-10T19:36:08.323

Do you mean you know the password? Or do you have to "crack" the password? – Snark – 2010-03-03T12:34:28.223

Of course I know the passwords. I want to remove them. – Mehper C. Palavuzlar – 2010-03-03T13:10:58.030

2My question is older, so the duplicate question is the other one. Closing my question is unfair. I propose merging the answers under my question. – Mehper C. Palavuzlar – 2013-08-06T09:17:52.403

Answers

5

Best solution (IMHO):

Use a DOS Batch file with the command FORFILES, to cicle all files, with the command to unrar with the password and thn rar it back up again without password. And finally delete the unnecessary files.

If I were you I would do it in python, for me it's less confusing then BATCH Files (*.bat), and you can find recepies for almoust all that you want to do, all you need to do is glue then togheter(the right way :) )

Krazy_Kaos

Posted 2010-03-03T11:59:10.220

Reputation: 1 614

1

Since each file is encrypted using the passphrase/password, it logically follows that in order to un-encrypt you need the password, which you have.

But the files are encrypted, meaning without the password, they are seemingly random garbage.

If it were possible to merely remove passwords, without extracting, winrar's encryption would be broken (from my understanding, anyway).

So I don't really see how it is possible - just write a batch file to un-encrypt them all overnight.

Dmatig

Posted 2010-03-03T11:59:10.220

Reputation: 1 622

1

WinRAR use real hard encryption. "Remove" password mean decrypt all data. I dont know, but wery possible encryption done in one operation with compression. Therefore "remove" password require decompression.

Mikhail Moskalev

Posted 2010-03-03T11:59:10.220

Reputation: 1 718