Office File Opens Read-Only From a Shared Folder: OneDrive for Business Fix
🔍 WiseChecker

Office File Opens Read-Only From a Shared Folder: OneDrive for Business Fix

When you open an Office file from a OneDrive for Business shared folder, the file may open in read-only mode even though you have edit permissions. This behavior occurs because OneDrive blocks editing when the file is opened by another user or when the file is checked out in the web version. This article explains the specific reasons behind this read-only state and provides the exact steps to regain edit access.

Key Takeaways: How to Fix Read-Only Office Files in OneDrive Shared Folders

  • OneDrive Settings > Sync and backup > Manage backup: Ensure Known Folder Move is not blocking file sync for shared folders.
  • File tab in Office app > Info > Manage Document > Check for Issues: Use Check In if the file is checked out to another user.
  • SharePoint site > Library settings > Versioning settings: Disable required checkout to prevent automatic read-only behavior.

ADVERTISEMENT

Why Office Files Open Read-Only From OneDrive Shared Folders

OneDrive for Business uses a combination of file locking, co-authoring limits, and permission inheritance to determine whether a file opens in edit mode or read-only mode. The most common cause is that another user has the file open in an Office desktop app or in the browser version of Word, Excel, or PowerPoint. When a file is opened by another person, OneDrive places an exclusive lock on the file, preventing simultaneous edits unless co-authoring is explicitly supported. Co-authoring works only when all users are using the same version of Office and the file is stored in a OneDrive or SharePoint document library.

A second cause is the Check Out feature in SharePoint document libraries. If the library requires checkout before editing, the file will open read-only until you check it out. This setting is controlled at the library level, not by the file owner. A third cause is permission inheritance: if the shared folder has View-only permissions, the file will always open read-only. Finally, the OneDrive sync client can mark files as read-only if the local copy is not fully synced or if the sync status shows a pending change.

File Locking Behavior in OneDrive

When a user opens an Office file from a OneDrive shared folder, the OneDrive sync client sends a lock request to the server. The server grants the lock for the duration of the editing session. If another user tries to open the same file, the server checks whether the file is already locked. If locked, the file opens in read-only mode. This lock is released when the first user closes the file. However, if the first user’s Office app crashes or the network disconnects, the lock may remain for up to 15 minutes. During that time, all other users see the file as read-only.

SharePoint Check Out Requirement

SharePoint document libraries can enforce a checkout policy. When this policy is enabled, users must check out a file before they can edit it. If you open a file from a shared folder that resides in a library with required checkout, the file opens in read-only mode. You must click the Check Out button in the Office app or on the SharePoint site to gain edit access. This setting is independent of OneDrive sync behavior and affects all users of that library.

Steps to Fix Read-Only Office Files in OneDrive Shared Folders

Follow these steps in order. Test the file after each step to see if edit access is restored.

  1. Close the file and wait 15 minutes
    If another user had the file open and their session ended unexpectedly, the lock may still be active. Close all Office apps, wait 15 minutes, then reopen the file from the OneDrive shared folder.
  2. Open the file from the OneDrive website instead of the desktop
    Go to onedrive.live.com, navigate to the shared folder, and open the file in the browser. The browser version uses a different locking mechanism and may allow editing when the desktop app shows read-only.
  3. Check the file’s permission level
    Right-click the file in File Explorer or in the OneDrive web interface and select Manage access. Verify that your account has Edit or Full Control permissions. If you see only View, contact the folder owner to request edit access.
  4. Check in the file if it is checked out
    Open the file in the Office desktop app. Go to File > Info > Manage Document > Check for Issues > Check In. If the file is checked out to another user, you will see a message indicating who has it checked out. Ask that user to check in the file.
  5. Disable required checkout on the SharePoint library
    If you are a site owner or library administrator, navigate to the SharePoint document library. Click the gear icon and select Library settings. Under Versioning settings, set Require Check Out to No. Click OK. This change applies to all files in that library.
  6. Pause and resume OneDrive sync
    Right-click the OneDrive icon in the system tray and select Pause sync > 2 hours. After 2 hours, sync resumes automatically. Alternatively, right-click again and select Resume sync. This forces the sync client to re-evaluate file locks.
  7. Reset OneDrive sync
    Press Win + R, type %localappdata%\Microsoft\OneDrive\onedrive.exe /reset, and press Enter. Wait 30 seconds, then open OneDrive again. This clears cached lock data and re-syncs all files.

ADVERTISEMENT

If OneDrive Still Shows Read-Only After the Main Fix

OneDrive Shows a Red X on Shared Office Files

A red X indicates a sync conflict. Open the OneDrive activity center by clicking the OneDrive icon and selecting View sync conflicts. Resolve the conflict by choosing which version to keep. After resolution, the file should open in edit mode.

File Opens Read-Only Only in the Desktop App but Not in the Browser

This usually means the local cached copy is corrupted. Clear the Office cache by closing all Office apps, then pressing Win + R, typing %localappdata%\Microsoft\Office\16.0\OfficeFileCache, and deleting all files in that folder. Restart the Office app and open the file again.

Co-Authoring Is Not Working

Co-authoring requires all users to have Office 2016 or later, Office for the web, or Office for Mac. If one user is using Office 2013, the file will lock for that user and open read-only for others. Upgrade all users to a supported version. Also verify that the file is stored in OneDrive or SharePoint, not in a local folder synced by OneDrive.

Files On-Demand vs Always Keep on This Device: Impact on Read-Only Behavior

Item Files On-Demand Always Keep on This Device
Description Files are downloaded only when opened Files are downloaded and synced continuously
Effect on read-only May open read-only if file is not fully downloaded before the lock is requested Less likely to cause read-only because the file is already present locally
Best for Users with limited disk space Users who frequently edit files offline

You can switch between these modes by right-clicking a file or folder in File Explorer and selecting Always keep on this device or Free up space. For shared folders, using Always Keep reduces the chance of read-only errors caused by incomplete sync.

You now know the specific causes of read-only Office files in OneDrive shared folders and the exact steps to fix each cause. Start by checking if another user has the file open and wait for the lock to expire. If the problem continues, check the SharePoint library settings for required checkout. For persistent issues, reset the OneDrive sync client or clear the Office file cache. As an advanced tip, use the OneDrive admin center > Sync > Block sync of specific file types to prevent known problematic file types from causing lock conflicts across your organization.

ADVERTISEMENT