sodcalculator

10 Tech How-To

How to Put a Password on a Folder in Surface Pro

Guide 10-35174 · Updated · Step by step

This guide shows you how to password-protect a folder on a Surface Pro running Windows 11 or Windows 10. You’ll learn the built-in method (which creates an encrypted archive) and a free third-party tool for true folder locking. No special hardware or admin rights are needed for the built-in approach.

What You’ll Need

  • A Surface Pro running Windows 10 or Windows 11 (all versions).
  • For the built-in method: nothing extra—Windows includes the encryption tool.
  • For the third-party method: an internet connection to download a free, open-source program like 7-Zip.

Step-by-Step

Method 1: Using Windows Built-in Encrypted Archive (No Extra Software)

  1. Right-click on the folder you want to protect and select Send to > Compressed (zipped) folder. This creates a .zip file with the same name.
  2. Double-click the new .zip file to open it in File Explorer.
  3. Click File in the top menu, then choose Add a password from the drop-down. (In Windows 11, the menu might say “Add password” directly.)
  4. In the dialog box, type a strong password into both fields. Click OK.
  5. Close the zip window. Now, whenever you try to open the .zip file, Windows will ask for the password.
  6. Delete the original unencrypted folder after the .zip is created and tested. Right-click the original folder and select Delete (or move it to Recycle Bin).

Method 2: Using 7-Zip (Free, More Secure, Locks Folder Contents)

  1. Download and install 7-Zip from the official website (7-zip.org). Choose the 64-bit version for Surface Pro.
  2. After installation, right-click on the folder you want to protect. In the context menu, hover over 7-Zip and select Add to archive…
  3. In the “Add to Archive” window, set the Archive format to zip (or 7z for even better compression).
  4. Under Encryption, type a password in the “Enter password” field and repeat it in the “Reenter password” field.
  5. Make sure the Encryption method is set to AES-256 (it’s the default in recent versions).
  6. Click OK. 7-Zip creates a new archive file with the password applied.
  7. Test the archive by double-clicking it. You’ll be prompted for the password. Enter it to verify it works.
  8. Once confirmed, delete the original folder to ensure no unprotected copy remains. Right-click the folder and choose Delete.

Common Mistakes

  • Forgetting to delete the original folder: The most common mistake. The password only protects the archive, not the original folder. Always delete the original after testing.
  • Using a weak password: A short or common password can be guessed. Use at least 12 characters with a mix of letters, numbers, and symbols.
  • Losing the password: There is no recovery option. If you forget the password, you lose access to the folder permanently.
  • Not testing the archive: Always open the archive and enter the password before deleting the original. If something goes wrong, you still have the original.
  • Using “Encrypt contents to secure data” (EFS) on a shared device: This Windows feature ties encryption to your user account. If you log in with a different account or reinstall Windows, you may lose access. It’s not recommended for folders you want to share.

Tips

  • Use a password manager to store your folder password so you don’t forget it.
  • For sensitive files, consider using a dedicated encryption tool like VeraCrypt, which creates an encrypted container that mounts as a virtual drive.
  • If you only need to hide a folder from casual view (not secure), you can set it to “Hidden” in properties, but this is not real protection.
  • When using 7-Zip, choose the 7z format for better compression and stronger encryption options. It’s slightly slower but more secure.
  • Keep the archive on a cloud drive (like OneDrive) with the same password—it’s still protected even if the cloud is compromised.

Troubleshooting

  • “Add a password” option is missing in Windows: This feature is only available in Windows 10 and 11. If you’re on an older version, use 7-Zip instead.
  • Password prompt doesn’t appear when opening the zip: Make sure you’re opening the .zip file itself, not the folder inside it. If you’ve already extracted the contents, the extracted files are not protected.
  • 7-Zip context menu doesn’t show: Right-click the folder, then look for the “Show more options” (Windows 11) or “7-Zip” submenu. If it’s still missing, restart File Explorer or reboot.
  • Forgot the password: There is no way to recover it. Try any passwords you might have used. If you stored the password in a note or password manager, check there.
  • Archive is corrupted: If you get an error when opening, try opening with 7-Zip instead of the built-in Windows extractor. If that fails, the file may be damaged; you’ll need to recreate it from the original folder (if you still have it).

Frequently Asked Questions

Q: Can I password-protect a folder without zipping it?
A: Not with built-in Windows tools. The built-in method always creates a compressed archive. For a true folder lock, you need third-party software like 7-Zip (which still creates an archive) or a dedicated folder locker like VeraCrypt.

Q: Is the built-in Windows encryption secure?
A: Yes, it uses AES-256 encryption, which is considered very secure. The main weakness is that it’s easy to forget the password, and there’s no recovery.

Q: Can I share a password-protected folder with others?
A: Yes, you can share the archive file (e.g., via email or cloud). The recipient will need the password to open it. They can use Windows’ built-in extractor or 7-Zip.

Q: Does the password protect the folder name?
A: No. The folder name is visible in the archive’s file list even without the password. To hide the name, use a generic name like “Data” or use 7-Zip’s “Encrypt file names” option (only available in 7z format).

Q: What if I delete the original folder and later lose the password?
A: You lose the data permanently. There is no backdoor. Always keep a backup of the password or a copy of the original folder in a safe place.

Q: Can I password-protect a folder on an external drive?
A: Yes, the same methods work on any drive (USB, SD card, etc.). Just right-click the folder on that drive and follow the steps.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →