Document Key
Windows 10 & 11 Buy license · $29.95
How-to

How to Password Protect Photos and Videos on Windows 10 and 11

Keep private photos and videos away from other users of your PC. Learn how to password protect photos on Windows and stop thumbnails leaking.

Updated 5 minute read The Document Key team

Windows has no password option for photos. The Photos app shows every picture in the folders it indexes, and File Explorer happily displays thumbnails to anyone using your account. To password protect photos on Windows, move them into a folder that you encrypt with a password, or into an encrypted vault drive, and then clear the copies and thumbnails left behind. Encrypted images cannot be previewed, indexed or opened without the password, which is what actually keeps them private.

This guide covers where private photos tend to leak on a Windows PC, the built-in options and their limits, and a step-by-step way to lock photos and videos properly.

Where your photos are visible right now

Before you lock anything, it helps to know how many places show your pictures:

  • The Photos app shows images from your Pictures folder, OneDrive and any other folders added to it.
  • File Explorer shows large thumbnails and a preview pane, so a glance at a folder can reveal its contents.
  • Windows Search can find images by name and show previews in search results.
  • Cloud sync puts phone photos on every device signed in to the same account, and on the web.
  • The thumbnail cache keeps small copies of images you have viewed, even after the originals move.

Hiding a folder deals with only one of these. Encryption deals with all of them, because the protected files simply cannot be read.

Built-in options and their limits

MethodWhat it doesLimit
Hidden attributeHides a folder from normal viewAnyone can turn on "Show hidden items"; no password
Separate Windows accountKeeps your Pictures folder away from standard usersAdministrators can still open it; no help if you share one account
EFS (Encrypt contents to secure data)Encrypts files for your Windows accountPro editions only; opens for anyone using your signed-in session
Password-protected ZIPEncrypts a set of photos into one archiveClumsy to browse; you must extract to view
Cloud vault featuresExtra verification for a cloud folderProtects the cloud copy, not copies elsewhere on the PC

Hiding is fine for keeping a surprise out of sight, but it is not protection. Our guide to hiding a folder in Windows 11 explains the difference in detail.

How to password protect photos and videos

The approach below works on Windows 10 and 11, including Home, using Document Key. It handles any file type, so videos, RAW files and HEIC images from a phone are covered too.

Option A: Encrypt a private photos folder

  1. Create one folder for private pictures, for example D:\Private, outside your Pictures and OneDrive folders.
  2. Move the photos and videos you want to protect into it.
  3. Right-click the folder and choose Encrypt in Document Key.
  4. Set a strong password. The strength meter shows how good it is, and the generator can create one.
  5. Save or print the recovery key and keep it away from the PC.
  6. Turn on secure delete of originals, so the unencrypted copies are overwritten after encryption.

To view a photo later, double-click it and enter your password.

Option B: Use an encrypted vault drive

If you browse or edit the pictures often, a vault is more comfortable. Document Key's vault appears as its own drive letter when unlocked. You open it with your password, browse the photos in File Explorer or the Photos app like any other drive, and everything saved there is encrypted. When you lock it, the drive disappears. Set auto-lock so the vault closes itself when you are idle, the PC sleeps or you sign out.

While a vault is unlocked, its contents are visible to anyone using your PC, just like any open folder. Lock it when you step away, or let auto-lock do it for you.

Clean up leftover copies and thumbnails

Encrypting the folder protects those files, but older copies may still exist elsewhere. Work through this list:

  1. Search for duplicates. Check Downloads, Desktop, Pictures and any phone import folders, such as the folder your phone transfer tool created.
  2. Check the cloud. If photos synced from your phone, delete the private ones from the cloud service and empty its recycle bin.
  3. Clear the thumbnail cache. Type Disk Cleanup in the Start menu, choose your system drive, tick Thumbnails and click OK. Windows rebuilds thumbnails for normal folders as needed.
  4. Remove folders from the Photos app. If you added a folder of private images to the Photos app, remove it from the app's folder list so it stops showing them. Removing a folder from Photos does not delete the files.
  5. Empty the Recycle Bin. Deleted photos sit there fully intact until you do.

Deleted files can often be recovered from a hard drive. For anything really private, see our guide to securely deleting files in Windows 11.

Photos from your phone

Most private photos start on a phone, and phone backup is the most common way they end up somewhere unexpected. If your phone uploads its camera roll to a cloud service, everything is copied there automatically and appears on any PC signed in to that account. Options:

  • Use your phone's own locked or hidden album for sensitive pictures, and check whether that album is excluded from cloud backup.
  • Transfer private photos to your PC by cable, encrypt them, and delete them from the phone and the cloud.
  • If you keep them in cloud storage, keep only encrypted copies there. The provider then stores scrambled data. Our guide to encrypting files before uploading to the cloud covers this.

Sharing private photos safely

To send private pictures to one person, do not attach them to a normal email or drop them in a shared album. Put them in an encrypted share package or an AES-256 encrypted ZIP, and send the password separately by text or phone. A self-opening package means the recipient does not need any special software, just the password.

Common questions about locked photos

Will encrypted photos still show in the Photos app?

No. The Photos app cannot read encrypted files, so they will not appear as pictures. Unlock the vault, or open the file with your password, when you want to view them.

Can I protect a single photo instead of a folder?

Yes. Right-click the single image and encrypt it. For more than a handful, a folder or vault is easier to manage.

What if I forget the password?

Strong encryption has no back door, so keep the recovery key somewhere safe. Our article on what to do if you forgot the password to an encrypted file explains the options.

Frequently asked questions

Does the Photos app have a password option?

No. Windows Photos shows everything in the folders it indexes. To protect pictures, encrypt the folder or move them into an encrypted vault.

Can thumbnails reveal my private photos?

Yes. Windows can show previews in File Explorer, and the Photos app can show images from folders it indexes. Encrypted files cannot be previewed.

Will my phone backups to OneDrive be protected?

Not automatically. Photos synced to cloud storage are readable to anyone signed in to the account, so encrypt the sensitive ones on your PC.

Get three guides like this every month, plus software update notices.Subscribe →