Checksum error in the encrypted file что делать

6 Solutions to Remove the Checksum Error WinRAR [New Update] [MiniTool Tips] It is reported that the WinRAR checksum error often appears during the file extraction process. Fortunately, you don’t have to worry about it with this WinRAR checksum error in the encrypted file fix guide. Explore the details with MiniTool now! About Checksum […]

Содержание

  1. 6 Solutions to Remove the Checksum Error WinRAR [New Update] [MiniTool Tips]
  2. About Checksum Error WinRAR
  3. Solutions to WinRAR Checksum Error
  4. Solution 1: Use the Embedded Features in WinRAR
  5. Solution 2: Download the RAR File Again
  6. Solution 3: Reinstall WinRAR
  7. Solution 4: Disable Anti-Virus
  8. Solution 5: Increase Free Disk Space
  9. Solution 6: Check Hard Drive for Bad Sectors
  10. Bottom Line
  11. About The Author
  12. Fix — WinRAR Checksum Error in the Encrypted File
  13. What are WinRAR errors?
  14. Possibility of Fixing WinRAR Checksum Error in Encrypted file:
  15. How to Fix WinRAR Checksum Error?
  16. Fix 1: Select the Broken files check box
  17. Fix 2: Repair Corrupted File using WinRAR
  18. Fix 3 : Download the RAR file Again
  19. Fix 4: Check with Antivirus Software
  20. Fix 5: Repair RAR Chksum Error In The Encrypted File Using Remo Repair RAR Tool

6 Solutions to Remove the Checksum Error WinRAR [New Update] [MiniTool Tips]

It is reported that the WinRAR checksum error often appears during the file extraction process. Fortunately, you don’t have to worry about it with this WinRAR checksum error in the encrypted file fix guide. Explore the details with MiniTool now!

About Checksum Error WinRAR

What is WinRAR checksum error?

Checksum error in WinRAR, a RAR file error, appears when a few bytes get lost from RAR files or additional bits are induced. When this error occurs, it stops you from extracting RAR files.

What causes checksum error WinRAR?

After looking into many cases, we find some common causes for the WinRAR checksum error.

  • Improper download: Due to improper Internet connection or low Internet connectivity, the .rar file won’t be downloaded properly. This makes the RAR files corrupt and then prompts the “checksum error” message during the process of RAR extraction.
  • Interrupted transfer process: The existence of interruptions such as a sudden system shutdown, Windows restarts, power failure, and others while transferring RAR files from a computer to an external storage device or vice versa may lead to checksum error RAR.
  • Insufficient disk space: If there is no more space for the Zip file to be extracted, you will receive the WinRAR checksum error.
  • Unreliable third-party compression tools: The checksum error WinRAR could also happen if you extract the contents of WinRAR with unreliable compression programs.
  • Virus/malware attacks: If there are virus/malware attacks in the RAR extraction process, the WinRAR checksum error might show up.
  • Bad sectors on the storage drive: Bad sectors also trigger the checksum error.

Further reading:

In addition to checksum error WinRAR, you may encounter errors like CRC failed 7Zip and error 42125 Zip archive is corrupted while extracting files. Hence, you have to be cautious during the process of file extractions. For instance, you’d better use a reliable compression tool, utilize a powerful anti-virus program, and get enough free disk space before starting the extraction.

Solutions to WinRAR Checksum Error

Based on the above possible causes, this post would provide you with 6 available solutions to the checksum error WinRAR. You can try them one by one until the error is solved successfully.

Editor’s choice: It is strongly recommended to increase free disk space and check hard drive for bad sectors. By doing so, you can ensure that the checksum error WinRAR won’t occur because of insufficient disk space for the Zip file to be extracted or bad sectors on the storage media.

Solution 1: Use the Embedded Features in WinRAR

One of the WinRAR checksum error in the encrypted file fixes is to use the built-in features in WinRAR. Both the Keep broken files and Repair archive options of WinRAR can help you fix the WinRAR checksum error.

#1. The Keep Broken Files Option

The Keep broken files option in WinRAR allows you to extract your corrupted media. Once you tick the option, WinRAR will ignore the corruption in the file and help you extract the content from the zip folder.

