GiliSoft USB Encryption

Keep private folders and shareable files on the same USB drive

Create a password-protected private area for sensitive folders while leaving ordinary files available in the public area.

GiliSoft USB Encryption with password-protected private storage on a USB drive

How to Lock a Folder on a USB Drive

By GiliSoft • Updated September 28, 2026

A normal folder on a flash drive has no dependable password of its own. For portable privacy, create protected storage on the USB drive, place the sensitive folder inside it, and verify access before carrying or sharing the device.

Quick answer

Use GiliSoft USB Encryption when the same USB drive needs both shareable files and private folders. Create a password-protected private area, open it, move the sensitive folder inside, then close and test it. Do not rely on the Windows Hidden attribute: it changes visibility, not access protection.

Choose the protection scope first

“Lock a USB folder” can describe three different jobs. Choosing the right scope prevents unnecessary whole-drive changes and avoids buying a device-control tool for a file-privacy task.

What you needRecommended approachBest fit
Keep selected folders private while other USB files stay publicGiliSoft USB EncryptionCreate public and password-protected private areas on one removable drive
Send a protected copy of one folder as a portable packageGiliSoft File Lock ProCreate encrypted output instead of changing the original USB layout
Block or approve USB devices on a Windows computerGiliSoft USB LockControl device access on the PC; it does not password-protect a folder
Important distinction: folder privacy, portable encrypted output, and PC-side USB control are different tasks. This guide focuses on the first one.

Prepare the USB drive before adding protection

  1. Back up irreplaceable files.

    Copy important content to another healthy device before changing the USB layout. Encryption is not a backup.

  2. Confirm the correct drive.

    Check its drive letter, capacity, and label in File Explorer so you do not select another removable disk.

  3. Check available space.

    The private area must be large enough for the folder now and for expected growth later.

  4. Close files stored on the USB drive.

    Finish edits and close applications using the device before creating protected storage.

Create a password-protected private area

Install and open GiliSoft USB Encryption on Windows, connect the USB drive, and select the removable device you verified. Choose how much space should be reserved for private files, then set a strong password that is not stored on the drive itself.

GiliSoft USB Encryption screen for creating protected storage on a USB drive
Select the intended USB drive and create private storage with enough room for the folders you need to protect.

The remaining public area can continue to hold files that do not require a password. This is useful when the drive must carry both confidential documents and ordinary handoff material.

Move the folder into the private area

  1. Open the protected area.

    Enter the password in GiliSoft USB Encryption and wait for the private storage to become available.

  2. Copy the folder first.

    For important material, copy rather than move on the first attempt. Open several files in the protected copy before removing the original.

  3. Verify the contents.

    Check file counts, subfolders, and representative documents, photos, archives, or project files.

  4. Remove the public copy.

    After verification, delete any unprotected duplicate from the public area if it should no longer remain accessible.

Opening a password-protected private area with GiliSoft USB Encryption
Open the private area with the correct password before adding or using protected folders.

Close and verify the protection

  1. Close the private area.

    Use the product's close or lock action after saving your files.

  2. Safely eject the USB drive.

    Wait for pending writes to finish before disconnecting the device.

  3. Reconnect and test it.

    Confirm that public files remain available and that the private folder cannot be opened without the password.

  4. Test the intended Windows PC.

    Organizational security policies may restrict removable drives or portable software. Verify the real destination computer before relying on the workflow.

Unlocked private storage containing protected USB folders
After unlocking, verify that the protected folder and its files open normally.

Avoid these common USB folder protection mistakes

  • Only hiding the folder. Hidden and system attributes can be reversed and do not encrypt the contents.
  • Keeping the password beside the drive. Store it in an approved password manager or another separate, controlled location.
  • Moving the only copy immediately. Verify the protected copy before deleting the source, especially for large folders.
  • Removing the drive while files are open. Close the private area and safely eject the device to reduce corruption risk.
  • Treating encryption as hardware repair. If the drive disconnects, reports errors, or becomes unreadable, stop and address the storage problem first.

USB folder lock FAQ

Can I lock only one folder on a USB drive?

Yes. Create a private area with GiliSoft USB Encryption and move only that folder into it. Other files can remain in the public area.

Can a USB drive contain both public and private files?

Yes. GiliSoft USB Encryption is designed to retain a normal public area and add password-protected private storage on the same drive.

Will the protected folder open on another Windows PC?

Test the drive on every Windows computer you intend to use. Access requires the correct password and a compatible environment; company policies may restrict removable software or drives.

What happens if I forget the password?

Do not assume that protected data can be recovered. Store the password or approved recovery information separately from the USB drive.

Is hiding a folder enough to protect it?

No. Hidden and system attributes mainly change visibility in File Explorer. They are not a substitute for password-protected encryption.

Keep private folders and public files on one USB drive

Create protected storage for sensitive folders, then close and verify it before carrying or sharing the device.