Guides / Password-protect a folder
Guide / Security

How to password-protect a folder on Windows 11

By Param Nimbark. Last reviewed , for Seqtrix 0.16.0.

Short answer

Windows 11 has no setting that puts a password on a folder. On Pro, Encrypt contents (EFS) ties a folder to your Windows sign-in but never asks for a password. On any edition, Home included, a free tool does it: 7-Zip puts the folder in an AES-256 archive with a password, and the free Seqtrix template Lock my money folder encrypts it with AES-256 and a password you choose.

Get it from Microsoft Store

Installs from the Microsoft Store, no SmartScreen prompt. Free Starter plan, no account.

Download the installer (211 MB)

Direct installer for Windows 10 and 11, 64-bit, v0.16.0.

See the security toolkit

What Windows 11 Home and Pro can and cannot do

Check your edition first: Settings, System, About shows it under Windows specifications. Then this is what each edition gives you for one folder:

Folder protection built into Windows 11 Home and Pro
OptionHomeProWhat it really does
A password in folder PropertiesNoNoNeither edition has one. The Properties dialog never asks for a password.
Encrypt contents to secure data (EFS)No, greyed outYesEncrypts the folder to your Windows account. It never asks for a password: anyone signed in as you opens it, other accounts cannot.
BitLocker or Device encryptionDevice encryption, on supported hardwareBitLockerEncrypts the whole drive against a stolen PC. Once you sign in, every folder is open, so it cannot lock a single folder.
Compress to ZIPYesYesMakes a .zip, with no way to add a password.
The Hidden attributeYesYesHides the folder from the default view. One setting shows it again.
A separate account for everyone elseYesYesOther standard users cannot open your user folders. An administrator can.

So Windows can keep other accounts away from your files, and Pro can encrypt them to your sign-in, but no edition puts a password on a folder. That takes a free tool, further down.

Built in on Pro: encrypt the folder with EFS

On Windows 11 Pro, Enterprise or Education, the Encrypting File System locks a folder to your Windows account:

  1. Right-click the folder and choose Properties.
  2. On the General tab, select Advanced.
  3. Tick Encrypt contents to secure data, then select OK.
  4. Select Apply. If Windows asks, apply the change to this folder, its subfolders and files, then select OK.
  5. When Windows offers to back up your file encryption key, do it, and keep the backup off this PC.

The catch: EFS never asks for a password. The folder opens normally for anyone using your signed-in session, and stays unreadable to other accounts. Lose the account or its certificate without that backup and the files are gone. On Home the checkbox is greyed out. The command-line version, cipher /e, has the same limits; the guide to encrypting a file without BitLocker covers it.

Built in on any edition: give everyone else their own account

If the people you want to keep out share your PC, give each of them a standard account of their own under Settings, Accounts, Other users, and keep your own sign-in to yourself. A standard user who tries to open a folder inside your user folder is refused. It is privacy rather than encryption: an administrator can take ownership of the folder, and anyone who signs in as you sees everything. For anything that matters, add one of the locks below.

Free on any edition: put the folder in a 7-Zip archive

7-Zip is a free, open-source archiver for Windows. It can put a folder inside an archive encrypted with AES-256, so the contents open only with your password, and it works the same on Home and Pro:

  1. Install 7-Zip from its official site, 7-zip.org.
  2. Right-click the folder and choose 7-Zip, then Add to archive. On Windows 11, choose Show more options first if 7-Zip is not in the menu.
  3. Set Archive format to 7z.
  4. Under Encryption, type a long password twice and keep Encryption method on AES-256.
  5. Tick Encrypt file names, so the list of files inside stays private too.
  6. Select OK. Open the new archive once to check the password, then delete the original folder.

A .zip with a password works as well, but a .zip always shows the names of the files inside. And the archive protects only what is in it: a file you open is extracted to a temporary copy while you work on it, and the original folder you deleted in the last step can still be recovered from the disk until Windows reuses that space. The guide to securely deleting files on Windows 11 shows how to wipe that free space.

Or a VeraCrypt container

VeraCrypt is free and open source too. Instead of an archive, it makes an encrypted container that you open as a drive letter with your password, and you work inside it. It takes more setting up than 7-Zip; choose it if you want a whole private drive rather than one locked folder.

The Seqtrix way: the free Lock my money folder template

Seqtrix is a Windows automation app with a Security Lock step built in. Its Encrypt action packs a folder into one .sflocked file encrypted with AES-256-GCM, with its key locked under your password through Argon2id, and removes the original folder. It runs on Windows 10 and 11, Home included. Encrypt, Password Lock and Hide are on the free plan; the Vault and Secure Delete steps need Advanced.

The Lock my money folder template is that lock in a ready sequence. It moves statements and invoices out of Downloads into a Private folder in Documents, encrypts the folder with AES-256 using a password you choose, date-stamps the locked file so next month's run does not overwrite it, and clears the file names from your Recent list. It is one of the 15 free templates.

  1. 1
    Install Seqtrix

    Get Seqtrix from the Microsoft Store, or the installer on seqtrix.com, for Windows 10 or 11. The free plan needs no account.

  2. 2
    Add the template

    Open Templates, search for Lock my money folder and click its card. Seqtrix adds it to your sequences.

  3. 3
    Choose the folder and the password

    Open the new sequence and select its Encrypt step. Keep Documents\Private, or browse to your own folder and delete the two steps that sweep Downloads. Type a long password you will remember, then save.

  4. 4
    Run it

    Click Run. The folder is replaced by one .sflocked file that File Explorer cannot open.

  5. 5
    Open it again

    Double-click the .sflocked file. Seqtrix opens, asks for the password and puts the folder back. You can also unlock it from the Security Dashboard.

