GiliSoft File Lock Pro

Protect existing RAR archives and their source folders from unwanted access, changes, loss, or exposure on a Windows PC.

  • Hide RAR files, folders, or complete drives
  • Lock archives against unauthorized opening
  • Prevent unwanted changes and monitor protected folders
Protect RAR archives with GiliSoft File Lock Pro

How to Lock a RAR File with Password in Windows 11/10

Updated on July 24, 2026   |   By GiliSoft Editorial Team

A RAR file can hold many documents, photos, videos, project files, or business records in one compressed archive. Compression makes the collection easier to store and send, but a normal RAR archive is not private until access protection is added.

This guide explains three different ways to protect a RAR file: add a password while creating the archive, use Windows account-based encryption, or apply GiliSoft File Lock Pro to an existing .rar file and its original source folder.

What Is a RAR File, and What Does a RAR Password Protect?

RAR and ZIP are archive formats created by compression software. A single RAR file may contain dozens or hundreds of source files, making it useful for packaging a project, reducing storage use, or sending a collection as one item.

Example of a RAR archive fileA RAR archive combines many source files into one compressed package.

A password-encrypted RAR archive prevents extraction and viewing without the password. It does not automatically hide the archive, protect uncompressed copies left elsewhere, or stop someone from deleting the archive itself. Those are separate protection goals.

Archive passwordControls whether the compressed contents can be opened or extracted.
File hidingKeeps the .rar file out of ordinary File Explorer and search views.
File lockingBlocks unauthorized opening of the existing archive.
Change protectionAllows controlled use while preventing unwanted modification, rename, or deletion.

Method 1. Add a Password When Creating the RAR File with WinRAR

If you are creating a new RAR archive, adding the password inside the compression program is the most direct method. The encrypted archive can then be moved or sent as one password-protected file.

  1. Select the files or folder you want to compress, right-click the selection, and choose Add to archive.
  2. Choose RAR as the archive format and configure the archive name and compression options.
  3. Select Set password, enter a strong password twice, and enable filename encryption if that option is appropriate for the archive.
  4. Create the archive, open it again, and test the password before deleting or moving any unprotected source files.
Check the source files: creating an encrypted RAR archive does not remove the original documents, pictures, or folders. Protect or securely remove those originals separately when they should no longer remain exposed.

Method 2. Encrypt an Existing RAR File with Windows EFS

Windows Encrypting File System can encrypt an existing RAR file under the current Windows account. This is account-and-certificate-based protection rather than a portable archive password.

  1. Right-click the RAR file and select Properties.
  2. On the General tab, choose Advanced.
  3. Enable Encrypt contents to secure data, confirm the change, and apply it to the file.
  4. Back up the Windows encryption certificate and recovery key to a separate protected location.
Use EFS for local Windows account protection. Use a RAR password when the archive must travel to another computer and be opened with a shared password.

Method 3. Lock an Existing RAR File with GiliSoft File Lock Pro

File Lock Pro protects an existing RAR file without pretending to be the archive creator. It is useful when the archive must be hidden from normal browsing, blocked from opening, protected from changes, or encrypted into a separate protected GFL or EXE package.

HideRemove the RAR file, its source folder, or a complete drive from ordinary Explorer and search views.
LockRequire authorized access before the existing archive can be opened.
ProtectKeep the file available for controlled use while preventing unwanted modification, rename, or deletion.
EncryptPlace the RAR file inside a password-protected GFL or EXE package for storage or delivery.

Lock the RAR file directly

  1. Open GiliSoft File Lock Pro and enter the master password.
  2. Select Local Disk > Locking File.
  3. Choose Lock Files/Folders and add the .rar archive.
  4. Confirm the file appears in the protected list, then test it from File Explorer.
Lock an existing RAR archive with GiliSoft File Lock ProAdd an existing RAR file to the password-controlled locking list.

Encrypt the archive into a protected package

Open More Tools > File Encryption, add the RAR file, and choose the protected output that fits your storage or delivery needs.

Encrypt a RAR file into a protected package with GiliSoft File Lock ProCreate a protected package from an existing RAR file or folder.

Protect the archive and the original source files

File Lock Pro can apply separate rules to the .rar archive and to the uncompressed folder that was used to create it, reducing the chance that an exposed duplicate remains behind.

GiliSoft File Lock Pro

Which RAR Protection Method Should You Choose?

MethodMain protectionBest usePortable password
WinRAR passwordEncrypts archive contentsCreating and sharing a new protected RARYes
Windows EFSEncrypts the existing file for a Windows accountLocal account-based storageNo
GiliSoft File Lock ProHide, lock, protect, or package the existing RARLocal privacy and control over archives plus source foldersYes, when using a protected package

For a RAR file that will be emailed or transferred, an archive password is straightforward. For a RAR file stored on a shared Windows computer, File Lock Pro adds the stronger local controls that the archive format itself does not provide.

Frequently Asked Questions

Does changing a RAR file extension protect it?

No. Renaming the extension only obscures the file type. It does not encrypt the contents or add access control.

Can File Lock Pro create a RAR archive?

This guide uses WinRAR or another archive utility to create the .rar file. File Lock Pro protects the completed archive and its source files through hiding, locking, change protection, or protected packages.

What happens if I forget the RAR password?

Strong RAR encryption is designed to resist unauthorized recovery. Keep the password in a secure password manager and verify it before removing unprotected originals.

Should I delete the original folder after creating the protected RAR?

Only after testing the archive and confirming that a separate protected backup exists. If the original folder must remain, lock or encrypt it as well.

Protect existing RAR files and source folders

Use GiliSoft File Lock Pro to hide, lock, protect, or encrypt archives stored on a Windows PC.

View GiliSoft File Lock Pro