How to lock a specific folder in windows 10

Windows has an encryption tool to prevent other users from opening your files but install a more robust third-party tool for greater privacy.

  1. Right-click the folder you want to lock, and select Properties.
  2. Press Advanced at the bottom of the General tab.
  3. Put a check in the box next to Encrypt contents to secure data.
  4. Select OK, and then OK again on the Properties window to save.

Windows will prompt you to back up your file encryption key to avoid permanently losing access to your encrypted files. You can follow those steps (keep reading) or ignore them.

5. Select Back up now (recommended) if you followed the notification to back it up.

Encrypting File System back up now option.

6. Start the Certificate Export Wizard by selecting Next on the first screen.

7. Keep the defaults selected, and then press Next again.

Certificate Export Wizard export file format.

8. Select the box next to Password to enable the password, and fill out the text fields below. Select Next.

Certificate Export Wizard security screen.

9. Choose where to save the PFX file, and give it a name.

10. Select Next to review the information you provided and select Finish to complete the export.

Completing the Certificate Export Wizard review screen.

11. Select OK on the successful export prompt. If you ever need to use this certificate, just open it from wherever you saved it in step 9, and follow the on-screen prompts.

How Encrypted Files Work on Windows 10

You should know how encrypted files behave in Windows to ensure this is the method you want to use.

Take this as an example: An encrypted folder exists on the root of the C drive of a computer with two users. John encrypts the folder and all the files inside it. He has complete control over the data.

Another user, Mark, logs in to his account, where he can do nearly everything John can:

  • See file names
  • Rename files
  • Move and delete the folder and its files
  • Add more files to the folder

However, because John encrypted the files in the folder, Mark can’t open them. Mark can, however, do essentially anything else.

Any files Mark adds to the encrypted folder are automatically encrypted, but now the permissions are reversed: Since Mark is the logged-in user, he can open the files he adds, but John can’t.


Leave a Comment

Your email address will not be published. Required fields are marked *