Fix Excel Workbook Opens Repaired and Read-Only in OneDrive
Question details
A large Excel workbook stored in OneDrive repeatedly opens in read-only mode and displays a failing repair prompt.

- Product
- Microsoft Excel, OneDrive
- Device & OS
- not provided
- Scenario
- Opening a large Excel file stored on Microsoft OneDrive.
- Observed behavior
- The file opens in read-only mode, prompting that it has been repaired, but the repair process repeats and ultimately fails.
Before troubleshooting, test opening a different file (like a Word document or a simple text file) in the same OneDrive folder to verify if you have the correct read and write permissions.
Repair and Re-upload the Excel Workbook
Download the corrupted file to your local drive, repair it using Excel's built-in tool, and then upload a fresh copy to OneDrive.
When an Excel file becomes corrupted during a OneDrive sync, the cloud version may get stuck in a repair loop. Downloading it locally isolates the file from sync issues and allows Excel's native repair tool to fix the core corruption.
Navigate to your OneDrive folder, right-click the problematic Excel file, and select 'Download' or copy it to a local folder like your Desktop.
Open desktop Excel, click 'File' > 'Open', and browse to the locally downloaded file.
Click the small arrow next to the 'Open' button and select 'Open and Repair...'. Choose 'Repair' to recover as much data as possible.
Once the file opens successfully without read-only restrictions, save it under a new name. Upload this fresh, repaired copy back to OneDrive.

Modify Protected View Settings in Trust Center
Disable Protected View for files originating from the internet or unsafe locations, which might be forcing the read-only state.
Verify OneDrive Folder Sharing Permissions
Ensure that the read-only issue isn't caused by restricted access permissions on your personal or work OneDrive account.
Open and Edit Spreadsheets Seamlessly with WPS Office
If Microsoft Excel continues to fail with read-only and repair prompts, try WPS Office. It is a highly compatible, free alternative that often opens files other software struggles with, bypassing OneDrive's specific sync glitches.
- 1. Download and Install: Get WPS Office for free from the official website and install it on your device.
- 2. Open the File: Launch WPS Spreadsheet, go to Menu > Open, and select your downloaded Excel file.
- 3. Save and Edit: WPS often bypasses specific MS Office errors. Save the file as a new .xlsx document to continue editing without read-only restrictions.

Frequently Asked Questions
Why does my Excel file keep saying it needs to be repaired?
This usually happens when the file metadata is corrupted, the file was not closed properly, or there was an interruption during the OneDrive background sync process while the file was being saved.
Can I turn off Protected View permanently?
While you can turn off Protected View in Excel's Trust Center Settings, it is highly recommended to leave it enabled. It acts as a critical security layer to protect your computer from potentially malicious files downloaded from the internet or cloud storage.
Does the size of the Excel workbook affect OneDrive sync?
Yes, extremely large Excel workbooks can sometimes experience sync delays or timeouts in OneDrive. This increases the risk of file corruption or triggering a read-only lock state if the file is opened before the sync is complete.