Step 1: Right-click on the Zip or RAR compressed files and choose Extract Files from the context menu.

Step 2: Navigate to the Miscellaneous section and check the Keep broken files box.

Step 3: Choose an extraction location and then click OK to execute the changes. After a while, the file will be extracted to the selected location. However, it still shows the “checksum error”. You just need to ignore the error and open the file.

#2. The Repair Archive Option

The Repair archive option in WinRAR can solve the checksum error and fix the corrupt file. Once it is clicked, it will automatically execute the operation. Besides, it doesn’t require Internet connection. Nevertheless, this method can only fix minor RAR file corruption.

Here’s how to use the Repair archive option.

Step 1: Right-click on the corrupted RAR or Zip file and tap the Open with WinRAR option.

Step 2: After the WinRAR opens, click on the Tools tab > Repair archive.

Step 3: Click the Browse button and then choose the destination for the repaired RAR or Zip files.

Step 4: Click OK to begin the process. After the operation ends, click Close to exit the program.

Solution 2: Download the RAR File Again

As mentioned earlier, interruptions during the file extraction process or incomplete download can also trigger the checksum error WinRAR. Given that fact, it is worth downloading the RAR file again.

To keep the process smooth, it is advised that you download the file to a different location. Moreover, you’d better ensure that you have a fast and stable Internet connection before downloading.

Solution 3: Reinstall WinRAR

You may encounter the checksum error when there are some bugs, viruses, and glitches with WinRAR itself. If so, consider uninstalling and reinstalling WinRAR manually. To do that, you can follow these steps.

Step 1: Open the Run dialog by pressing Windows and R keys。

Step 2: Type appwiz.cpl and click OK.

Step 3: Scroll down the items in the Programs and Features window to find the WinRAR program. Right-click on the WinRAR app and click Uninstall.

Step 4: After the uninstallation, restart your computer. Then move to its official website to download and install it.

Solution 4: Disable Anti-Virus

Anti-Virus programs sometimes send false-positive warnings about malware-free software. Then they corrupt the files by deleting or adding them to their virus chest, which indicates that those files will be missing and you will receive the file corrupt error message.

To avoid that issue, you need to disable anti-virus programs on your computer. If you don’t have third-party anti-virus tools installed, you should disable Windows Defender with these steps.

Step 1: Open Windows Settings by holding Windows and I keys.

Step 2: In the main menu, click on Update & Security.

Step 3: Tap on Windows Security > Virus & threat protection.

Step 4: Click Windows Defender Antivirus Options and then set the status of Periodic Scanning to Off.

If you have installed Avast on your PC, disable it by following this tutorial: How to Close Avast Antivirus on Your Computer?

Solution 5: Increase Free Disk Space

Without enough disk space for Zip files to be extracted, the checksum error WinRAR may pop up. Hence, one available WinRAR checksum error in the encrypted file fix is to increase free space.

To reach that purpose, you can free up disk space by deleting space-consuming and useless files, extend/resize partitions, or upgrade to a larger hard drive, etc. Among these options, extending/resizing partitions is an ideal method.

You don’t have to pay additional costs or delete your data by using this way. The Extend Partition and Move/Resize Partition features of MiniTool Partition Wizard enable you to do that within a few clicks.

As an all-in-one partition manager, MiniTool Partition Wizard also has other features like Convert MBR to GPT, Migrate OS to SSD/HD Wizard, Partition Recovery, Wipe Disk, Rebuild MBR, etc.

Option 1: Extend Partition

Extending partition is recommended if you are under the 2 situations below.

  • Extend a partition to non-contiguous unallocated or free space.
  • There is no unallocated or free space on the disk.

Step 1: Download MiniTool Partition Wizard by tapping the button below and then install it by following the on-screen instruction.

Step 2: Run the program to enter its main interface.

Step 3: Highlight the partition to enlarge in the disk map and click Extend in the context menu. Alternatively, you can also click on the target partition and then click the Extend Partition option in the action panel.

Step 4: Select a partition or unallocated space from the drop-down menu of Take Free Space from to get free space. Then move the blue block leftwards or rightwards to determine the amount of space that you want to take. Then click OK and Apply to execute the operation.

Option 2: Move/Resize Partition

