Skip to main content

File Unlocker

Detect processes locking files, folders, or external drives. Confirm to terminate locking processes, safely rename without overwriting, or move to Recycle Bin / Trash.

Free & Open Source Files unlock file lock in use handle
Version 1.0.13 Updated 2026-11-25
Download ZTools to Install Install ZTools, then search for "File Unlocker" in the Plugin Marketplace

Screenshots

File Unlocker - Preview 1

Key Features

Detect file locks, terminate locking processes after confirmation, or move to Trash

file unlock / unlock / who locked / cannot delete / file in use

Detect background processes preventing safe ejection of USB drives

usb unlock / eject / safe eject / drive in use

Overview & Usage Guide

Neither macOS nor Windows reads the clipboard or scans directories/disks automatically on startup. Only after you actively select a target does the plugin inspect actual locking processes and ask for confirmation before acting.

Usage

  • Windows:
    • The top bar and action panel provide "Select File to Check", "Select Folder to Check", and a manual "Check Path in Clipboard" action. You can also drag and drop a file/folder or paste a full path into the search box to check automatically.
    • The usb unlock entry lists only removable drives and USB/SD/MMC external partitions for selection without automatically scanning handles on the drive.
    • From the action panel on a target or process row, you can run "Terminate Locking Process (Unlock)", "Unlock All", "Unlock and Move to Recycle Bin", or "Clear Current Target" (Ctrl+Shift+Backspace).
  • macOS:
    • Select a file or folder, or paste a full path (quotes allowed) and press Enter to see which processes are holding locks. On a target or process item, "Clear Current Target" is bound to Cmd+Shift+Backspace.
    • The external drive entry lists mounted external drives recognized by the system, or lets you manually pick a mount directory.
    • Selecting a process: Enter sends a normal termination signal, while force kill is in the action panel; a timed-out normal termination does not automatically escalate to force kill. Terminating a process may cause loss of unsaved data, so processes are listed for confirmation beforehand. The client re-verifies process identity and lock state before sending signals and re-scans afterward.
    • On a target row, you can re-scan, copy the path, unlock and move to Trash, or open the rename form. Renaming stays within the same folder and aborts if a target with the same name already exists. Trash supports files and non-empty folders, which can be restored from Finder's Trash. Operations stop if locks remain, scanning fails, the target is replaced, a symlink/hardlink is encountered, or the target is a system-critical directory, disk root, or client data directory.

Detection results only reflect processes visible under your current permissions. Folder scans do not follow symbolic links or cross nested mount points, and a failed scan is never reported as "not locked". "No locks found" is not a guarantee that a drive can be safely ejected—always use Safe Eject or Finder to eject disks.

Platforms & Requirements

  • Supported: Windows, macOS
  • Requires client version 1.1.8.5 or later.
  • macOS requires a client build with file unlocking capability and native file access components.
  • Windows implementation is pending physical-device verification.

Frequently Asked Questions (FAQ)

How do I install and launch "File Unlocker" in ZTools?

Open the Plugin Marketplace inside ZTools Workbench, search for "File Unlocker", and install it. Then type its name in the launcher bar to open it.

Is "File Unlocker" free? Which platforms are supported?

Yes, it is free to install with source code published in the ZTools-extensions repository. Supported platforms: Windows / macOS.