Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

iTechGuides is reader-supported. When you buy through links on our site, we may earn an affiliate commission. As an Amazon Associate I earn from qualifying purchases. Learn more

A “file in use” error can remain after you close the visible window because an application process may still hold the file open, another device may have it open, or a server may not yet have cleared its lock. Identify the process or shared-file cause first; then close the owning application normally and retry. Avoid forcing a handle closed as a routine fix.

Why a closed file can still be in use

Closing a document window does not necessarily end the application process or release its file handle. Office files can also remain locked because they are open on another device, or because a server needs time to clear a stale lock. The message alone does not identify which cause applies.

Start by confirming the exact file and operation that fails—such as deleting, moving, renaming, overwriting, or opening it. Close the visible app and any document tabs that might refer to that file, then retry once.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Find which process is holding the file

Microsoft’s Sysinternals tools can search active processes for open file references. Mark Russinovich describes Handle as “a utility that displays information about open handles for any process in the system.”

#1 Best Overall
Sale
Seagate 2TB Portable Hard Drive | USB 3.0 (STGX2000400)
  • Easily store and access 2TB to content on the go with the Seagate Portable Drive, a USB external hard drive
  • Designed to work with Windows or Mac computers, this external hard drive makes backup a snap just drag and drop
  • To get set up, connect the portable hard drive to a computer for automatic recognition no software required
  • This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable
  • The available storage capacity may vary.
Tool Interface and use Important limits
Process Explorer GUI for inspecting active processes and searching handles or DLLs; search for the full path or a distinctive filename fragment. Microsoft’s page lists version 17.14, published September 10, 2026, and support for Windows 11 or higher and Windows Server 2019 or higher.
Handle Command-line search for open file references by name fragment; can identify processes whose open object names match. Administrative privilege is required for its documented use. Microsoft’s page lists Handle v5.0, published October 26, 2022. Its handle-closing operation is separate from diagnosis and can cause instability.

Use Process Explorer

  1. Open Process Explorer and use its handle search to search for the file’s full path or a distinctive part of its name.
  2. Review the matching process to identify which application has a handle for the file.
  3. Close that application normally before retrying the file operation.

Use Handle

  1. Run Handle with administrative privilege and search for a distinctive filename or path fragment.
  2. Use the matching process information to identify the application holding the file.
  3. Close the application through its normal interface and retry the operation.

For either tool, treat a match as a clue to the owner, not an instruction to force-close the handle. Microsoft warns that Handle’s close-handle operation can destabilize the application or system.

Release the lock safely

  1. Save other work in the identified application, then close the file and application through its normal interface.
  2. If the app window is gone but its process remains, close that process only if it is clearly the application that owns the file and it is safe to do so.
  3. Retry the original operation. If the error persists, check whether the file is open elsewhere or held by a remote session.

Do not use a forced handle close as the routine remedy. Releasing a handle outside the owning application can leave that application or the system unstable.

Rank #2
Seagate Portable 5TB External Hard Drive HDD – USB 3.0 for PC, Mac, PS4, & Xbox - 1-Year Rescue Service (STGX5000400), Black
  • Easily store and access 5TB of content on the go with the Seagate portable drive, a USB external hard Drive
  • Designed to work with Windows or Mac computers, this external hard drive makes backup a snap just drag and drop
  • To get set up, connect the portable hard drive to a computer for automatic recognition software required
  • This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable
  • The available storage capacity may vary.

If Excel says the file is already in use

An “another user” message does not necessarily mean another person has the workbook open. Microsoft says the same user may have it open on another device, or a previous application instance may not have closed correctly. Check your other computers and devices, then allow a few minutes for the server to clear a stale lock before trying again. Microsoft’s Excel guidance also recommends supported co-authoring with Microsoft 365 Excel or Excel for the web, with the file stored in OneDrive, OneDrive for Business, or SharePoint.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

If the file is on a shared network location

A local process search may not reveal a lock held by a process on another computer or by the server hosting the share. If the local search does not explain the error, ask the share administrator to check remote sessions or locks. The steps depend on the server or storage system, so do not assume that a local Windows handle tool can clear a remote lock.

