October DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsClean PCRecommendedOne scan can reveal what keeps slowing WindowsLook for cleanup and repair opportunities.Run ScanOctober DealsAmazon USDeal season is back - check today's better picksAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
Redmond desk3 min

Find What Still Has Your File Open in Windows

A closed window may leave a file handle open. Find the process or remote lock before forcing a file operation.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

A closed window does not necessarily mean Windows has released the file. A background app may still hold it open; an Office file may also be open on another device, or a shared server may need a few minutes to clear its lock. Find the process or location that still owns the lock before trying to delete, move, rename, overwrite, or reopen the file.

First, confirm what is still using the file

  1. Note the exact file path and the operation that fails: opening, deleting, moving, renaming, or overwriting. Close the visible application and any document tabs that could refer to the file, then retry once.

    As an Amazon Associate I earn from qualifying purchases.

  2. If the warning remains, search for the file’s open handle with Microsoft Sysinternals Process Explorer or Handle. Search using the full path or a distinctive part of the filename. These tools can identify an active process associated with a matching handle.

    Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  3. Close the application that owns the file through its normal interface, then retry. If its window is gone but its process remains, save other work first. End that process only when you are sure it is the application holding the file and closing it is safe.

    #1 Best Overall
    SANDISK 128GB Ultra Flair, USB-A Flash Drive, Up to 150MB/s Read Speeds | USB Flash Drive, Up to 15x Faster than standard 2.0, Password Protection, Durable, Sleek Metal Casing, USB 3.0, Silver/Black
    • High-speed USB 3.0 performance of up to 150MB/s(1) [(1) Write to drive up to 15x faster than standard USB 2.0 drives (4MB/s); varies by drive capacity. Up to 150MB/s read speed. USB 3.0 port required. Based on internal testing; performance may be lower depending on host device, usage conditions, and other factors; 1MB=1,000,000 bytes]
    • Transfer a full-length movie in less than 30 seconds(2) [(2) Based on 1.2GB MPEG-4 video transfer with USB 3.0 host device. Results may vary based on host device, file attributes and other factors]
    • Transfer to drive up to 15 times faster than standard USB 2.0 drives(1)
    • Sleek, durable metal casing
    • Easy-to-use password protection for your private files(3) [(3)Password protection uses 128-bit AES encryption and is supported by Windows 7, Windows 8, Windows 10, and Mac OS X v10.9 plus; Software download required for Mac, visit the SanDisk SecureAccess support page]
  4. If the file is an Excel workbook, check whether it is open on another computer or device under your account. Microsoft notes that a server can take a few minutes to release a stale lock: Excel file is locked for editing.

  5. If the file is on a shared network location and no local process explains the warning, ask the share administrator to check remote sessions or locks. The right procedure depends on the server or storage system.

Choose a tool to find the process

Tool Interface What it can show Important consideration
Process Explorer Graphical Search for handles or DLLs and inspect active processes. Useful when you want to investigate the process list visually. 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 open file references using a filename or path fragment and identify matching processes. Administrative privilege is required for its documented use. The page lists Handle v5.0, published October 26, 2022; do not treat its handle-closing function as the routine fix.

Search safely with Handle

Microsoft describes Handle as “a utility that displays information about open handles for any process in the system.” The documented utility can search for matching open object names; use the result to identify the owning application, not as a reason to close the handle directly. See Microsoft’s Handle documentation for the current usage details.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #2
Sale
Lexar D40E 128GB Dual USB 3.2 Gen 1 Type-C Jump Drive, Champagne Silver
  • USB-C 2-in-1 storage OTG: The Lexar JumpDrive Dual Drive D40E features USB Type-A and Type-C connectors in a slim, portable form factor for easy device compatibility
  • Transfer speeds up to 100MB/s: Based on internal testing, performance may vary depending upon the host device, interface, and usage conditions. 1MB=1,000,000 bytes
  • Plug and Play: Widely compatible with USB Type-C smartphones, tablets, laptops, Macs, and traditional Type-A devices, no software installation required. The 360° swivel design allows for easy switching between connectors without the hassle of losing a cap
  • Durable & Compact: The Lexar D40E USB memory stick features a metal enclosure, withstands temperatures from 0° to 50° C (32°F to 122°F), and is lightweight at 26g with dimensions of 70.4 x 16.9 x 11.7mm
  • Security & Warranty: Securely protects files using an advanced security software solution with 256-bit AES encryption. Backed by a Lexar 3-year limited warranty
  • Run Handle with administrative privileges, then search for a distinctive filename or path fragment.

  • Use the matching process name to decide which application to close normally.

  • Retry the file operation after closing the application.

    Rank #3
    Sale
    SIMMAX 32GB Memory Stick USB 2.0 Flash Drives Swivel Thumb Drive Pen Drive (32GB Purple)
    • GOOD VALUE PACKAGE - 1 Pack 32GB Memory Stick USB 2.0 Flash Drives with great cost performance and high quality.
    • BIG CAPACITY - The available capacity: 29.10GB-29.8GB, You can save the data of movies, music, photos, designs, programs, manuals, handouts in a high speed.Good performance in digital data storing, transferring and sharing with families, friends, workmates, clients and machines.
    • EASY TO USE & PLUG AND WORK - Support windows 7 / 8 / 10 / Vista / XP / 2000 / ME / NT Linux and Mac OS, Compatible with USB2.0 and below.
    • TWISTTURN DESIGN & EASY CARRY - The metal clip rotates 360° round the ABS plastic body which with rubber oil skin feeling finish. The capless design can avoid lossing of cap, and providing efficient protection to the USB port.
    • WARRANTY & SUPPORT - SIMMAX logo is laser printed on the USB connector surface, our products are of good quality and we promise that any problem about the product within one year since you buy.

