How to Fix OneDrive Editing Locks for Shared Pages
Question details
Users need a way to unlock a shared OneDrive or SharePoint page that remains locked for editing after users have signed out.

- Product
- OneDrive and SharePoint
- Device & OS
- not provided
- Scenario
- Collaborating on shared documents or pages where an editing session does not terminate correctly on the server.
- Observed behavior
- The file or page is restricted and locked for editing by a specific user, despite that user having closed the document and signed out of their account.
Check the document notification to identify the exact user who currently holds the editing lock, and verify if you have Microsoft 365 Administrator credentials if advanced PowerShell steps are required.
Ask the Previous Editor to Reopen and Close the Page
The quickest way to clear a lingering server lock is to have the affected user establish a new session and close it properly.
Read the locked file prompt to determine which user's account is currently locking the SharePoint page or OneDrive document.
Ask the identified user to log back into their account and open the locked page or document in their browser or desktop application.
Have the user make a minor edit, wait for the file to finish syncing or saving, and then manually close the browser tab or document window to successfully clear the session.

Revoke User Sessions via SharePoint Online PowerShell
If the lock remains after the user has signed out, a Microsoft 365 administrator can forcefully end the user's active sessions to release the document.
Experience Hassle-Free Document Collaboration with WPS Office
Tired of dealing with lingering server locks and syncing delays in Microsoft Office? Switch to WPS Office for a lightweight, highly compatible alternative. Enjoy seamless real-time co-editing without the frustrating lockouts.
- 1. Download the software: Visit the official WPS website to download the free installation package for your PC or Mac.
- 2. Open existing files: Launch WPS Office and directly open your existing Word, Excel, or PowerPoint files with perfect formatting preservation.
- 3. Collaborate in the cloud: Save your document to WPS Cloud, generate a sharing link, and invite your team to co-edit the file in real-time without locking issues.

Frequently Asked Questions
Why does my OneDrive file say it is locked for editing by another user?
This happens when another user currently has the file open, or if a previous editing session did not terminate correctly on the server due to a browser crash, sudden power loss, or network interruption.
How long does it take for a SharePoint editing lock to time out?
If an editing session disconnects improperly, SharePoint will generally attempt to release the lock automatically after about 10 minutes of inactivity, though in some instances it can take up to an hour.
Can I unlock a shared document if I am not an administrator?
Without administrator privileges, your only options are to wait for the server lock to time out automatically or directly ask the user who holds the lock to reopen the file and close it properly.




