home_icon Created with Sketch. Home > RAR > How to Crack RAR/WinRAR Password with CMD

How to Crack RAR/WinRAR Password with CMD

author_icon William Wilson time_icon Last updated: Apr 24, 2023 12:00 am tips_icon RAR

Hello everyone, I downloaded a WinRAR file from the Internet. And when I am trying to extract the file, it says that the file is password protected. Is there any way to crack the WinRAR password by using CMD?

If you have encountered the same situation, then you will find answers in this article. Not so many people know how to crack RAR/WinRAR password with CMD, unless they are tech savvy. Therefore, in this post, we will provide you with a step-by-step guideline.

Part 1: How to Crack RAR/WinRAR Password with CMD

Cracking password of RAR/WinRAR file with Command Prompt is a totally free method. But it's cumbersome for common users since it involves entering a few command lines. What's important, your computer and data will be damaged if you make any mistake when entering the command lines. Therefore, please think twice before you decide to use this method.

Here is a detailed guide to follow to unlock your RAR file using the CMD method.

Step 1: Search for code of batch script online. Copy and paste it into Notepad.

create batch script file

Proceed to save it as a Cracker.bat.

cracker bat

Step 2: Locate the bat file and double click it to open the Command Prompt window.

Step 3: Input the file name. Press "Enter" to proceed to file location input.

Step 4: Finally, press "Enter" and the cracked file password will appear below the other inputs.

rar password cracker

Part 2: What If Command Prompt Is Not Workable for You

CMD may be the quick option to opt for but may not work for all cases. Besides, when compared to other methods, it's complex to use with multiple commands lines. Therefore, you ought to have alternative RAR password cracker options.

The various workable alternative solutions include Notepad, online free password cracker and offline password recovery software. They all vary in terms of effectiveness and complexity of password cracking.

Method 1. Use Passper for RAR to Crack RAR/WinRAR Password -- High Success Rate

Passper for RAR is a professional offline RAR password cracker that is most suitable for complex password cracking. Besides, its simple user interface makes it easy for common users to feel the professional aspect of the software.

Below are the detailed features of Passper for RAR:

  • Trustworthy brand. Passper being a sub-brand of iMyFone which is a widely recognized tech company with testimonials from Macworld, TechRadar, PCWorld, , Cult of Mac etc.

  • High recovery rate. Passper for RAR contains 4 powerful attack modes include Combination Attack, Dictionary Attack, Mask Attack and Brute Force Attack, which greatly increase the chance of password recovery.

  • Fast recovery speed. Based on multicore CPU and GPU acceleration technology, Passper for RAR can check passwords in high speed.

  • Guaranteed data security. By using Passper for RAR, all your personal data is secured. You do not have to worry about data loss or data leakage.

Having recognized what Passper for RAR can offer, here is an on-point guide on how to achieve its functionality specs. Begin by installing Passper for RAR software from its website in your browser.

Free Download Buy Now

Step 1 Launch Passper for RAR and click the "+" icon on the interface to import the encrypted file from your computer storage. Proceed to select the recovery mode based on whether you can partially remember the password or not. Click "Next" to move to the next phase.


Step 2 After filling in the necessary information, click the "Recover" button. Instantly, the software will begin the recovery process. When the recovery process is completed, you will be notified and can, therefore, copy the password and move on to decrypt your file.

recovered successfully

Method 2. Crack RAR/WinRAR Password with Notepad -- Low Success Rate

If you prefer to use some built-in programs on your computer, then Notepad is a good choice for you. Notepad is a widely used and built-in text file generator and editor program for computers and laptops. It uses a quick trick to bypass WinRAR password for your file in case you forgot the password. However, it's not fully guaranteed to crack the password. The success rate of using this method is relatively low, especially when the password is complex.

To decode a password using the Notepad app, you have to run the file on it and remove the passcode prompt by changing some strings. You can follow the below procedure to do that.

Step 1: Locate the encrypted RAR file and right-click on it. Select the "Open with" option and proceed to choose "Notepad" as your option to open the file.

Step 2: Click the "Edit" menu at the top of Notepad. Choose the "Replace" tab and proceed to replace the strings you wish to.

open replace tab

Step 3: Input the Ûtà and IžCO strings to replace with 5^3tà and IžC_0, respectively. Click the "Replace All" and save the file.

To confirm the functionality of Notepad, open the RAR/WinRAR file using the WinRAR app and you will not be prompted for a password. These strings may vary in effectiveness depending on the file version.

Method 3. Crack RAR Password Online -- Not Recommended

In case you don't want to install any software on your computer or Notepad didn't help you fix the problem, you can use an online RAR password unlocker. There are many available options, but their effectiveness varies. In this case, you can consider LostMyPass RAR password cracker. The tool is free to use if you choose weak recovery; however, if your RAR file is protected with strong password, you need to turn to the paid version.

Although the online tool is convenient to use, this method is not recommended because it may put your data at risk of leakage. If you have decided to use this method, here is a guide on how to crack RAR password using LostMyPass password cracker.

Step 1: Visit the official website of LostMyPass. Choose WinRAR from the FILE TYPES menu.

Step 2: Upload your encrypted file to the website by clicking the "or click here" button. Besides, you can drag from storage and drop to upload.

crack rar password lostmypass

Step 3: Once completed, the password cracking starts immediately. Time taken depends on the complexity of the password, file version and the amount of workload on the recovery side.


Now, you have known some magnificent methods to unlock your RAR/WinRAR files including cracking RAR password using CMD, recovering RAR password online and offline. Certainly you can unlock your encrypted file with above methods. If you have found other workable methods, you are welcomed to leave a comment below.


By William Wilson to RAR

Posted on Apr 24, 2023 ( Updated: Apr 24, 2023)

William Wilson, a blogger who is interested in MS Office software. In the past three years, William has been trying to write articles to help people better understand MS Office software.