Tell me more ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Every once in a while when I try to remove a file I have been working with, Windows tells me I cannot remove it, because some application is still using it.

Sometimes it's just my own stupidity, and closing the app I was working with releases the file, but sometimes I cannot for the life of me imagine any of the remaining applications holding the file.

Sometimes when I close everything I have started, it is still reported as locked and not deletable.

Is there any low-level tool that I can point at a file that can tell me which applications are holding a reference to it, to diagnose how to resolve this without resorting to a reboot and delete cycle?

share|improve this question
See this ServerFault question. – John Fouhy Jul 17 '09 at 3:34

4 Answers

up vote 14 down vote accepted

Unlocker should do the trick.

You can select a file by running the program, or just use the right click context menu:

Screenshot of Unlocker (context menu)

Screenshot of Unlocker (main program)

share|improve this answer
Works well... and you beat FigBug by seconds with it ;) – jerryjvl Jul 18 '09 at 0:19
Downvote because unlocker has a toolbar bundled with the installer. – Nathan Adams Jan 5 at 22:21

Sysinternals Handle or Process Explorer

share|improve this answer

I like WhoLockMe. Shows up as an explorer extension, really handy.

share|improve this answer

LockHunter can unlock any handlers that may have locked your files or folders. Unlike similar freewares, it supports both 32 and 64-bit Windows.

It is a free tool to delete files blocked by something you do not know. LockHunter is useful for fighting against malware, and other programs that are blocking files without a reason. Unlike other similar tools it deletes files into the recycle bin so you may restore them if deleted by mistake.

  • Shows processes locking a file or folder
  • Allows to unlock, delete, copy or rename a locked file
  • Allows to kill locking process
  • Allows to remove locking processes from hard drive
  • Integrates in to Explorer menu
  • It deletes files into the recycle bin, so you may restore them if deleted by mistake
  • Supports both 32 and 64bit Windows
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.