Fix OneDrive and SharePoint Files Opening as Read-Only in Office
Question details
Users are unable to edit SharePoint or OneDrive documents because the files open in read-only mode when launched in desktop applications.

- Product
- Microsoft Office, OneDrive, SharePoint
- Device & OS
- Windows
- Scenario
- Opening cloud-hosted files from SharePoint or OneDrive in local desktop applications for editing.
- Observed behavior
- The files open in read-only mode instead of allowing edits, often caused by stale credentials, incomplete syncs, or conflicting account sessions.
Ensure you have your Microsoft account email and password ready, as you will need to sign back into your Office applications after clearing your system credentials.
Clear Office Credentials in Windows Credential Manager
Stale or conflicting login credentials can cause read-only errors. Clearing them forces Office to authenticate a fresh session with SharePoint and OneDrive.
Windows stores your Office login tokens in the Credential Manager. When these tokens expire or conflict with a web browser session, Office apps fail to verify your edit permissions, resulting in a read-only file.
Open any Office application like Word or Excel. Navigate to File > Account, click 'Sign Out' for all connected accounts, and close the application.
Click the Windows Start button, type 'Credential Manager' into the search bar, and press Enter to open the utility.
Select 'Windows Credentials'. Scroll down to the 'Generic Credentials' section, find any entries that contain the word 'Office' or 'OneDrive', click on them to expand, and select 'Remove'.
Restart your computer to ensure all background processes are cleared. Open an Office application and sign back in using your Microsoft account credentials.

Sync the SharePoint Library with OneDrive Local Client
Opening files directly from a synced local folder can bypass the web-to-desktop application handoff issues that often trigger read-only mode.
Check Office Activation Status and Updates
Unlicensed or outdated Office applications will automatically default to a reduced-functionality read-only mode.
Try WPS Office for a Hassle-Free Document Experience
If you are frustrated by recurring credential conflicts, synchronization issues, and read-only errors in Microsoft Office, consider switching to WPS Office. It is a lightweight, fully compatible alternative that offers reliable local editing and seamless cloud integration without the heavy system overhead.
- 1. Download the Installer: Visit the official WPS website and download the free WPS Office installation file.
- 2. Install WPS Office: Run the downloaded file and follow the on-screen prompts to install the lightweight suite on your PC.
- 3. Open Your Files: Launch WPS Office and easily open your local or cloud-stored documents for seamless, uninterrupted editing.

Frequently Asked Questions
Why do my OneDrive files suddenly start opening as read-only?
This typically occurs when your Microsoft Office login session token expires or gets corrupted. The desktop app fails to securely authenticate with the cloud server, defaulting to read-only mode to protect the file. Clearing your Windows Credentials forces a fresh login and restores your edit permissions.
Does a 'Read-Only' message mean someone else is editing the file?
It can. If a file is stored on SharePoint and another user is currently editing it in a desktop application without co-authoring enabled, the file will be locked for editing. Ensure no one else has the file open before modifying your system credentials.
Can I edit a SharePoint file without syncing it to my local desktop?
Yes, you can edit the file directly within your web browser using Office Online. However, if you require the advanced features of the desktop application and it repeatedly launches in read-only mode, syncing the library via the OneDrive client is the most reliable workaround.
How do I know if my Office credentials are stale?
You will often see a yellow warning triangle next to your profile icon in the top-right corner of the Office application, or a banner that reads 'Sign in required' or 'Account Error' when navigating to File > Account.