Microsoft warns that forcibly closing a raw handle can cause application or system instability. Prefer closing the owning application; do not use a close-handle operation as a standard workaround.

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

When an Office file says it is already in use

Excel workbook

An “another user” lock does not necessarily mean another person opened the workbook. Microsoft says the same user may have it open on another device, or a previous application instance may not have closed properly. Check your devices and allow a few minutes for the server to clear a stale lock before retrying.

For collaborative editing, Microsoft recommends supported co-authoring with Microsoft 365 Excel or Excel for the web, with the file stored in OneDrive, OneDrive for Business, or SharePoint. See Microsoft’s Excel lock guidance.

Rank #4
Lexar A30E USB 3.2 Gen 1 Flash Drive 64GB 3-Pack
  • Lightweight and convenient: Lexar JumpDrive A30E (USB Type-A) boasts a slim, portable design for easy device compatibility; lightweight at 7.41 g
  • Transfer speeds up to 100 MB/s: 10x faster than standard USB 2.0 drives; Based on internal testing, performance may vary depending upon the host device, interface, and usage conditions
  • Wide compatibility: Compatible with tablets, laptops, Macs, and traditional Type-A devices, no software installation required; Reliably stores photos, videos & files
  • Compact: Features a push-button retractor and a lanyard loop for on-the-go use
  • Enhanced security: Lexar DataShield protects files, easily creates a password-protected safe with auto-encryption; Files deleted from the safe are securely erased and can't be recovered

Access database

Microsoft documented a particular Access for Microsoft 365 Current Channel issue in which VBA references could leave Access running in Task Manager without an open window and leave a database lockfile active. The notice identifies the affected build as Version 2201 (Build 14827.20158) and says 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 warning. See Microsoft’s Access support notice.

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

If the warning persists

  • Confirm that the search used the right file path, especially if more than one copy has the same name.

    Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  • Check whether another device or a remote user still has the document open.

    Best Value
    RAOYI 5 Pack 64GB USB Flash Drive, USB 2.0 Memory Stick Thumb Drives Jump Drive Pen Drive for PC Laptop Computer - 64G Multipack
    • Large Capacity and Fast Transmission : The USB flash drives available in 5 mixed colors, it's great for you to classify and store different files; The reading and writing speed of the USB 2.0 memory stick can reach more than 12MB/s and 5MB/s to ensure high-speed data transmission
    • Retractable and Portable Design :The pen drive features a retractable connector for you to extend it from the body easily at the push of a thumb; The capless design eliminates the hassle of losing usb drive caps; Compact size and lanyard hole is convenient for you to attach to your keychain and carry everywhere
    • Plug and Play : No need to install any software, just simply plug the memory stick into the port of your USB-compatible devices such as computer, laptop to start data storage or transmission; Thumb shape and non-slip sliding switch is convenient for you to hold and plug
    • Wide Compatibility : Supports Windows 7/8/10 / Vista / XP / 2000 / ME / NT /Linux, Mac OS and TV, car, audio device with USB port.; 5 pcs 64GB thumb drives meet your most needs of daily storage for photos, music, videos and files
    • What You Get : 5 Pack 64GB USB 2.0 Flash Thumb Drives (Mixed Colors: Black Red Blue Green Purple) and Technical Support; NOTE: The default format system of the 64GB usb stick is exFAT
  • For network shares, involve the administrator if the lock is not explained by a process on your PC.

  • Do not delete a lockfile or force-close a handle merely because the visible app window has disappeared; first establish which application or session owns it.

Microsoft’s sample chapters from Windows Sysinternals Administrator’s Reference include supplementary material on Handle and identifying processes with open files or folders; they are not needed to carry out this troubleshooting sequence.

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

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.

Leave a Reply

Your email address will not be published. Required fields are marked *

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

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Crashes, No Sound, or Screen Glitches?Free driver scan
PC Slower Than It Used to Be?Free scan - under a minute

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.