Rank #3
Seagate Portable 1TB External Hard Drive HDD – USB 3.0 for PC, Mac, PlayStation, & Xbox, 1-Year Rescue Service (STGX1000400) , Black
  • Easily store and access 1TB to content on the go with the Seagate Portable Drive, a USB external hard drive.Specific uses: Personal
  • Designed to work with Windows or Mac computers, this external hard drive makes backup a snap just drag and drop. Reformatting may be required for Mac
  • To get set up, connect the portable hard drive to a computer for automatic recognition no software required
  • This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable
  • The available storage capacity may vary.

When an Access lockfile may be involved

Microsoft documented a specific Access for Microsoft 365 issue in Current Channel Version 2201 (Build 14827.20158). VBA references could leave Access running in Task Manager without an open window and leave a database lockfile active. Microsoft said the issue was fixed in Version 2201 (Build 14827.20192). This is a version-specific historical example, not a general explanation for every file-in-use error. See Microsoft’s Access support notice for the original context.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Further reference

For administrators who want more background on identifying processes with files or folders open, Microsoft’s sample chapters from Windows Sysinternals Administrator’s Reference discuss Handle and related troubleshooting. The reference is supplementary; the diagnostic and safe-close steps above are sufficient for many cases.

Quick Recap

SaleBestseller No. 1
Seagate 2TB Portable Hard Drive | USB 3.0 (STGX2000400)
Seagate 2TB Portable Hard Drive | USB 3.0 (STGX2000400)
This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable; The available storage capacity may vary.
$129.99
Bestseller No. 2
Seagate Portable 5TB External Hard Drive HDD – USB 3.0 for PC, Mac, PS4, & Xbox - 1-Year Rescue Service (STGX5000400), Black
Seagate Portable 5TB External Hard Drive HDD – USB 3.0 for PC, Mac, PS4, & Xbox - 1-Year Rescue Service (STGX5000400), Black
This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable; The available storage capacity may vary.
$229.99
Bestseller No. 3
Seagate Portable 1TB External Hard Drive HDD – USB 3.0 for PC, Mac, PlayStation, & Xbox, 1-Year Rescue Service (STGX1000400) , Black
Seagate Portable 1TB External Hard Drive HDD – USB 3.0 for PC, Mac, PlayStation, & Xbox, 1-Year Rescue Service (STGX1000400) , Black
This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable; The available storage capacity may vary.
$119.80
Bestseller No. 4
Seagate Portable 4TB External Hard Drive HDD – USB 3.0, 1-Year Rescue
Seagate Portable 4TB External Hard Drive HDD – USB 3.0, 1-Year Rescue
This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable; The available storage capacity may vary.
$208.99
Best Value
Sale
UnionSine 500GB Ultra Slim Portable External Hard Drive HDD-USB 3.0
  • [Upgraded Version] - This external hard drive features a mirrored logo stripe combined with a striped anti-slip design, and the rounded corners of the casing make it easier to grip. The stripes also have a heat dissipation function, ensuring stable and fast data transfer.
  • 【Ultra-thin and quiet】 - The motherboard adopts JMicron 578 noise-free solution, giving you a quiet working environment. Lightweight and portable size designed to fit in your pocket for easy portability.
  • 【Ultra-Fast Data Transfers】 - Pairing this external hard drive with JMicron 578 solution USB 3.0 and USB 2.0 interfaces enables blazing-fast data transfer. It boasts theoretical read speeds of up to 125MB/s and write speeds of up to 103MB/s.
  • 【Plug and Play】 - With no software to install, just plug it in and the drive is ready to use.The hard disk chip is wrapped with an aluminum anti-interference layer to increase heat dissipation and protect data.
  • 【What You Get】 - 1 x Portable Hard Drive, 1 x USB 3.0 Cable, 1 x User Manual, Gift-type shell packaging ,Three-year manufacturer's warranty and free technical support services.
Rank #4
Seagate Portable 4TB External Hard Drive HDD – USB 3.0, 1-Year Rescue
  • Easily store and access 4TB of content on the go with the Seagate Portable Drive, a USB external hard drive.Specific uses: Personal
  • Designed to work with Windows or Mac computers, this external hard drive makes backup a snap just drag and drop
  • To get set up, connect the portable hard drive to a computer for automatic recognition no software required
  • This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable
  • The available storage capacity may vary.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.