Before you rely on it

  • • Seqtrix cannot reset a forgotten password: there is no account recovery and no copy on our side. Set up Master Mode before you lock anything. Seqtrix then shows a 24-word recovery key once, and that key opens files you lock while Master Mode is unlocked.
  • • The step saves its password with the sequence, in Seqtrix's settings inside your Windows account, so the lock can run on a schedule without asking. Cloud sync and shared links never carry it, but anyone who signs in as you could find it, which is one more reason to give other people their own account.
  • • Locking removes the original folder with a normal delete, so its old bytes stay on the disk until Windows reuses the space. The secure delete guide shows how to wipe free space.
  • • Encryption protects the folder while it is locked. Once you unlock it, its files are ordinary files again until the next lock.

How the keys work, what a forgotten password means and what secure delete can and cannot do on an SSD: how the Seqtrix vault works.

Make the folder lock itself

Because the lock is a step in a sequence, it can run when something happens instead of when you remember:

  • • On a schedule. Run the sequence every evening so the folder never spends a night unlocked. The free plan includes 3 schedules.
  • • With the Panic hotkey. Settings, Security, Panic hotkey records a key combination that locks Windows within a few seconds, then encrypts the folders on your Panic list in the background. It is on every plan.
  • • With a timed unlock. Set an Unlock At time on the Encrypt step and the folder comes back at that time, even if Seqtrix was closed when it came due.

What looks like a lock but is not

  • • Hiding the folder. The Hidden attribute is a display setting, and View, Show, Hidden items brings the folder back. Hiding is good for clutter; the guide to hiding a folder on Windows 11 covers what it does survive.
  • • A batch-file locker. The lock scripts passed around forums only hide the folder, and the password sits in plain text inside the .bat file, readable in Notepad.
  • • A zip made by File Explorer. Compress to ZIP cannot add a password.
  • • BitLocker or Device encryption on their own. They protect a PC that is off or stolen; after you sign in, every folder is open.

FAQ

Can you password-protect a folder in Windows 11 without software?

Not with a password. No edition of Windows 11 has a folder password setting. Windows 11 Pro can encrypt a folder with EFS (Properties, Advanced, Encrypt contents to secure data), but EFS ties the folder to your Windows sign-in instead of asking for a password. On Home, the closest built-in option is a separate standard account for everyone else. For an actual password you need a tool such as 7-Zip, which is free.

Why is Encrypt contents to secure data greyed out on Windows 11 Home?

That checkbox is EFS, and Microsoft does not include EFS in the Home edition. BitLocker Drive Encryption is also limited to Pro, Enterprise and Education; Home gets Device encryption on supported hardware, which covers the whole drive and unlocks when you sign in. On Home, a folder password needs a third-party tool.

Is a password-protected 7-Zip archive safe?

With AES-256 and a long password, the contents cannot be read without the password. Two habits decide the rest. Use the 7z format and tick Encrypt file names, or anyone can still list the files inside. And the archive only protects its own copy: delete the original folder once the archive opens, and remember that a file you open from the archive is extracted to a temporary copy while you work on it.

What happens if I forget the password?

A 7-Zip archive stays locked; there is no recovery. EFS has no separate password: the files open from your Windows account, and if that account or its certificate is lost, only the certificate backup brings them back. Seqtrix cannot reset a password and keeps no copy on its side; if you set up Master Mode, Seqtrix shows a 24-word recovery key once, and that key opens files you locked while Master Mode was unlocked. Whatever you use, keep a backup of anything irreplaceable.

Does Seqtrix work on Windows 11 Home?

Yes. Seqtrix runs on Windows 10 and 11, Home included, and its Encrypt step does not depend on EFS or BitLocker. Encrypt, Password Lock and Hide are on the free plan, and so is the Lock my money folder template. The Vault and Secure Delete steps need Advanced; a 15-day Advanced trial starts the first time you need it, once per machine.

What is a .sflocked file?

It is the encrypted file Seqtrix writes when it locks a file or folder. A folder is packed into one .sflocked file, encrypted with AES-256-GCM. File Explorer cannot open it; double-click it and Seqtrix asks for the password, then restores the original. Keep Seqtrix installed to open it.

Can a folder lock itself automatically?

With Seqtrix, yes. The lock is a step in a sequence, so a schedule can run it every evening and a hotkey can run it on demand, and the Panic hotkey locks Windows and then encrypts the folders on your Panic list. An Unlock At time on the step brings the folder back at a set time.

Keep going

Put a password on your first folder

Free plan, no card and no scripting. A 15-day Advanced trial starts the first time you need it.

Get it from Microsoft Store

Installs from the Microsoft Store, no SmartScreen prompt. Free Starter plan, no account.

Download the installer (211 MB)

Direct installer for Windows 10 and 11, 64-bit, v0.16.0.