If you remember the password of the RAR file, you can easily remove WinRAR password. Right-click on the file and choose Extract files to enter the correct password. Then, you can compress these files again without setting any password. If you forget the password of the RAR file, try the following two methods to remove RAR password with CMD.

Method 1: Remove WinRAR Password Using Command Prompt
You can use the command line tool in the Windows operating system. Instead of directly running command lines, you need to create a bat file first. Work with the following steps to have a try.
Step 1: Open a TXT document with Notepad, then you can copy and paste the following content to the TXT file.
@echo off
title WinRar Password Retriever
copy “C:\Program Files\WinRAR\Unrar.exe”
SET PASS=0
SET TMP=TempFold
MD %TMP%
:RAR
cls
echo.
SET/P “NAME=File Name : “
IF “%NAME%”==”” goto ProblemDetected
goto GPATH
:ProblemDetected
echo You can’t leave this blank.
pause
goto RAR
:GPATH
SET/P “PATH=Enter Full Path (eg: C:\Users\Admin\Desktop) : “
IF “%PATH%”==”” goto PERROR
goto NEXT
:PERROR
echo You can’t leave this blank.
pause
goto RAR
:NEXT
IF EXIST “%PATH%\%NAME%” GOTO SP
goto PATH
:PATH
cls
echo File couldn’t be found. Make sure you include the (.RAR) extension at the end of the file’s name.
pause
goto RAR
:SP
echo.
echo Breaking Password…
echo.
:START
title Processing…
SET /A PASS=%PASS%+1
UNRAR E -INUL -P%PASS% “%PATH%\%NAME%” “%TMP%”
IF /I %ERRORLEVEL% EQU 0 GOTO FINISH
GOTO START
:FINISH
RD %TMP% /Q /S
Del “Unrar.exe”
cls
title 1 Password Found
echo.
echo File = %NAME%
echo Stable Password= %PASS%
echo.
echo Press any key to exit.
pause>NUL
exit
Step 2: Choose File > Save As. In the following window, you can rename the file and change the file extension to .bat. Additionally, select All Files (*) from the dropdown menu of Save as type.

Step 3: Click Save to create the bat file.
Step 4: Double-click on the bat file to open it. A command prompt window will be opened.
Step 5: You should type the full name of the encrypted RAR file and hit Enter. Then, input the full file location of the RAR file and hit Enter. The computer will start to crack a WinRAR password automatically.

The process might take a few minutes depending on the length and complexity of the password. Once the password is found, you can copy and paste it to decrypt the file.
Method 2: Remove WinRAR Password with Third-party Tools
If the Command Prompt doesn’t find the password of the RAR file, you can try third-party software that is professionally designed to extract an RAR file without password. There are several tools, such as cRARk, RAR Password Genius, RAR Password Refixer, etc. You can choose one based on your requirements.
Further Reading: Recover RAR Files with MiniTool Power Data Recovery
Archive files are welcome when saving and arranging a large amount of files. But at the same time, if the compressed file is lost, you may lose various data at once. How can you recover RAR files if they are lost or deleted?
MiniTool Power Data Recovery can be an ideal option. It is able to restore various types, including documents, pictures, videos, audio, zipped folders, etc. As long as the lost data is not overwritten, professional data recovery software has the highest rate of successful data recovery. You can get MiniTool Power Data Recovery Free on your Windows computer to accomplish a deep scan. If the required RAR file is found, recover it within a few steps.
MiniTool Power Data Recovery FreeClick to Download100%Clean & Safe

Bottom Line
Forgetting passwords is a common but annoying experience. You can try to remove WinRAR password by using Command Prompt with the instructions in this post. Hope this post helps you resolve the problem in time.
User Comments :