Home › Knowledgebase › KB-1583

File Locked Open After Unexpected Crash Workstation

Summary

This guide helps you troubleshoot and resolve: File Locked Open After Unexpected Crash Workstation. Follow the steps below to fix the issue.

Quick Tip: Need immediate assistance? 💻 Open a Ticket

Common Causes

When an application closes unexpectedly or a workstation crashes, a document may remain "locked" even after you reopen the program. You will typically see a warning stating that the file is already open or being used by another user—often your own username. This happens because the application failed to release the file handle during the crash. This guide explains how to release the lock safely without restarting your entire computer.

Quick Fix Steps

  1. Close all instances of the application that was using the file.
  2. Open Task Manager and end any lingering processes for that application.
  3. Check for hidden lock or temporary files in the document's folder and delete them if safe to do so.
  4. Reopen the application and try opening the file again.

Detailed Instructions

Close the Application Completely

  1. Save any work in other open documents if possible.
  2. Close the application window using the X button or select File > Exit.
  3. Check the taskbar and system tray (near the clock) for any remaining icons for the application. Right-click them and choose Close or Exit.

End Lingering Processes in Task Manager

  1. Press Ctrl + Shift + Esc to open Task Manager.
  2. If you see a simplified view, click More details at the bottom.
  3. Select the Processes tab.
  4. Look for the application name (for example, WINWORD.EXE, EXCEL.EXE, or Acrobat.exe).
  5. Right-click each instance and select End task.
  6. Confirm the action if prompted.
Ending a task will close the application immediately. Any unsaved changes in other open documents may be lost. Only end tasks for the application that is reporting the locked file.

Check for Orphaned Lock Files

  1. Open File Explorer and navigate to the folder containing the locked document.
  2. Look for hidden files that start with a tilde (~) or end in .lock, .tmp, or .~lock. These are often created by Office applications and other programs.
  3. Examples include ~$Document1.docx or filename.xlsx.lock.
  4. If no one else is actively using the file, right-click the lock file and select Delete.
  5. Empty the Recycle Bin if you want to ensure the lock is fully cleared.
You may need to enable hidden items in File Explorer. Select the View tab and tick the Hidden items checkbox.

Reopen the Document

  1. Launch the application normally.
  2. Open the document from File > Open or from File Explorer.
  3. If the file opens without the lock warning, the issue is resolved.

Troubleshooting

The File Is Still Locked

You Cannot Delete the Lock File

The Issue Happens Frequently

To help prevent data loss, enable AutoSave or AutoRecover in your application. In Microsoft Office, go to File > Options > Save and ensure AutoRecover is turned on.

If the file remains locked after following these steps, or if you are unable to access important business documents, please contact your IT support team for assistance.

Still Having Issues?

Need more help? If the issue persists after trying these steps, please open a support ticket and our team will assist you.

💻 Open a Ticket