Document is Locked, Read-Only, or In-Use by Other User

Issue

When you open or save a Word, Excel, or PowerPoint document, a message says that the document is read-only or is locked for editing by another user:

[document] is locked for editing by [user]. Open Read Only or click Notify to open read only and receive notification when the document is no longer in use.

The user named in the message may be you.

Environment

  • Microsoft Windows
  • Microsoft Office
    • Excel
    • PowerPoint
    • Word
  • GRCC network drives
    • J: drive (personal home folder)
    • S: drive (shared folders)

Information

When you open an Office document, the application creates a hidden temporary file in the same folder. This file's name starts with ~$, and it tells Office that the document is in use. Office normally deletes the file when you close the document.

If your computer goes to sleep or loses its network connection while a document on a network drive is open, the temporary file may not be deleted. Office then treats the document as still in use, even after you close it, and opens it as read-only.

Additional information can be found on the Microsoft website.

Resolution

To prevent this issue, save and close documents stored on network drives before you lock your computer or leave it to go to sleep.

Delete the Temporary File

  1. If the message names another person, check with them to make sure they do not have the document open.
  2. Close all Office applications.
  3. In File Explorer, open the folder that contains the document.
  4. Select View > Show > Hidden items.
  5. Find the file whose name starts with ~$ followed by all or part of the document's name.
  6. Delete that file, and then open the document again.

Save a Copy and Replace the Original

Warning: Replacing the original overwrites any changes other people made to it after you saved your copy.

If you cannot delete the temporary file, or the document is still locked:

  1. Open the document as read-only, and save a copy to your computer (for example, to Documents or Desktop).
  2. Make your changes in the copy, and then save and close it.
  3. Copy the file back to the network drive, and choose to replace the original.
Error: If you still cannot delete or replace the locked file, contact the IT Support Desk at 616-234-4357. Provide the full path to the file. A ticket will need to be created for the Infrastructure team.