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

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm struggling to edit an config file for a webserver. The file is a text file, and I can open it in a text editor, but not save it. When I try to save it, it says that another application is using it, but I haven't started the webserver yet.

Is there a way that I can see what process that has a lock on the textfile, or why I can't save the file? I am logged in as adminstrator, and the OS is Windows Vista.

share|improve this question
up vote 5 down vote accepted

Use LockHunter. It is similar to Unlocker which was my favorite for a long time, but LockHunter works for both 32bit and 64bit OS unlike Unlocker which only works on 32bit.

As of 5/7/2010, version 1.9.0, full 64-bit support has been added to Unlocker.

share|improve this answer
Thanks, LockHunter was a great tool! But the worst thing was that there was no locks on the file. So there must be another problem with my file. Maybe permissions, but I'm administrator. – Jonas Jul 21 '10 at 21:48
The file may be corrupt too. – ubiquibacon Jul 21 '10 at 23:06

You could use ProcessExplorer for that. Just open it search for the file name. It can also close the file (right Click > close handle).

share|improve this answer
Thanks. I installed ProcessExplorer but when I search on "DLL or Handles" on the file, I get no results. Is there another way to search? Or maybe there is something else that is wrong. – Jonas Jul 21 '10 at 21:42

Your Answer


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.