logo
search
File Sharing Problems

How to Fix Office Files Locked or Open for Editing on Shared Drive

Huda QurayshiHuda Qurayshi Oct 21, 2026 869 views

Question details

Users are unable to edit Microsoft Office files stored on a shared drive or SharePoint because the files appear as read-only or are locked by another user.

How to Fix Office Files Locked or Open for Editing on a Shared Drive
Product
Microsoft Office 2019, SharePoint
Device & OS
not provided
Scenario
Opening and attempting to edit a shared document on a network drive or a SharePoint document library.
Observed behavior
The file opens in read-only mode, or a prompt indicates the file is locked for editing by another user, even when the file appears to be closed by everyone.
Before you start

Verify whether the affected file is stored on a local network drive, a file server, or a SharePoint Online document library, as the troubleshooting steps differ based on the storage environment.

Solution 1Recommended

Force Close Hidden Background Office Processes

Use this solution if a file remains locked on a local or network drive because a hidden instance of Word or Excel failed to close properly.

When an Office application crashes or closes abruptly, a background process may continue running, keeping a lock on the file. Ending these hidden processes will release the lock and allow you to edit the document.

1
Open Task Manager

Press Ctrl + Shift + Esc on your keyboard to open the Windows Task Manager.

2
Locate Office Processes

Scroll through the 'Processes' tab or 'Details' tab to find WINWORD.EXE or EXCEL.EXE.

3
End the Task

Right-click the process and select 'End task' to force the application to close completely. Repeat this for any other duplicate Office processes.

4
Reopen the File

Navigate back to the shared drive and open the file again to confirm the read-only lock has been removed.

Force Close Hidden Background Office Processes
Quick Verification: If you are unsure who locked the file, ask all users with access to the shared folder to perform this check to ensure no background processes are holding the file hostage.
Free Microsoft Office alternative

Avoid File Locking Issues with WPS Office Collaboration

Tired of dealing with locked files, hidden background processes, and complex SharePoint check-out errors? WPS Office is a free, lightweight alternative that offers seamless cloud collaboration, ensuring multiple users can work without encountering frustrating file locks.

  1. 1. Download WPS Office: Visit the official WPS website and click the free download button for your operating system.
  2. 2. Install the Software: Run the downloaded installer file and follow the simple on-screen instructions to set up WPS Office.
  3. 3. Start Collaborating: Open your shared files in WPS Office and use the built-in cloud sharing features to collaborate without file locks.
Fully compatible with Microsoft Office formats including DOCX, XLSX, and PPTXBuilt-in WPS Cloud allows for smooth real-time co-editing without read-only restrictionsLightweight architecture prevents hidden background processes from locking local filesFamiliar user interface makes migrating from Microsoft Office effortless
microsoft office alternative - wps office

Frequently Asked Questions

Why does Office say my file is locked when no one else is using it?

This usually happens when an Office application crashes or is closed improperly. It can leave a hidden background process (like WINWORD.EXE) running on your computer, or leave a temporary hidden lock file on the network drive.

How can I tell who has the shared Excel file locked on the network?

The locked file prompt will often display the username of the person who has the file open. If it does not, an IT administrator can use the 'Shared Folders' MMC snap-in on the file server to view exactly which user session holds the open file lock.

Does SharePoint automatically check files back in when I close them?

No. If a SharePoint document library is explicitly set to require files to be checked out for editing, closing the document does not automatically check it back in. The user must manually select the Check In option to restore edit access for others.