logo
search
Permission & Access Issues

Fix 'File Locked for Editing by Another User' in Microsoft Office

Khadija KhanKhadija Khan Sep 30, 2026 891 views

Question details

Users need to understand why Office files get locked for editing, why a generic 'another user' message appears instead of a specific name, and how to unlock the document.

How to Fix 'File Locked for Editing by Another User' in Microsoft Office
Product
Microsoft Office
Device & OS
not provided
Scenario
Opening a shared document, a document on a network drive, or a file after an unexpected application crash.
Observed behavior
Microsoft Office prevents editing by displaying a 'File locked for editing by another user' message, often failing to identify the specific user holding the lock.
Before you start

Verify that no other users are actively editing the document on a shared network drive or cloud storage before attempting to force-unlock it.

Solution 1Recommended

Remove Stale Temporary Owner Files

Resolve file locks caused by an unexpected Office crash that leaves behind hidden temporary files.

When you open a file, Microsoft Office creates a temporary owner file (usually beginning with '~$') in the same directory. If Office closes unexpectedly, this file may remain and cause a false lock message.

1
Close Microsoft Office

Save any open work and completely close all Microsoft Office applications.

2
Enable hidden items in File Explorer

Open File Explorer, go to the 'View' tab, and check the box for 'Hidden items' so you can see hidden system files.

3
Locate and delete the temporary file

Navigate to the folder containing the locked document. Look for a file with the same name but starting with '~$'. Right-click this file and select 'Delete'.

Remove Stale Temporary Owner Files
File Unlocked: Deleting the stale temporary owner file usually restores full editing access to the original document.
Free Microsoft Office alternative

Avoid File Locking Hassles with WPS Office

Tired of confusing file locks and hidden temporary files? Try WPS Office, a fast, lightweight, and completely free Microsoft Office alternative that offers seamless real-time collaboration and perfect compatibility with Word, Excel, and PowerPoint files.

  1. 1. Download WPS Office: Visit the official WPS website and download the free installer for your operating system.
  2. 2. Install the software: Run the setup file and follow the quick installation prompts.
  3. 3. Open your files instantly: Double-click any Word, Excel, or PowerPoint document to open it seamlessly in WPS Office without lock errors.
100% compatible with Microsoft Office formats (.docx, .xlsx, .pptx)Smooth real-time cloud co-authoring without hidden file-lock errorsLightweight installation and incredibly fast launch speedsFamiliar user interface for a zero-learning-curve transition
microsoft office alternative - wps office

Frequently Asked Questions

Where does Microsoft Office get the name for the locked file message?

Office extracts the name from a temporary owner file (starting with '~$'), a file-lock record, or a server session on your network. If the exact username isn't passed by the server, it defaults to generic text.

Why does it say 'another user' instead of a specific person's name?

This usually happens on shared network locations or third-party cloud servers where the system either fails to provide the person's full name credentials to Office, or the lock is held by a system process rather than a specific user account.

What is a stale owner file and how is it created?

A stale owner file is a temporary file (e.g., '~$Document.docx') that Microsoft Office creates while you are editing. If the app crashes or closes improperly, this file isn't deleted automatically, tricking Office into thinking the file is still open.

Can I edit a file while it is locked for editing?

You cannot save changes directly to the original locked file. However, you can open it in 'Read-Only' mode, make your edits, and use 'Save As' to create a new copy of the document.