GiliSoft File Lock Pro

GiliSoft File Lock Pro adds password-controlled locking to private folders, files, and drives without requiring them to be uploaded or rebuilt as archives.

  • Hide files, folders, and whole drives
  • Lock folders against unauthorized access
  • Monitor folder changes and keep activity logs
GiliSoft File Lock Pro for password protected folders

5 Ways | How to Create a Password Protected Folder in Windows

Updated on July 23, 2026   |   By GiliSoft Editorial Team

Windows lets you create folders in seconds, but it does not provide a universal “set folder password” command for every edition. To protect confidential documents, photos, project files, or family records, you must choose between dedicated folder-locking software, Windows account encryption, an encrypted archive, or a simpler concealment method.

This guide first shows how to create and organize the folder, then compares five ways to protect it. GiliSoft File Lock Pro is the easiest option when an active folder should stay in its current location and require password-controlled access.

Before Protection: Create and Organize the Folder

Start with one clearly named folder. Keeping the files together makes every method below easier to apply and verify.

  1. Open the location where the protected folder should be stored.
  2. Right-click an empty area and choose New > Folder.
  3. Give the folder a clear name that does not reveal sensitive information.
  4. Move or copy the files you want to protect into the new folder.
  5. Open several files to confirm the move completed successfully before applying protection.

Method 1. Create a Password Protected Folder with GiliSoft File Lock Pro

File Lock Pro is the most direct method in this guide. The folder stays where it is, remains easy to manage inside the application, and can be locked, hidden, or protected according to the job.

Best for active folders

Use it for personal photos, client documents, tax records, HR files, project folders, USB folders, external storage, or LAN shared folders that are opened and updated regularly.

GiliSoft File Lock Pro box
  1. Install File Lock Pro from the official GiliSoft download and create the master password.
  2. Open Local Disk and select Locking File.
  3. Click Lock Files/Folders and choose the folder you prepared.
  4. Apply the lock and verify that the folder cannot be opened without authorization.
  5. Use Hiding File instead when the folder should disappear from ordinary browsing.
Password protect a folder with GiliSoft File Lock ProAdd the selected folder and apply password-controlled locking without compressing it.
Why choose this method: it is the only option here that combines direct folder locking with hide mode, external-drive protection, shared-folder locking, folder monitoring, portable encryption, and secure deletion in one interface.

Method 2. Encrypt a Folder with Windows EFS

Encrypted File System (EFS) is built into supported Windows editions. It encrypts files for the current Windows account, but it does not create an independent password prompt for the folder.

  1. Right-click the folder and choose Properties.
  2. Select Advanced on the General tab.
  3. Enable Encrypt contents to secure data.
  4. Apply the change to the folder, subfolders, and files.
  5. Back up the EFS certificate and recovery key when Windows prompts you.
Useful whenYou use a supported Windows edition and want account-based encryption with no additional application.
ImportantEFS availability depends on the Windows edition. Losing the account certificate can make encrypted data inaccessible.

Method 3. Add a Folder to Folder Lock

Folder Lock uses an encrypted locker or protected storage approach. It can suit users who prefer moving sensitive files into a dedicated secure location rather than locking the existing folder in place.

  1. Open Folder Lock and create the required account or master password.
  2. Create or open a secure locker.
  3. Add the prepared folder or move its files into the protected location.
  4. Close the locker and test access before deleting any original copies.
Useful whenYou prefer an encrypted-vault workflow for stored copies of sensitive data.
Consider firstMoving data into a locker is a different workflow from locking an existing working folder where it already lives.

Method 4. Create a Password-Protected Archive with 7-Zip

7-Zip is a practical free option for creating an encrypted archive copy. It is best for sending or storing a folder, not for a folder that changes throughout the day.

  1. Install 7-Zip from its official source.
  2. Right-click the folder and choose 7-Zip > Add to archive.
  3. Select 7z or ZIP as the archive format.
  4. Enter and confirm a strong password.
  5. Enable file-name encryption when supported, then create and test the archive.
Useful whenYou need a free protected copy for transfer, email, or long-term storage.
Consider firstYou must extract and rebuild the archive when files change. The original folder remains unprotected unless removed securely.

Method 5. Use a Batch File to Conceal a Folder

A batch-file locker is frequently described online as folder password protection, but it is not strong encryption. The script usually renames or hides a folder and compares typed text with a password stored inside the script.

  1. Create a text file in the same location as the folder.
  2. Add the folder-locking batch commands and replace the sample password.
  3. Save the file with a .bat extension.
  4. Run it to create or conceal the designated folder.
  5. Run it again and enter the configured text to restore visibility.
Security warning: anyone who opens the batch file in a text editor may be able to read the password or reverse the commands. Use this only for light concealment, never for confidential business or personal data.

Which Password Protected Folder Method Is Best?

MethodBest useReal encryptionDaily convenience
GiliSoft File Lock ProActive local, USB, external, and shared foldersIncludes separate portable encryption toolsHigh
Windows EFSAccount-tied protection on supported editionsYesMedium
Folder LockEncrypted locker or vault storageYes, by featureMedium
7-ZipProtected archive copiesYesLow for active folders
Batch fileBasic concealment experimentsNoLow

Final Checks Before You Rely on the Protected Folder

Create a Password Protected Folder without Repacking It

Use GiliSoft File Lock Pro to lock or hide active folders on local disks, USB storage, external drives, and shared Windows locations.

Download the Official Trial