Fix Password-Protected XLSX Read-Only After OneDrive Sync
Question details
A user needs to edit password-protected XLSX workbooks that become read-only after OneDrive synchronizes them between computers, including copied files.

- Product
- OneDrive and password-protected Excel (.xlsx) files
- Device & OS
- not provided
- Scenario
- The user syncs password-encrypted Excel workbooks between computers through OneDrive and needs to access and edit them on synchronized devices.
- Observed behavior
- Password-protected XLSX files open as read-only after synchronization, and copied files remain read-only as well.
Close the workbook in Excel and WPS Office on all synced devices before changing sync locations or file permissions, and make sure you know the workbook password and can unlock OneDrive Personal Vault.
Move Password-Protected XLSX Files to OneDrive Personal Vault
Use this when you must keep a password-protected workbook editable on multiple synced devices; Personal Vault avoids the read-only behavior for encrypted files.
Sign in to OneDrive in a web browser, select the Personal Vault icon, and unlock it with your Microsoft account verification.
Upload the password-protected workbook into Personal Vault, or open File Explorer to OneDrive > Personal Vault and move the file into that folder.
On the other computer, unlock OneDrive Personal Vault, open the workbook in Excel or WPS Office, enter the password, and confirm that editing is now allowed.

Clear the Read-Only File Attribute in the OneDrive Folder
Use this when the read-only state is caused by the local file attribute rather than OneDrive's sync protection.
Pause OneDrive Sync and Check Permissions or Antivirus Software
Use this when the issue persists after moving the file and clearing the read-only attribute, especially if all Office files are affected.
Edit Password-Protected XLSX Files Locally with WPS Office
When OneDrive continues to open password-protected Excel workbooks as read-only, WPS Office gives you a free, lightweight way to open and edit .xlsx files locally without sync conflicts. It supports password-protected Excel workbooks and keeps formatting, formulas, and data compatible with Microsoft Office.

Frequently Asked Questions
Why does OneDrive open password-protected XLSX files as read-only after syncing?
OneDrive may apply additional protection or permission restrictions to encrypted Office files during sync. Storing the file in OneDrive Personal Vault usually prevents this read-only behavior while keeping it available on synced devices.
Can I edit a read-only password-protected XLSX file in WPS Office?
Yes, WPS Office can open password-protected .xlsx files and edit them when the file itself is not locked by the system. If OneDrive has marked it read-only, save a local copy or remove the read-only attribute before editing.
How do I check if a synced XLSX file is marked read-only in Windows?
Right-click the file in the OneDrive folder, select Properties, and check the Read-only checkbox on the General tab. Clear it, click Apply, and then reopen the file.
Does moving a file to OneDrive Personal Vault remove the read-only problem permanently?
For password-protected XLSX files, Personal Vault is the recommended OneDrive location because it avoids the read-only behavior on synchronized devices. If the issue continues, also check file permissions and antivirus software.
Will WPS Office preserve the password protection when saving an XLSX file?
WPS Office supports Excel password-protected workbooks and preserves the .xlsx format when you save. You can also use Save As to keep a local copy before returning it to OneDrive.




