How to Lock a Folder on Windows 11 Using Built-in Encryption Function
Note: The steps to encrypt files on Windows 11 are the same as those for encrypting folders.
Step 1: Open Windows File Explorer and navigate to the folder you want to password-protect.
Step 2: Right-click on the folder and select Show more options. Now, go to Properties.

Step 3: Under the General tab, click Advanced.

Step 4: Check the box next to Encrypt content to secure data and click OK.

Once you click OK, a Window will pop up asking you to set up a password to access the file or folder.
If the Encrypt content to secure data option is greyed out, follow the steps below or jump to Step 8 directly.

Step 5: Open Run or click Win key + R and type the below.
services.msc

Step 6: Double-click on Encrypting File System (EFS)‘.

Step 7: Click the drop-down next to Startup type and select Automatic.
Step 8: Now, click on Apply and then OK.

It is necessary to restart the computer for the changes to take effect. If you’re on Windows 10, check out our guide on encrypting drives by bypassing TPM.
How to Remove the Added Password From a Folder on Windows 11
Step 1: Navigate to the file or folder you want to decrypt, right-click on it, and choose Show more options.
Step 2: Now, go to Properties.

Step 3: Under the General tab, click Advanced.

Step 4: Uncheck the Encrypt content to secure data option.

Step 5: Finally, press Apply and OK.
If you want another way to set a password for a folder in Windows 11, continue reading.
Bonus: Use Third-Party Software to Put Password on Windows 11
A third-party tool or software can help you secure your files and folders if you don’t want to follow the above-mentioned steps or maybe want to get things done quicker. Although third-party software doesn’t provide Windows-like security, it does your job. One such application is Folder Lock. This is an easy file locker for Windows 11.
That said, if you cannot password-protect a folder on Windows 11, you may wonder why. Continue reading to know.
Why Can’t I Password Protect a Folder
There are several reasons why you cannot password-protect a folder directly in Windows 11:
- Encryption options might be limited depending on the drive’s file system and where the folder is located. For example, the older FAT32 file system does not support folder encryption. You need NTFS as the file system to use the folder encryption feature.
- To encrypt a folder, you need the necessary permissions to access it and its files. Ensure you have the appropriate administrative privileges or ownership rights to perform encryption operations.
- Some encryption methods, such as BitLocker, may require specific hardware components, such as a Trusted Platform Module (TPM) or a compatible USB flash drive. Check if your system meets the necessary hardware requirements for the encryption method you are trying to use.
- If you are trying to encrypt a folder using third-party encryption software, ensure that the software is installed correctly and compatible with your version of Windows.
If you have any queries we missed addressing, check out the section below.
FAQs on Password Protecting a Folder on Windows 11
Locking a folder can provide an additional layer of security for your files, but it is important to understand that it is not foolproof. While locking a folder can prevent casual access to its contents, it may not be sufficient to protect against determined attackers or sophisticated hacking techniques. It is always recommended to use strong, unique passwords and employ other security measures, such as encryption, to enhance the safety of your sensitive files.
Yes, you can password-protect a folder on previous versions of Windows, like Windows 10, Windows 8, and Windows 7. The process may vary slightly depending on the specific version, but you can typically achieve this by using third-party software or built-in encryption and compression features.
Yes, it is possible to password-protect individual files within a folder. Some file formats, like Microsoft Office documents (Word, Excel, PowerPoint), offer built-in encryption features that allow you to set a password to protect the file. Additionally, you can use encryption software or archive files (ZIP, RAR) with a password to protect specific files within a folder.
Protecting your computer’s data ensures that no sensitive personal or professional information gets deleted or leaked by accident.
Was this helpful?
Last updated on 04 September, 2024
11 Comments
Leave a Reply
The article above may contain affiliate links which help support Guiding Tech. The content remains unbiased and authentic and will never affect our editorial integrity.



At what point do you assign a password?
After checking the box next to ‘Encrypt content to secure data’ under ‘Compress or Encrypt attributes’ and click on OK (mentioned in Step 5), a Window will pop up asking to set up a password to access the file or folder.
I was not prompted to enter a password at any point.
Me neither.
I had to use steps 5-8 because ‘Encrypt content to secure data’ was greyed out. After performing those steps it was still greyed out. What now?
See P Fagan,
still greyed out after restart??????
Advice did not work for me
I followed the advice but was never asked to provide a password so this method failed for me
I believe if your computer is a member of a corporate domain (AD or Entra), you will not be prompted for a password, and the file will be encrypted using your X509 Certificate. Unfortunately, this eliminates the possibility of using this method to symmetrically encrypt a file you wish to share with someone outside your organization.
NO PASSWORD REQUEST FOR ME EITHER WINDOWS 11 HOME
OH WELL
after performing steps 5-8 and ‘restart’, even shut down and login again, ‘Encrypt content to secure data’ still greyed out. Any more advice, please?