Data Protection Issues

Remove Read-Only Attributes or EFS Encryption from Windows Files

Steven ParkerSteven Parker Dec 2, 2026 869 views

Question details

Remove encryption or read-only attributes from many files copied between Windows computers.

Remove Read-Only Attributes or EFS Encryption from Windows Files
Product
Windows Encrypting File System and File Explorer
Device & OS
Windows 10 and Windows 11
Scenario
More than 20,000 files were copied from a Windows 10 computer to a Windows 11 computer, and the user wants to make them accessible in bulk.
Observed behavior
The copied files cannot be opened and are reported as read-only or encrypted.
Before you start

Check a sample file in File Explorer: right-click it, select Properties, and look for Read-only or select Advanced to check whether Encrypt contents to secure data is selected. Keep the original files and the old computer available, and export the EFS certificate with its private key before changing encrypted files.

Solution 1Recommended

Decrypt EFS files on the original Windows computer

Use this method if the files use EFS and the original encrypting account can still open them.

1
Sign in to the original account

On the Windows 10 computer, sign in with the account that encrypted the files and confirm that you can open a sample file.

2
Export the EFS certificate

Open certmgr.msc, expand Personal, and select Certificates. Right-click the EFS certificate, choose All Tasks > Export, and export it with its private key as a password-protected PFX file if the key is exportable. Store it securely.

3
Clear encryption on the source folder

In File Explorer, right-click the original parent folder, select Properties > Advanced, and clear Encrypt contents to secure data. Select OK, then Apply.

4
Apply and copy the files again

When prompted, apply the change to the folder, subfolders, and files. After decryption finishes, copy the files to Windows 11 again and test a few files.

Decrypt EFS files on the original Windows computer
A key may still be required: EFS decryption requires an authorized certificate and private key. If the original account cannot decrypt the files, check for an EFS recovery agent or a previously exported certificate.
Free Microsoft Office alternative

Open Decrypted Office Files with WPS Office

After Windows files are decrypted and accessible, WPS Office offers a free, lightweight alternative for opening and editing documents, spreadsheets, and presentations. Its familiar interface and Microsoft Office format support make migration straightforward.

Open accessible documents after resolving Windows file encryptionCompatible with Microsoft Office formats including DOCX, XLSX, and PPTXFree and lightweight office suiteFamiliar editing interface for an easier transition
QA img-9

Frequently Asked Questions

How can I tell whether a file uses EFS?

Right-click the file in File Explorer, select Properties > Advanced, and check whether Encrypt contents to secure data is selected. If it is, Windows EFS is involved.

Can I decrypt EFS files without the original Windows account?

You may be able to decrypt them with an exported EFS certificate and its private key, or with an authorized EFS recovery agent. Without an appropriate key, clearing file attributes will not decrypt them.

Does removing read-only status decrypt a file?

No. Use Properties or the attrib -R command to clear the read-only attribute; EFS encryption requires an authorized certificate and private key.

What if the files were encrypted by ransomware or another program?

EFS decryption steps will not remove unrelated encryption. Identify the program or ransomware involved and check for its original key, recovery method, or a trusted decryptor.

Why do files remain inaccessible after I clear read-only?

The files may still be encrypted, or your account may lack permission. Check Properties > Advanced for EFS and Properties > Security for access permissions.