Website review
This review may include AI-generated content and is not individually verified. Domain, certificate and other facts come from the observed data on this page.
What is LockHunter?
LockHunter is a free Windows utility for finding and releasing files or folders that are locked by a process you can't identify. When Windows refuses to delete, rename or move a file because "another program is using it," LockHunter shows which process holds the lock, gives you details about that process, and lets you unlock, delete, copy or rename the file. It works on both 32-bit and 64-bit Windows.
Its practical value comes from how it handles mistakes and stubborn locks:
- Recoverable deletion: Unlike similar tools, it sends deleted files to the Recycle Bin, so an accidental deletion can be undone.
- Process-level control: You can kill the locking process, remove it from the hard drive, or unload DLLs from it — useful when dealing with malware or misbehaving software.
- Deferred deletion: If a file can't be freed while Windows is running, you can schedule it for deletion at the next restart.
- Explorer integration: It adds itself to the right-click menu, so you can act on a locked file without opening the app separately.
A typical use: a video file won't delete after a player crashed, or a malware sample keeps respawning. You right-click the file, see the locking process, and either unlock it or queue deletion for the next reboot.
Next step: If a file is locked right now, install LockHunter, right-click the file in Explorer, and check the listed process before killing anything — confirm it isn't a system process you actually need. For related file-management needs, USB Safely Remove (from the same developer) handles drives that won't eject.
How do I use LockHunter to delete a file that's locked by a process I can't identify?
Open LockHunter, point it at the locked file, and let it show you which process holds the handle; then decide whether to unlock, delete, or kill that process. The tool is built exactly for the "something is blocking this file and I don't know what" case, and its Explorer-menu integration means you can usually right-click the file rather than hunt through folders.
A practical sequence
- Right-click the file in Explorer and choose the LockHunter entry, or launch LockHunter and browse to the file. You can target a whole folder, not just a single file.
- Read the process list before acting. LockHunter shows the processes locking the file or folder and gives detailed information on each one. This is the step that answers your actual question: the unknown blocker is named here.
- Judge the process. A recognisable app (an editor, a sync client, an antivirus scanner) usually means you should close that app normally. An unfamiliar or suspicious process is where LockHunter's malware-fighting use case applies.
- Choose the least destructive action that works:
- Unlock the file if you only need to move, rename, or open it.
- Delete it if removal is the goal. LockHunter sends deleted files to the Recycle Bin, so a mistake is recoverable — a meaningful safety net compared with tools that delete outright.
- Kill the locking process only when you accept losing that process's unsaved work.
- Delete at next OS restart when the handle cannot be released while Windows is running — common with system-level or driver-adjacent files.
- Reboot and verify if you used the restart option, then confirm the file is gone or accessible.
Deciding between the actions
| Situation | Sensible action | Trade-off |
|---|---|---|
| You just need to rename or move the file | Unlock | The locking process may re-grab the file |
| The blocker is an app you can close yourself | Close the app, then retry | Safest; preserves unsaved work |
| The blocker is unknown or unwanted | Kill process, then delete | You lose that process's state |
| The handle survives every attempt | Delete at next restart | Requires a reboot; result is deferred |
Example
A downloaded installer refuses to delete because "another program is using it." You open LockHunter from the Explorer menu, see an unfamiliar process holding the handle, kill it, and delete the file — then find it in the Recycle Bin if you change your mind. If the same file resists after that, schedule deletion at restart rather than fighting it.
Cautions worth knowing
Killing processes and unloading DLLs can destabilise a running session, so save work first. Deleting at restart is powerful but easy to forget; note what you scheduled. And if the "unknown process" turns out to be malware, removing the file is not the same as cleaning the system — follow up with a proper scan.
For the opposite problem — a USB or SATA drive that Windows refuses to eject — the same publisher offers a separate device manager, which is a different job from file unlocking.
Does LockHunter permanently delete files, or can I recover them if I unlock the wrong one?
LockHunter deletes locked files to the Recycle Bin rather than erasing them permanently, so a file you unlock and delete by mistake can normally be restored from the Recycle Bin. This is one of the differences the site highlights compared with similar unlocker tools.
The practical caveat is that Recycle Bin recovery depends on the file actually landing there. Deleting from a drive or location where the Recycle Bin is disabled, or files too large for the bin, may bypass it. So "recoverable" is the default behavior, not a guarantee for every file and location.
A safer routine when you're unsure
- Use LockHunter to identify which process is holding the file before acting; the site says it shows the locking process and gives detailed process information.
- Prefer unlock over delete when you only need to move, rename or open the file.
- If you do delete, check the Recycle Bin immediately to confirm the file is there.
- For anything irreplaceable, copy the file elsewhere first; the tool also supports copying a locked file.
LockHunter is Windows-only (the site lists Windows 11/10/8.1/7, 32- and 64-bit) and is aimed at cases like malware or unknown programs holding files. For a quick look at what else it does, see LockHunter.
How do I find out which process is locking a file or folder with LockHunter?
LockHunter's core function is to show you exactly which process or processes are holding a file or folder open. Once you point it at the locked item, it lists the locking processes and gives you detailed information on each one, so you can see what is blocking the file before deciding what to do.
Practical steps
- Right-click the locked file or folder and choose the LockHunter entry in the Explorer context menu (the page lists Explorer integration as a feature).
- In the LockHunter window, review the list of processes locking that item and the detailed information shown for each.
- Decide on an action based on what you see: unlock, delete, copy or rename the file, kill the locking process, remove the process from the hard drive, or schedule deletion at the next OS restart.
A useful habit is to read the process details before acting. If the lock comes from a program you recognize and still need (an editor, a sync client, an antivirus scan), close that program or wait for it to finish rather than killing it. Killing a process or removing its executable is a heavier step that suits stubborn malware or orphaned processes. Because LockHunter deletes files into the Recycle Bin, a mistaken deletion can be restored.
For comparison, Microsoft's built-in Resource Monitor (part of Windows) can also show which process has a file handle open, but it is a general monitoring tool rather than a targeted right-click unlocker; Microsoft Learn documents its handle search. LockHunter's advantage is the single-purpose workflow: identify the locker, then act on it in the same window.
Can LockHunter remove malware that's preventing me from deleting its files?
LockHunter can help you delete the files, but it is not an antivirus and does not remove the malware itself. It is a file-unlocker: it shows which processes are holding a file or folder, lets you kill or unload them, and can delete, rename or copy the locked file. Per the product page, deletions go to the Recycle Bin so you can restore a file removed by mistake, and it can also schedule deletion at the next OS restart. The site explicitly frames fighting malware as a use case.
What it does and doesn't do
| Task | LockHunter | What you still need |
|---|---|---|
| Identify the process locking a file | Yes — lists locking processes with details | — |
| Kill or unload the locking process | Yes | — |
| Delete/rename/copy the locked file | Yes, with Recycle Bin recovery | — |
| Remove the malicious program itself | No | A real antivirus/anti-malware scanner |
| Prevent reinfection | No | Scanner plus Windows updates |
A practical workflow
Suppose a scanner flags a file in a temp folder but Windows says it's "in use by another program." Open LockHunter on that file, read the process list, and note the executable path and publisher before killing anything—if it points to a suspicious binary, that tells you what to scan next. Kill the process, delete the file (it goes to the Recycle Bin), then run a full scan and reboot to confirm nothing recreates it. If the file reappears, the malware has a persistence mechanism (a scheduled task, service or startup entry) that needs removing first; deleting files alone won't stop it.
Cautions
- Killing the wrong process can crash or destabilize Windows—avoid terminating core system processes.
- Malware often relaunches itself; a single deletion is rarely the end of the cleanup.
- Deleting to the Recycle Bin means a persistent threat could still be recoverable there until you empty it.
Next step
If you want a second opinion on what's locking a file, Microsoft's own Microsoft Learn and Sysinternals document Process Explorer and Handle, which serve a similar diagnostic role. Use LockHunter to clear the lock, then rely on a dedicated scanner for actual malware removal.
Should I use LockHunter or USB Safely Remove for a drive that won't stop or eject?
For a drive that won't stop or eject, USB Safely Remove is the closer fit; LockHunter is not designed for that problem. LockHunter is a file unlocker for Windows: it finds the processes locking a file or folder and lets you unlock, delete, copy or rename it, kill the locking process, or schedule deletion at the next restart. It also deletes files into the Recycle Bin so mistakes can be undone. None of that resolves a "device cannot be stopped" situation at the drive level.
The page's own note is the clearest signal: it promotes USB Safely Remove as "our other tool" specifically for USB or SATA drives, describing it as a hotplug device manager that gets rid of the "device cannot be stopped" problem, can reactivate a stopped device, and can hide drives of empty card-reader slots.
| Situation | Better fit |
|---|---|
| A file or folder won't delete or rename because some process holds it | LockHunter |
| You want to identify and kill the process holding a file | LockHunter |
| A USB or SATA drive won't stop or eject | USB Safely Remove |
| An empty card-reader slot shows a drive letter you don't want | USB Safely Remove |
Next step: If the drive refuses to eject, try closing programs that may be reading from it (file explorers, backup or sync tools, media players), then use the safely-remove utility rather than forcing an unplug. Reach for LockHunter only once you've traced the block to a specific file—for example, a log or document on the drive that a background process keeps open. For general Windows file-locking issues, LockHunter is the relevant tool here.
User reviews (0)