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

33,920

Solution 1

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 :) )

Solution 2

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.

Solution 3

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.

Share:
33,920

Related videos on Youtube

Greg Jennings
Author by

Greg Jennings

about.me/mehper Industrial Engineer M.Sc. One of the authors of Distribution Planning of Magazines: A Practical Approach. Author of Random Variate Generation If the Density Is Not Known: Basics, Methods, Implementations. Mostly dealing with the following topics: Food Logistics, Enterprise Resources Planning, Supply Chain Management, Materials Management, Healthcare Logistics, Executive Reporting, Data Analysis, System Development and Optimization. Programming Languages: VBA, SQL, R. XBox 360 fan.

Updated on September 17, 2022

Comments

  • Greg Jennings
    Greg Jennings over 1 year

    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.

    • Snark
      Snark about 14 years
      Do you mean you know the password? Or do you have to "crack" the password?
    • Greg Jennings
      Greg Jennings about 14 years
      Of course I know the passwords. I want to remove them.
    • Greg Jennings
      Greg Jennings almost 11 years
      My question is older, so the duplicate question is the other one. Closing my question is unfair. I propose merging the answers under my question.