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 want a software, similar to Unlocker or something in which we can delete files that are used by another process, for Windows 2008 R2.

share|improve this question
Warning, you could be headed for data corruption. – Martin Feb 26 '10 at 13:18
up vote 6 down vote accepted

If you mean the Kernel itself, you may be out of luck... If you mean just on Windows 2008 R2, I recommend you use Microsoft / Sysinternals Process Explorer.

You can press the find button and type the name of the file you are trying to delete, it will then show you what application / module has an active handle to it and basically kill that process so you can delete the file.

share|improve this answer
i dont want to kill the process as i know which process is using that file. I just want to unlock that file from that process. – SyncMaster Feb 26 '10 at 12:24
You can close the handle, not need to kill the process. Some applications might not like it, some will not bother. And instead of killing the app, just closing it gracefully will do too :-) . – Snark Feb 26 '10 at 12:26

The sysinternals handle command can find what process has a file locked, and forceably close the handle.

share|improve this answer

Another alternative is Lockhunter.

share|improve this answer

Try WhoLockMe. It says NT/2K/XP but it may work with 2008

share|improve this answer

To delete files / folder locked by the system. 1.- Locate the folder c:\users\xxx 2.- Try to take ownership of the folder and subfolder : (it will probably failed) 3.- If not failing, give you full rights to the folders and subfolder and delete it. 4.- But since it’s failing, we need to find witch windows process lock the files. 5.- Start Microsoft SysInternal\procexp.exe 6.- Go to find, find handle 7.- Do a search c:\users\xxx 8.- Take not of the PID number that is locking the files (second column) 9.- Go back and Kill process or Kill process tree if it’s a tree. 10.- Go back to the folder and take the owner ship of the folder and subfolder c:\users\xxxx 11.- Give you full rights of the folder and subfolder c:\users\xxx 12.- Delete the c:\users\xxx folder 13.- Log back the user, he will have a fresh new profiles.

How to take owner ship and give you full rights of a folders and subfolders 1.- Locate your c:\users\xxx folder 2.- Right mouse on it | properties | Security | Advanced | Owner | Edit | Choose your ad account | Replace Owner on subcontainers and objects | Apply 3.- Go back to Permissions tab | change permissions | add your ad account | Full control | Replace all child object permissions with inheritable permissions from this object 4.- Now delete your c:\users\xxx folder.

share|improve this answer
This is not what he asked, he asked practically an Unlocker alternative. – peterh Dec 19 '13 at 15:41

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.