How to password protect a folder in Windows
Key takeaways
- Windows has no universal set-folder-password button in File Explorer, so use an encrypted archive for a separate password or EFS for built-in encryption.
- In 7-Zip, add the folder to an archive, enter a long unique password, and select Encrypt file names to protect the internal file listing.
- Creating an archive does not protect the original folder, so test extraction of the archive before removing or securing the source files.
- EFS encrypts a folder's contents on supported Windows editions without extra software, and you must back up your encryption certificate and private key.
To password protect a folder in Windows, you can put it inside an encrypted archive that requires a password to open its contents. Windows also offers built-in file encryption on supported editions, but that protects files through your Windows account rather than adding a separate folder password. This guide explains both approaches, their limitations, and how to choose between them. (support.microsoft.com)
Can you password protect a folder in Windows?
Yes, but Windows does not provide a universal “set folder password” button in File Explorer. For a separate password, use an encryption tool such as 7-Zip to create a protected archive. For account-based protection without an additional password prompt, supported Windows editions offer Encrypting File System, or EFS. (support.microsoft.com)
If you are wondering, “Can I password protect a folder in Windows without changing how I use it?”, understand the distinction first: an archive is a packaged copy, while EFS lets you keep working with files in their normal location. EFS decrypts files automatically for an authorized user, so it is not a barrier against someone already using your signed-in account. (support.microsoft.com)
Use your goal to choose an approach:
- A password for a collection of files: Consider an encrypted archive, particularly for storage or sharing.
- Encryption for working files: Consider EFS if your Windows edition supports it and you do not need a separate password.
- Protection if a laptop is stolen: Consider drive encryption as an additional layer, not a replacement for a folder-level password. (cio.ubc.ca)
Create a password-protected archive with 7-Zip
An encrypted 7z archive is a practical way to protect a folder’s contents with a password. The 7z format supports AES-256 encryption, and 7-Zip includes an option to encrypt filenames as well. Download the application from the official 7-Zip website rather than an unfamiliar download service. (7-zip.org)
Before starting, save your work and decide where to store the archive. Try the process with a small, non-sensitive test folder first. Keep the original files until you have checked that the protected copy opens correctly.
Set the password and encryption options
The basic workflow is the same whether you are learning how to password protect a folder in Windows 11 or using Windows 10. Opening 7-Zip File Manager directly also avoids differences between Windows right-click menus. (7-zip.org)
- Open 7-Zip File Manager and browse to the folder you want to protect.
- Select the folder and click Add to open the archive settings.
- Choose an archive name and destination. Use a name that does not reveal sensitive information.
- Set Archive format to 7z.
- Enter and confirm your password in the Encryption section.
- Check that Encryption method is AES-256.
- Select Encrypt file names to protect the archive’s internal file listing.
- Click OK to create the encrypted archive. (github.com)
Choose a long, unique password and save it in your password manager. Avoid reusing your Windows login password. For shared files, plan how you will give the recipient the password before sending anything.
Test the archive before removing originals
Close the archive, reopen it in 7-Zip, and confirm that it requests your password. Extract a test copy to a temporary location and open several files. If you enabled filename encryption, check that you cannot browse the internal filenames without entering the password. (cio.ubc.ca)
Creating an archive does not automatically protect the original folder. Treat the archive and source folder as separate copies, and decide what to do with the unencrypted originals only after testing. Also account for any test files you extracted; those need their own protection. (support.microsoft.com)
For occasional access, this workflow is straightforward. For documents you edit repeatedly, consider whether extracting files and managing updated copies will become inconvenient. Keep one clearly identified current version so you do not accidentally work from an outdated copy.
Can you protect a folder without installing software?
Yes—on supported Windows editions, EFS can encrypt a folder’s contents without third-party software. However, it does not create a separate password for that folder, and Microsoft states that this file-encryption feature is unavailable in Windows Home editions. EFS also requires an NTFS volume. (support.microsoft.com)
If you want to know how to protect a folder with a password in Windows specifically, do not mistake EFS for a password prompt. Its purpose is transparent encryption: authorized users work with files normally while Windows handles decryption. Choose the archive method instead if an independent password is your main requirement. (learn.microsoft.com)
Enable Windows folder encryption
On a supported computer:
- Right-click the folder and choose Properties.
- On the General tab, select Advanced.
- Check Encrypt contents to secure data.
- Select OK, then Apply.
- If prompted, apply the change to the folder, subfolders, and files you intend to encrypt. (support.microsoft.com)
Back up your encryption certificate and private key, not just the documents. Microsoft warns that you need a certificate backup to preserve access to encrypted files; its cipher /x command can back up EFS certificates and keys. Store that backup securely and separately from the computer. (microsoft.com)
If the encryption checkbox is unavailable, check your Windows edition before troubleshooting further. Home does not include EFS, and device configuration can also affect availability. Do not assume that a missing option means you need an unknown “folder locker” download. (support.microsoft.com)
Windows 10 and Windows 11: the important differences
If you are researching how to password protect a folder in Windows 10, the same distinction applies: an encrypted archive provides a separate password, while EFS provides account-linked encryption on supported editions. Windows 11 does not turn ordinary folder Properties into a separate password-setting tool. Choose by protection type, not just operating-system version. (support.microsoft.com)
Do not assume that built-in archive support includes encrypted archives. Microsoft documents that Windows 11 version 24H2 supports several archive formats but does not support operations on encrypted archives; compatible third-party software is needed for those files. Test the receiving computer’s software before relying on a protected archive for sharing. (support.microsoft.com)
There is also a broader security issue for Windows 10 users: standard Windows 10 support ended on October 14, 2025. Folder encryption does not replace operating-system security updates, so review your upgrade or applicable extended-support options alongside file protection. (support.microsoft.com)
Add drive protection without confusing it with a folder lock
BitLocker and Device Encryption protect drives rather than placing a separate password on one ordinary folder. Microsoft offers BitLocker Drive Encryption on Pro, Enterprise, and Education editions; Device Encryption is available on a wider range of eligible devices, including some running Windows Home. (learn.microsoft.com)
This distinction matters when choosing a Windows folder lock approach. Drive encryption addresses threats such as someone accessing a lost device’s storage offline. It does not give every folder an independent password once the drive is unlocked. Use it alongside your chosen file-protection method when appropriate. (learn.microsoft.com)
Check your protection before relying on it
Before storing sensitive documents, run through this practical checklist:
- Test access: Close and reopen the protected archive, then verify that the password is required.
- Check recovery: Store your archive password or EFS certificate backup somewhere secure and retrievable.
- Review copies: Account for originals, extracted files, and older versions rather than checking only the protected copy.
- Test sharing: Confirm that the recipient has compatible software before sending an encrypted archive.
- Keep backups: Maintain a separate backup plan instead of treating encryption as protection against file loss. (cio.ubc.ca)
For a separate folder password, start with an encrypted archive and verify it before relying on it. For everyday account-based encryption, consider EFS where supported. The key is choosing protection that matches your goal—and managing the unprotected copies just as carefully as the encrypted one. (cio.ubc.ca)
Related guides
- Encrypted file transfer: options for sending files safely
- ZipCrypto vs AES-256: how to encrypt a ZIP properly
Sources
- How To Encrypt a File or Folder | Microsoft Support
- Zip and unzip files | Microsoft Support
- cio.ubc.ca: How%20to%20Encrypt%20Files%20using%20Common%20Applications%20Guideline
- 7z Format
- 7-Zip
- 7zip/CPP/7zip/UI/GUI/CompressDialog.rc at main · ip7z/7zip · GitHub
- [MS-GPEF]: Overview | Microsoft Learn
- How to Encrypt a File in Windows 11 | Microsoft Windows
- Windows 10 support has ended on October 14, 2025 | Microsoft Support
- BitLocker Overview | Microsoft Learn