Rutba Office

How to encrypt a folder on Windows, and what each way protects it from

On Windows Pro, right-click the folder, choose Properties, Advanced, and tick Encrypt contents to secure data. On Windows Home, turn on Device encryption for the whole drive, or use a free tool such as 7-Zip, VeraCrypt or Cryptomator. Which one fits depends on where the files go next.

17 November 2026 · 7 min read

First, what are you protecting it from?

Encryption keeps files unreadable to someone without the key, but each tool draws the line in a different place. Three situations cover most needs, and they call for different tools:

  • The computer or its disk is taken. A stolen laptop, a disk sent for repair, an old computer thrown out. Encrypting the whole drive covers this, and costs nothing once it is on.
  • The files leave the computer. A folder on OneDrive, Dropbox or Google Drive, a USB stick, an attachment. Whole-drive encryption does not cover this at all, because a file is read as plain the moment it is copied off the drive.
  • Someone else uses the computer while you are signed in. Anything that unlocks with your Windows sign-in is open to whoever sits at your unlocked desk. Only a tool with its own password, which locks again, helps here.

Device encryption and BitLocker: the whole drive

Windows encrypts a whole drive with BitLocker. On Windows 10 and 11 Pro, Enterprise and Education, search the Start menu for Manage BitLocker and turn it on for the drive. On Windows Home, many computers have a simpler version called Device encryption: search Settings for Device encryption. If it is not there, this computer does not support it.

Once it is on you notice nothing. Windows opens the drive for you when you sign in, and the drive is unreadable to anyone who takes it out of the computer. Keep the recovery key: Device encryption saves it to the Microsoft account you sign in with, and BitLocker asks where to keep it. A repair or a firmware update can ask for it, and without it the drive cannot be opened.

What it does not do is the second and third situations above. A file copied to a USB stick or synced to a cloud drive is a plain file there.

Encrypt contents to secure data: one folder, tied to your account

On Windows Pro, Enterprise and Education, right-click the folder, choose Properties, then Advanced on the General tab, and tick Encrypt contents to secure data. This is the Encrypting File System. The files stay where they are and open as normal for you, and for any other account on the computer they are unreadable. On Windows Home the box is there but greyed out.

  • Back up the key when Windows offers. The files are tied to a certificate in your Windows account. If the account is lost, or an administrator resets your password rather than you changing it, the files cannot be opened without that backup.
  • It does not travel. Copy the files to a USB stick formatted FAT32 or exFAT, or attach them to an email, and they arrive as plain files. When a copy goes to a drive that cannot keep the encryption, Windows asks first, and that is the moment to stop and think.
  • It opens with your sign-in. Anyone using your account, signed in, reads the files.

7-Zip: an encrypted archive to send or keep

7-Zip is free and open source. Right-click the folder (on Windows 11, choose Show more options first), then 7-Zip, then Add to archive. Pick the 7z format, type a password, leave the method at AES-256, and tick Encrypt file names, otherwise anyone can list what is inside without the password.

The result is one file that can go anywhere: an email, a USB stick, a cloud drive. It suits sending a set of files, or putting away what you no longer change. It is awkward for work in progress, because each change means taking a file out, editing it and putting it back. The original folder is still on the disk until you delete it, and a deleted file can often be recovered.

If you choose ZIP rather than 7z, pick AES-256 and not ZipCrypto, which is old and weak. Not every program opens an AES-encrypted ZIP, so check that the person you send it to can, or send the 7z file and point them to 7-Zip.

VeraCrypt: a container that opens as a drive

VeraCrypt is free and open source, and has had a published security audit. It makes a container: one file of a size you choose, which opens as a new drive letter when you type its password. Files you put on that drive are encrypted as they are written. When you close it, the container is one unreadable file again. VeraCrypt can also encrypt a whole USB stick or a whole drive.

A container does well on a USB stick or a computer’s own drive, and less well on a cloud drive. To the cloud it is one large file, so a change to one document inside can mean the whole container is uploaded again, and two computers that open it at once can leave you with two conflicting copies of everything in it.

Cryptomator: a vault made for cloud drives

Cryptomator is free and open source on Windows, Mac and Linux, with phone apps that are paid for in full, and has also had a published security audit. It makes a vault inside your cloud drive’s folder and encrypts each file on its own, names included. Unlocked with its password, the vault shows as a drive, and you work in it as in any folder.

Because each file is encrypted separately, a change uploads only that file, and the cloud provider sees only encrypted files. The files have to be moved into the vault to be protected, and they are reached only through Cryptomator.

The short version

  • A laptop that could be lost or stolen: turn on Device encryption or BitLocker. Every computer should have it.
  • A folder on a cloud drive: Cryptomator.
  • Files to send to someone: a 7z archive with AES-256 and encrypted names. Send the password a different way from the file, such as a phone call or a text message.
  • A USB stick or a private drive on a shared computer: VeraCrypt.
  • Other accounts on a computer you share, on Windows Pro: Encrypt contents to secure data, with its key backed up.

Whatever you choose, try it on a copy of the folder first. Lock it, open it again, and check every file is there before you trust it with the only copy.

Our own product, disclosed

Where our own software comes into this

Rutba Office has an app for this, the Locker. It sits nearest Cryptomator on the list above, with one difference: it encrypts each file in place, in the folder where it already is, rather than in a vault you move files into. A folder on a cloud drive stays where it is, and what the drive syncs is encrypted. A file over 50 MB is kept in pieces, so the drive uploads only the parts that changed. The encryption is AES-256-GCM, and the file format is published.

Since version 2.26, a document, workbook, deck, PDF or picture opened from the Locker is read into memory, with no plain copy written to the disk, and Save seals the new version back into the locked file. Some files still open from a temporary plain copy, such as one over 1 GB, and the window says so.

New to the Locker? Start with a copy of a folder. Lock it and let it finish, then close the Locker, open it again with your password and check your files are all there. Write your recovery key down and keep it safe. Once you know you can always get back in, lock the folders that matter.

It is also the newest thing on this page. Its encryption has not been audited yet, where VeraCrypt’s and Cryptomator’s have been. For files you cannot afford to lose, one of those is the safer choice today, and we would rather say so here than have you find out later.

Download it free →Compared with the alternatives →

Office apps in one free download

No account, no telemetry, and it works with the network switched off.

One family

The rest of Rutba

One account across all of it. Sign in once and the products know each other.

OFFICE-ARTICLES-DETAIL · 9b20c6b