Remove Read-Only Attributes or EFS Encryption from Windows Files
Question details
Remove encryption or read-only attributes from many files copied between Windows computers.

- 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.
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.
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.
On the Windows 10 computer, sign in with the account that encrypted the files and confirm that you can open a sample file.
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.
In File Explorer, right-click the original parent folder, select Properties > Advanced, and clear Encrypt contents to secure data. Select OK, then Apply.
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.

Import an EFS certificate and decrypt the copied files
Use this option when you have the original EFS certificate and private key as a PFX file and Windows supports EFS.
Remove read-only attributes from files in bulk
Use this method when files are marked read-only but are not encrypted.
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.

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.




