When you try to delete a file you get file can’t be deleted error. To delete a blocked file you need to use third party tools such as LockHunter. LockHunter is a useful application for XP, Vista and Windows 7 operating systems to unlock and delete blocked files.
The tool lets you unlock, delete, copy or rename a blocked file. With LockHunter one can also kill processes that can’t be done via Task Manager. LockHunter doesn’t delete files completely, instead it deletes files to the Recycle Bin so that you can restore them if deleted accidentally.
The best part is that it integrates into explorer menu. That is, you can quickly open LockHunter with a click. Here are some key features of LockHunter:
# Shows processes locking a file or folder
# Lets you end a process
# Allows you unlock, delete, copy or rename locked file
# Integrates into explorer menu
This tool is available for both 32 & 64-bit versions of Windows, and can be downloaded from below mentioned link.