Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

How to Decrypt Files & Folders in Windows 10

· 5 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

If you've encrypted files or folders with Windows' built-in Encrypting File System (EFS), this guide shows you how to decrypt them so they can be opened on any computer without your user account. You'll need to be logged in as the user who encrypted the files (or have their certificate and password) and have administrator rights if you're decrypting files owned by another user.

What You'll Need

  • Windows 10 with the Pro, Enterprise, or Education edition (EFS is not available in Home).
  • Log in as the user who originally encrypted the files, or have that user's EFS certificate and password.
  • Administrator privileges if you need to decrypt files owned by another user account.

Step-by-Step

  1. Locate the encrypted file or folder. In File Explorer, encrypted items show a small padlock icon on the file or folder icon. If you don't see it, go to the View tab and check File name extensions and Hidden items to make sure you're seeing everything.
  2. Right-click the encrypted file or folder and select Properties from the context menu.
  3. In the Properties window, click the General tab, then click the Advanced... button near the bottom.
  4. In the Advanced Attributes dialog, look for the section labeled Compress or Encrypt attributes. You'll see a checkbox that says Encrypt contents to secure data. It should be checked.
  5. Uncheck the box next to “Encrypt contents to secure data.”
  6. Click OK to close the Advanced Attributes window, then click OK again on the Properties window.
  7. If you're decrypting a folder, Windows will ask: “Do you want to apply the change to this folder only, or also to all subfolders and files?” Choose Apply changes to this folder, subfolders and files to decrypt everything inside, or Apply changes to this folder only to leave subfolders encrypted. Click OK.
  8. Wait for the decryption to finish. For large folders this may take a few seconds to a minute. Once done, the padlock icon disappears from the items.

Common Mistakes

  • Decrypting only the folder, not its contents. If you choose “folder only,” the files inside remain encrypted. Always pick “subfolders and files” unless you have a specific reason not to.
  • Not having the right user account. EFS is tied to your Windows user profile. If you log in as a different user, you won't see the “Encrypt contents” checkbox as checked, and you may not be able to decrypt without the original certificate.
  • Confusing EFS with BitLocker. BitLocker encrypts entire drives and is managed in Control Panel or Settings, not in file Properties. This guide only covers EFS file/folder encryption.
  • Clicking “Compress contents” instead. The checkbox next to “Encrypt contents” is easy to misclick. Make sure you uncheck the encryption box, not the compression one.

Tips

  • Before decrypting, back up your EFS certificate. Open certmgr.msc, navigate to Personal > Certificates, right-click your certificate, and export it with the private key. Store it in a safe place.
  • Decrypting is permanent—once you remove encryption, the data is stored in plain text. Only decrypt files that you're comfortable having unencrypted.
  • If you're decrypting to move files to another computer, decrypt first, then copy. Encrypted files can't be read on another machine without the certificate.
  • Use the command line for bulk decryption: open Command Prompt as administrator and run cipher /d "C:\path\to\folder" /s to decrypt a folder and all subfolders.

Troubleshooting

I don't see the “Encrypt contents” checkbox. This means the file or folder isn't encrypted with EFS, or you're not logged in as the user who encrypted it. Check that you're on Windows Pro/Enterprise/Education. If you're on Home, EFS isn't available.

I get an “Access Denied” error when trying to decrypt. You need administrator rights or the original user's credentials. Right-click the file, go to Properties > Security, and check your permissions. If you're an admin, you can take ownership first, but this may not work for EFS without the certificate.

The checkbox is grayed out. This happens if the file is on a FAT32 or exFAT drive—EFS only works on NTFS. Also, some system files are protected and can't be decrypted normally.

After decrypting, the padlock icon is still there. Refresh the folder (F5) or restart File Explorer. If it persists, the decryption may have failed for some files—check the Advanced Attributes again.

I forgot my password and can't decrypt. If you have the EFS certificate backup (.pfx file), you can import it on another user account. Without it, decryption is essentially impossible—this is by design.

Frequently Asked Questions

Can I decrypt files on Windows 10 Home?

No. EFS is only available in Windows 10 Pro, Enterprise, and Education editions. Home users can't use EFS at all.

What's the difference between EFS and BitLocker?

EFS encrypts individual files and folders, tied to your user account. BitLocker encrypts the entire drive and unlocks at boot. They can be used together, but they're separate systems.

Will decrypting affect the original file's content?

No. Decryption simply removes the encryption layer; the file's data remains exactly the same. It just becomes readable by any user.

Can I decrypt a file that was encrypted by another user?

Only if you have that user's EFS certificate and password. Without it, you cannot decrypt the file, even as administrator.

Does decrypting a folder also decrypt files I add later?

No. Decryption only affects existing files. New files added to the folder will not be encrypted unless you re-encrypt the folder.

How do I know if a file is encrypted?

Encrypted files show a padlock overlay icon in File Explorer. You can also right-click, go to Properties > Advanced, and see if “Encrypt contents to secure data” is checked.