The Move/Resize Partition feature allows you to shrink, extend, and move partitions easily.

Step 1: Likewise, get MiniTool Partition Wizard installed on your PC.

Step 2: Double-click on this program to run it. After going to its main interface, click on the partition where RAR files are stored and click Move/Resize Partition.

Step 3: In the prompted Move/Resize Partition window, move the arrows in both ends of the partition to modify the location and size of the partition. After that, click OK to save the changes and then click Apply to carry out the operation.

Solution 6: Check Hard Drive for Bad Sectors

If there are bad sectors on the hard drive where RAR files are stored, the checksum error WinRAR can appear as well. It is very easy to check if a hard drive contains bad sectors with the help of the Surface Test feature in MiniTool Partition Wizard.

Download and install MiniTool Partition Wizard by clicking the button below. Then follow the given steps to check hard drive for bad sectors.

Step 1: Launch MiniTool Partition Wizard to access its main interface.

Step 2: Highlight the hard drive or partition that holds the RAR files and click Surface Test in the left panel.

Step 3: In the Surface Test window, click on the Start Now button to begin the scanning process.

Step 4: Then MiniTool Partition Wizard will automatically scan the selected area for bad sectors. The results appear gradually as the process proceeds. After the process ends, you will get all the results.

Bottom Line

This post mainly introduces the meaning, causes, and troubleshooting methods of the checksum error WinRAR. Simply put, it is a complete WinRAR checksum error in the encrypted file fix guide.

Do you have other solutions to the WinRAR checksum error? If you have, share with us in the following comment area. If you encounter any difficulties in using MiniTool Partition Wizard, contact us via [email protected] .

  • Facebook
  • Twitter
  • Linkedin
  • Reddit

Having writing articles about computer tech for a long time, I am rather experienced especially on the aspect of computer optimization, PC enhancement, as well as tech terms explanation. The habit of looking through tech forums makes me a great computer issues collector. And then, many articles related to these issues are released, which benefit plenty of users. Professional, effective, and innovative are always the pursuit of an editing worker.

Источник

Fix — WinRAR Checksum Error in the Encrypted File

Updated on May 13, 2022

Did you receive a checksum error while extracting the file? Remo Repair RAR is a user-friendly program that can fix checksum errors in WinRAR with a few easy clicks. This utility repairs RAR files in a read-only mode, which means it doesn’t change the original content or files. Additionally, it can resolve errors like CRC, RAR not extracting, etc.

WinRAR is a great tool when it comes to binds data and decrease file size to feasible amount. This method is widely used to reduce the file size and utilize the storage space efficiently.

Additionally, WinRAR technology also provide security to the data by encapsulating the files with encryption algorithms, that prevent from dangerous viruses and various Malware programs that may harm your data file. Due to all these useful features, many Internet user wish to use WinRAR file compressor for extracting files. By using this procedure huge size files can be compressed and send with better security over the network.

What are WinRAR errors?

Sometimes, WinRAR files may get infected from harmful viruses or other malicious programs or any unpredictable events like sudden power failure while accessing the RAR file, etc. can make the file inaccessible. One of the frequent error message that many of the WinRAR users see is «CRC Error» usually known as Checksum Error in WinRAR files. When these type of error arises, many people think that, why it happened? How to repair WinRAR checksum error in encrypted file? Yes! Definitely you can fix RAR chksum error in the encrypted file. But before that know what is a checksum error in RAR and various situations that causes checksum errors in RAR files.

Possibility of Fixing WinRAR Checksum Error in Encrypted file:

However, Checksum error is encountered at the time of extracting files from .rar archive. To make sure your files are fine and ready to open without affecting your computer the Checksum of Windows machine scans all the files before loading the Operating System. You cannot open any software or particular file when the Checksum is damaged. The simple and finest way to repair Checksum error is to run the Windows File Checker and make your RAR file accessible. This method will absolutely work and you can extract complete files from RAR archive. But, if you notify the same error again then it indicate that the RAR file internal structure is corrupted. So to repair RAR file Checksum error, you need to adopt accurate RAR repair software. One such relevant RAR file fixing utility is Remo RAR Repair.

How to Fix WinRAR Checksum Error?

Fix 1: Select the Broken files check box

