Some parts of this article have been written with AI. Be aware that AI can make mistakes.
Applies to : Vista for Linux Vista for Windows

Error 2004 - File access error: file is locked or used by another process.

Symptoms

You encounter the error message "[2004] File access error: file is locked or used by another process." when opening a document in Vista.

Causes

  1. The file is currently opened and locked exclusively by another program or another instance of Vista.
  2. An antivirus scanner, backup tool, or cloud synchronization service (e.g., OneDrive, Dropbox) is holding a lock on the file.
  3. The file system encountered an I/O read error while accessing the storage device.

Solutions

  1. Close any other application or Vista instance that might have the file opened.
  2. Wait a few moments for cloud sync services or antivirus background checks to release the lock on the file.
  3. Restart your computer if the file lock persists due to a ghost process.