Home > Article > Software Tutorial > How to set and delete the password for compressed package files?
PHP editor Zimo will introduce you how to set and delete passwords in compressed package files. In our daily use of computers, we often need to compress files for easy transmission and storage. Setting a password can protect file contents from unauthorized access. And when password protection is no longer needed, you also need to know how to remove it. The following will explain in detail how to set and delete passwords in WinRAR and 7-Zip, two common compression software.
Today, let’s take a look at how to set and delete passwords for two commonly used compression software.
Let’s first talk about WinRAR, the most commonly used compression software. It can set a single password and permanent automatic encryption according to different needs.
Setting method:
If you only need to set a password for the current compressed file, we can set the password at the same time when compressing the file.
First, use the mouse to select the file that needs to be compressed, then right-click the mouse and select WinRAR's [Add to compressed file].
After the interface pops up, you can choose the RAR, RAR4 or ZIP format, and then click [Set Password] below; after the interface pops up again, enter the password you want to set in the blank field, and click [OK] to set the password for the compressed file. It's set.
After setting up, the compressed file can still be clicked to open, but when you click on the file inside, a prompt will pop up and you need to enter a password to open the file.
WinRAR can also set up permanent automatic encryption, which means that the password will be automatically set every time you compress a file, without the need to perform encryption operations again.
We can open a compressed file at will through WinRAR, and then click [Settings] under [Options] in the menu bar.
After the new page pops up, click [Create Default Configuration] under [Compression] in the menu bar.
At this time, the same page as setting "Single Encryption" will pop up. After clicking [Set Password], enter the password you want to set in the blank field, and then click [OK].
After the new page pops up again, click [Save Anyway], and then click [Save] on the original page.
After completing the above operation, the password will be automatically set whenever you use WinRAR to compress files.
Delete method:
WinRAR cannot directly delete the password of the compressed file. If protection is no longer needed, we can cancel the password through the "unzip" method.
That is, decompress the compressed file with a password to a new folder, and then recompress it into a compressed file without a password.
When decompressing, you need to enter the originally set password to decompress.
Here is another good compression software, which is also a commonly used software.
The operation is relatively simple. After using this software to compress the file, open the compressed package, then click the [Password] option in the menu. When the page pops up, select [Set a new password], enter the password you want to set, and click [OK] 】After that, the password of the compressed file is set.
If you want to cancel the password, select [Clear existing password].
After the new page pops up, enter the original password in the blank field, click [OK], and the password of the compressed file will be cleared.
It should be noted that whether it is WinRAR or other software, the reason for deleting the original password is because you no longer need to protect the file. You do not want to have to enter a password every time you open the compressed file, so you need to cancel the "enter password" step. If you forget your password, you cannot use the above method because there is no password retrieval option in the software.
We can try the password a few more times. If we really forget it, we might as well try using other RAR or ZIP tools, such as PepsiCo RAR Password Recovery Tool or PepsiCo ZIP Password Recovery Tool, which can help us retrieve RAR compressed files. Or the "open password" of the ZIP compressed file.
According to different compression formats, select the corresponding tool. PepsiNiu RAR password recovery tool is suitable for RAR compressed files, and PepsiNiu ZIP password recovery tool is suitable for ZIP compressed files and 7Z compressed files.
The above is the detailed content of How to set and delete the password for compressed package files?. For more information, please follow other related articles on the PHP Chinese website!