Follow the steps below to fix RAR chksum error in encrypted files.

  • Right-click on the compressed RAR file.
  • Select the Extract file option.
  • Go to the General tab and check the box Keep Broken Files in Miscellaneous.
  • Select the extraction location and click OK.

Fix 2: Repair Corrupted File using WinRAR

  • Right-click on the corrupted RAR file.
  • From the options menu select Open with WinRAR.
  • Click on the Tools option and select Repair archive.
  • Next, choose the destination where you want the repaired RAR file to be saved.
  • After the repairing process has been completed, click OK.

Fix 3 : Download the RAR file Again

One of the causes of the WinRAR checksum issue is an interrupted or incomplete download operation. As a result, redownloading the RAR archive may be worthwhile to try in order to eliminate this problem. It is recommended that you save the file to a different location than the one where you first saved it.

Fix 4: Check with Antivirus Software

Without a doubt, leaving your device unprotected can lead to a variety of problems, including problems with your RAR archives. If you’ve observed that your antivirus isn’t reacting along with WinRAR, you should double-check if your Antivirus software is old dated or not and update it with the latest version.

Fix 5: Repair RAR Chksum Error In The Encrypted File Using Remo Repair RAR Tool

  • Download and install the Remo Repair RAR tool on your Windows to fix Checksum error in WinRAR.

  • Launch the tool and click on the Browse button to select the corrupt RAR file that is showing checksum error.
  • Click on the Repair option to start repairing the corrupt RAR files with a checksum error.
  • Once the RAR file repair process is completed, you can extract and access .rar files without any error.
  • Now, click on the Save button to restore the repaired RAR file in your desired location.
  • Источник

    Remissio


    • #1

    при попытке открыть WINRARом — пишет Checksum error in the encrypted file… Corrupt file or wrong password.
    путем нажатия Repair archive починить не выходит((
    а там очень очень нужная информация… помогите советом пожалуйста

    • #2

    Поставьте последнюю версию winrar, если не поможет, то уже мало чего поможет.

    LeonidB


    • #3

    Попробуйте поискать в Гугле программы типа archive recovery. Иногда помогает.

    suntory


    • #4

    А пароль известен и правильно введен?

    svlasov


    • #5

    Поставьте последнюю версию winrar

    Присоединюсь к этому мнению. Встречались архивы, которые распаковывались только новейшей версией. Можно, кстати, попробовать и консольную версию (не старую, само собой).

    JAW


    • #6

    Если пароль «потерян», то можно забыть… С WinRar’ом не один подборщик паролей считай не работает, если больше 5-6 символов, только по словарю.

    George

    George

    I wish I was a monster you think I am


    George

    George

    I wish I was a monster you think I am


    • #9

    Не надо сравнивать теплое с мягким. Когда длина пароля переваливает за десяток символов прямой перебор курит в сторонке.

    George

    George

    I wish I was a monster you think I am


    • #10

    Если очень сильно захотеть можно в космос полететь. Новопассит и ждать.

    JAW


    • #11

    Адобы рыдают годами, что пдфы сломаны, а тут какой-то Винрар, тююю

    Жора. Зипы и прочие ломаются на мелких файлах в архиве.
    Солидовский RAR нужно распаковать весь, это время, причём порой существенное.

    George

    George

    I wish I was a monster you think I am


    • #12

    @JAW
    — Мама, Вы хотите жареной рыбы?
    — Хочу, сынок.
    — Ну так встаньте и пожарьте.
    — Да ты что, сынок, я ж парализована.
    — Ну так лежите и не бухтите!

    Про космос повторить?

    Валера1966


    • #13

    Попытаться найти конторы или конторы при Конторе либо наискосок от управления на букву слева от клавиши «Е» на клаве, которые за плату малую взломают всё вдребезги и напополам.

    JAW


    • #14

    @GeorgeS,
    Ломал я Зипы ещё в Фидошные времена.
    А вот забытые пароли Рар’а мне не удаётся снять и сейчас.
    И даже не с солидовских архивов

    George

    George

    I wish I was a monster you think I am


    • #15

    @JAW
    Мы не знаем природу рара от ТС. Не знаем пароль. Но ясно одно, что уже прошло несколько часов времени без подбора пароля. Говорить легко, что-то делать сложнее.

    TRANTOR


    • #16

    • crackme.rar

      692 байт

      · Просм.: 309

    Remissio


    • #17

    Поставьте последнюю версию winrar, если не поможет, то уже мало чего поможет.

    пробовала и последнюю версию поставить — не помогло((

    Remissio


    • #18

    А пароль известен и правильно введен?

    пароль был дан вместе с файлом на сайте, вероятность что он есть конечно, но она явно меньше той, что архив мог повредиться при загрузке в интернет(

    Remissio


    • #19

    Попробуйте поискать в Гугле программы типа archive recovery. Иногда помогает.

    RecoveryToolbox — не помог((

    Valentin


    • #20

    Присоединюсь к «бывалым». Больше 6 символов -бестолку. На собственный архив с «наверное 9 символьным» паролем убил три недели.
    Результат — не взломал.

    Старые версии WinRAR при вводе неправильного пароля перед распаковкой зашифрованных архивов не предлагали пользователям ввести его заново, и начинали извлечение файлов. Само собой, процесс заканчивался с ошибкой контрольной суммы, из которой было не ясно в чем дело – в неверно введенном пароле или в повреждении самого архива.

    Ошибка контрольной суммы в зашифрованном файле в WinRAR

    В последней версии WinRAR такой проблемы нет – установите ее и попробуйте распаковать проблемный архив снова. Если теперь прежний пароль не подходит, и разархивация не начинается, значит с архивом все в порядке. Осталось только вспомнить правильный пароль.

    Если же распаковка вновь заканчивается диагностическим сообщением об ошибке контрольной суммы, значит часть или все файлы в архиве уже повреждены или повреждаются в процессе извлечения и сохранения на диск.

    Протестируйте оперативную память и жесткие диски компьютера на потерю байтов информации, попробуйте извлечь файлы на другой носитель (другой HDD или флешку).

    Если с «железом» проблем не обнаружится, откройте WinRAR, выберите поврежденный архив и нажмите кнопку «Исправить» на верхней панели.

    Исправить

    В следующем окне нажмите ОК, чтобы начать восстановление.

    Восстановление

    P.S. Если поврежденный архив был скачан с интернета или скопирован с другого компьютера на флешку, в редких случаях помогает его повторная загрузка или копирование.

    У меня есть защищенный паролем RAR-файл, который я создал с помощью WinRAR. Я хотел добавить другой файл к нему, однако способ, которым я это сделал, в конечном итоге повредил файл. Теперь, если я открою его и введу свой пароль, я получу это:

    !   E:area51_record02-1.rar: Checksum error in the encrypted file E:area51_record02-1.rar. Corrupt file or wrong password.
    !   E:area51_record02-1.rar: No files to extract
    

    Итак, мой вопрос, есть ли способ отменить это? Ничто из того, что я сделал, не сработало. Извлечение его с сохранением битых файлов ничего не сделало. Ремонт WinRAR ничего не сделал. Я попытался использовать Recovery Toolbox for RAR, который ничего не делал, он просто очень медленно сканировал и не делал никакого прогресса.


    Теперь точно, что я сделал. В моем файле RAR есть куча папок и файлов. Я открыл его, дважды щелкнув по нему, который не извлекается, а открывается внутри WinRAR. Затем я перетащил свой новый файл в это окно, и все оказалось в порядке, я увидел свой файл там и все. Когда я закрыл окно и попытался открыть его снова, я получил сообщение об ошибке, которое вы видите выше. У меня нет резервной копии RAR, поэтому я надеялся, что смогу изменить то, что сделал я.

    Summary:
    Checksum error in RAR files is one of the most annoying errors as it holds the extractions of contents from the zipped folder. Do not worry about your stuck files! This article brings you the easiest and free solutions to fix the WinRAR checksum error.

    WinRAR Checksum Error

    WinRAR Checksum error appears on the screen when some bytes of relevant information are missing from the file or the file header or RAR archive is corrupted.

    Some of the common reasons that lead to the corruption in RAR files and causes checksum error in RAR files are listed below:

    Reasons behind Checksum Error in WinRAR files

      • One of the usual errors could be interruptions caused during the RAR files downloading process.
      • Bad sectors on the drive also cause file corruption and leads to the checksum error.
      • Other reasons like virus intrusion and extracting files from unreliable tools also causes checksum error in WinRAR files.

    WinRAR checksum error can be fixed with the help of 2 different approaches.

        1. Fix Checksum error using the manual methods

    Method 1: Verify the “Keep broken files” check box

    Method 2: Repair the Archive with WinRAR

        1. Make use of a Dedicated RAR repair tool to fix WinRAR Checksum error

    Fix the Checksum error in RAR or Zip compressed files

    To the fix the checksum error in WinRAR file, follow the methods mentioned below as instructed and verify if the error exists at the end of the process.

    Verify the checkbox ‘Keep the Broken Files’

    Keep broken files, is an option available on the WinRAR application that you use to extract the files. The advantage of ticking this option is, it ignores the corruption in the file and helps you in extracting the content from the zip folder. Follow the below given steps to extract files without an error message.

    • Firstly, right click on the Zip or RAR compressed file
    • Select Extract Files from the options
    • Tick mark Keep Broken Files located in Miscellaneous tab
    • Click Ok When you choose the destination where it should be extracted to
      Fix checksum error in .rar files

    Note: The file will be extracted to the destined location but will still display the same “checksum error”. Ignore the error and open the file. You will see successfully unzipped files.

    This method works fine if you are focusing on single file corruption. If there is multiple header corruption on the RAR file, the method could fail to open the file.

    In such cases, the complete archive needs to be repaired. You can make use of inbuilt tool or any trusted repair tool to fix the corruption in the RAR files.

    Repair Corrupt RAR files to Fix Checksum error

    To repair checksum error in WinRAR files, initially, you need to download and install WinRAR on your computer. WinRAR has the inbuilt option which helps you to fix checksum error and repair the corrupt file. Follow the steps below to repair the archive.

    1. Right-click on your corrupted RAR or ZIP file
    2. Select Open with WinRAR from the menu
      Open with WinRAR
    3. When WinRAR opens, click the Tools menu -> Repair archive.
      open repair archive
    4. Select the destination location where the repaired RAR or ZIP file has to be saved by clicking on the Browse
      repair rar file
    5. Let the archive type remain unchanged and click OK.
    6. After the repairing process of the archive, click the Close

    Note: The inbuilt repair process helps you fix only the minor corruption in the file.  If your files are severely corrupted or damaged and if there is a presence of bad sectors on the drive, this method would not be the effective method.

    Also, it directly works on your original files that might increase the file corruption. To fix any errors and repair the complete RAR files, all you need is a professional RAR file repair tool.

    SFWare RAR File Repair tool is the most recommended software to fix the WinRAR checksum error. The added advantage of using the tool is, it doesn’t alter the original content of the file and works on the copy of the file. The tool also helps you in extracting the encrypted RAR files without any hassle. Try the software for free and fix the checksum error in WinRAR files

    Free Download for Windows

    How to Fix .rar File Showing Checksum Error?

    To fix the WinRAR checksum error or CRC error, download and install the SFWare Repair RAR File Software. Launch the application and follow the steps mentioned below.

    •  In the main screen, use Browse option to select the error causing corrupt or damaged file
      main screen of the tool to repair MS word file
    • Click on Repair to extract corrupt RAR file
    • Software initializes the scanning process to repair the corrupt RAR file
    • Once the scanning completes, you will be able to see the repaired RAR file on the screen
      preview the repaired MS word file
    • Choose the destination to save the fixed WinRAR file and click on Save optionNow, you can extract the RAR files and open it without any error. If you are facing trouble in extracting large .rar files, you can make use of the SFWare tool to fix and extract Large RAR files.
      Conclusion:

      With the help of above-mentioned methods, you will be able to fix the checksum error in WinRAR files. You can prevent the checksum error in RAR files by making use of trusted antivirus and providing enough space to the downloaded RAR files.

      If you were able to fix WinRAR checksum error with the help of the article, do share your thoughts in the comments section below.

    If you were able to fix WinRAR checksum error with the help of the article, do share your thoughts in the comments section below.

    There must be taken into account that WinRAR.exe (Windows GUI version) and Rar.exe (Windows console version) support two different types of encryption on creating a RAR archive:

    1. file data encryption and
    2. encryption of really all data including file names, sizes, attributes, comments and other blocks.

    In first case a RAR archive file can be opened to get the list of file names, their original file sizes, their packed sizes, the last modification dates, etc. without the need of the password which means with decryption of any data.

    In second case the password is even necessary to get the list of files and folders inside the archive file and all the other metadata.

    There must be also taken into account if a RAR archive file is in RAR format 4 or in RAR format 5. The reason is explained below.

    I created on Windows three RAR archive files using licensed Rar.exe.

    1. The RAR file FileDataEncrypted.rar with just file data encrypted using the command line:

      "%ProgramFiles%WinRARRar.exe" a -cfg- -ep -idq -m5 -ma5 -mt1 -psecret FileDataEncrypted.rar "%ProgramFiles%WinRARRar.txt"
      
    2. The RAR file FullyEncrypted.rar with all data encrypted using the command line:

      "%ProgramFiles%WinRARRar.exe" a -cfg- -ep -idq -m5 -ma5 -mt1 "-hpmore secret" FullyEncrypted.rar "%ProgramFiles%WinRARRar.txt"
      
    3. The corrupted RAR file CorruptedArchive.rar with using first the command line:

      copy FileDataEncrypted.rar CorruptedArchive.rar
      

      Then I opened the file CorruptedArchive.rar in text editor UltraEdit in hex edit mode and modified 16 bytes at hexadecimal offset 2000 to hexadecimal value FF and saved the modified file.

    See the text file Rar.txt for the meaning of the uses switches.

    The three RAR archive files are all in RAR format 5 (switch -ma5).

    Then I executed in the Windows command prompt window a batch file with the following command lines:

    @echo off
    "%ProgramFiles%WinRARUnRAR.exe" x -idcdp -o+ -psecret FileDataEncrypted.rar
    echo Exit code of FileDataEncrypted.rar extraction with correct password is: %ERRORLEVEL%
    "%ProgramFiles%WinRARUnRAR.exe" x -idcdp -o+ -pwrong FileDataEncrypted.rar
    echo Exit code of FileDataEncrypted.rar extraction with wrong password is: %ERRORLEVEL%
    "%ProgramFiles%WinRARUnRAR.exe" x -idcdp -o+ "-hpmore secret" FullyEncrypted.rar
    echo Exit code of FullyEncrypted.rar extraction with correct password is: %ERRORLEVEL%
    "%ProgramFiles%WinRARUnRAR.exe" x -idcdp -o+ "-hpwrong secret" FullyEncrypted.rar
    echo Exit code of FullyEncrypted.rar extraction with wrong password is: %ERRORLEVEL%
    "%ProgramFiles%WinRARUnRAR.exe" x -idcdp -o+ -psecret CorruptedArchive.rar
    echo Exit code of CorruptedArchive.rar extraction with correct password is: %ERRORLEVEL%
    "%ProgramFiles%WinRARUnRAR.exe" x -idcdp -o+ -psecret CorruptedArchive.rar
    echo Exit code of CorruptedArchive.rar extraction with wrong password is: %ERRORLEVEL%
    

    The output was:

    Extracting from FileDataEncrypted.rar
    
    Extracting  Rar.txt                                                   OK
    Exit code of FileDataEncrypted.rar extraction with correct password is: 0
    
    Extracting from FileDataEncrypted.rar
    
    Incorrect password for Rar.txt
    Exit code of FileDataEncrypted.rar extraction with wrong password is: 11
    
    Extracting from FullyEncrypted.rar
    
    Extracting  Rar.txt                                                   OK
    Exit code of FullyEncrypted.rar extraction with correct password is: 0
    
    Incorrect password for FullyEncrypted.rar
    Exit code of FullyEncrypted.rar extraction with wrong password is: 11
    
    Extracting from CorruptedArchive.rar
    
    Extracting  Rar.txt
    Rar.txt              - checksum error
    Exit code of CorruptedArchive.rar extraction with correct password is: 3
    
    Extracting from CorruptedArchive.rar
    
    Extracting  Rar.txt
    Rar.txt              - checksum error
    Exit code of CorruptedArchive.rar extraction with wrong password is: 3
    

    The text file Rar.txt explains the exit values at bottom with:

       Code   Description   
    
        0     Successful operation.
        1     Non fatal error(s) occurred.
        2     A fatal error occurred.
        3     Invalid checksum. Data is damaged.
        4     Attempt to modify an archive locked by 'k' command.
        5     Write error.
        6     File open error.
        7     Wrong command line option.
        8     Not enough memory.
        9     File create error
       10     No files matching the specified mask and options were found.
       11     Wrong password.
       12     Read error.
      255     User stopped the process.
    

    The usage of the wrong password on the command line for the two valid RAR archives results in an output of the error message Incorrect password for ... of the archived file inside the RAR archive file (first case) or the entire RAR archive file (second case) and an exit with the value 11.

    The error message is always checksum error and the exit code is always 3 on RAR archive file being corrupted independent on using correct or wrong password.

    The RAR archive format 5 makes it possible for the RAR extraction code to determine if the password for decryption is wrong or the archive file itself is corrupted.

    I created next the three RAR archive files once again, but using the switch -ma4 instead of -ma5 to create two valid and a corrupted RAR archive files in RAR archive format 4.

    Next I executed the same batch file for extraction as before. The output was this time:

    Extracting from FileDataEncrypted.rar
    
    Extracting  Rar.txt                                                   OK
    Exit code of FileDataEncrypted.rar extraction with correct password is: 0
    
    Extracting from FileDataEncrypted.rar
    
    Extracting  Rar.txt
    Checksum error in the encrypted file Rar.txt. Corrupt file or wrong password.
    Exit code of FileDataEncrypted.rar extraction with wrong password is: 3
    
    Extracting from FullyEncrypted.rar
    
    Extracting  Rar.txt                                                   OK
    Exit code of FullyEncrypted.rar extraction with correct password is: 0
    
    Checksum error in the encrypted file FullyEncrypted.rar. Corrupt file or wrong password.
    No files to extract
    Exit code of FullyEncrypted.rar extraction with wrong password is: 3
    
    Extracting from CorruptedArchive.rar
    
    Extracting  Rar.txt
    Checksum error in the encrypted file Rar.txt. Corrupt file or wrong password.
    Exit code of CorruptedArchive.rar extraction with correct password is: 3
    
    Extracting from CorruptedArchive.rar
    
    Extracting  Rar.txt
    Checksum error in the encrypted file Rar.txt. Corrupt file or wrong password.
    Exit code of CorruptedArchive.rar extraction with wrong password is: 3
    

    It can be seen on the error messages as well as on always same exit code 3 that it is not possible for the extraction code to determine if the password is wrong or there is a corruption of the archive file data on RAR archive file being in format 4.

    The currently latest UnRAR C++ source code can be downloaded from the WinRAR and RAR archiver addons page as it is freeware, see license.txt in the source archive file. There are also UnRAR binaries available for download many platforms on same page.

    UnRAR and 7-Zip used on Ubuntu output the same error message as UnRAR.exe and of course also Rar.exe on Windows on extraction of a RAR archive file in RAR format 4 being either corrupted or on which the wrong password is entered by the user. It is not possible to find out the cause of the checksum error as it can be seen above. UnRAR and 7-Zip are compiled with using the UnRAR source code.

    The Ubuntu documentation page for File Roller in chapter Supported Formats in the section Not installed by default in Ubuntu the information that format RAR is supported only by File Roller with using unrar (non-free) or unrar-free package to extract .rar archives. So it depends on how old is the extra installed unrar package for extraction of RAR archive file and how new is the RAR archive file.

    The question in title is:

    Can Archive Manager distinguish between wrong password and corrupted file?

    The answer is:

    Yes, if the used UnRAR code is up-to-date and the RAR archive file is in RAR format 5.
    No, if the used UnRAR code is pretty old or the RAR archive file is in RAR format 4.

    Понравилась статья? Поделить с друзьями:
  • Chevrolet lacetti ошибка датчик распредвала
  • Checksum error assetto corsa
  • Chevrolet lacetti ошибка p0107
  • Chevrolet cruze ошибка код 84
  • Chevrolet cruze ошибка p2723