How to Find Out Which Windows Process is Using a File

Ever come across the following messages and wondered how to find out what is using the file?

  • Cannot delete file: Access is denied
  • There has been a sharing violation.
  • The source or destination file may be in use.
  • The file is in use by another program or user.
  • Make sure the disk is not full or write-protected and that the file is not currently in use.

I found a neat utility that allows you to find out — the site has a list of other alternatives. Unlocker gives you an option in the context menu when you right click on a file that will detail windows process using the file.

http://ccollomb.free.fr/unlocker/

 

 

5
Average: 5 (2 votes)
Your rating: None

Perfect little tool. Helped me remove this pesky folder that's been getting in the way of installing a game of mine. Thanks for the awesome download!

Had a problem “Cannot delete file: Access is denied” the pathtoolong.com helped me.

This is great for newbies, the experienced just open up task manager don't they?roulette onlinepoker sitesblackjack onlinevideo poker onlinebootleg movies

for 64-bit use sysinternals process explorer it has a find hANDLE FUNCTION

Isn't there a console command for this?

I first found about Unlocker through Gizmo's newsletter back in March, 2006 and have been very pleased with it. I have suggested it to many people having locked file issues and they have always been happy with it. I was surprised that it had not been mentioned here previously.

I think previously the website concentrated on the best freeware aspect. Consequently hot finds briefly mentioned in the newsletter may not have made it onto the website. The new Wiki site encourages coverage of 'small' finds with the How-to and User Contributed sections.

Adrian

It doesn't work for super-hidden files - e.g. metadata and so on - , and I wonder how efective it is in Vista because of the new system file permissions. But Unlocker is not a new software... I would say if I want to know which process is using a file, I'm using Process Explorer, if I want to unlock a file, I'm using Unlocker... or not. You can do that through Explorer.

I don't think Unlocker works in 64-bit Vista.

Post new comment

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <b> <address> <blockquote> <br> <caption> <center> <code> <dd> <del> <div> <dl> <dt> <em> <font> <h2> <h3> <h4> <h5> <h6> <hr> <i> <img> <li> <ol> <p> <pre> <span> <strong> <sub> <sup> <table> <tbody> <td> <tfoot> <th> <thead> <tr> <u> <ul> <tr>
  • Lines and paragraphs break automatically.
  • [node:123] - insert full text (themed by theme('node'))
    [node:123 body] - insert node's body
    [node:123 teaser] - insert node's teaser
    [node:123 link] - insert link to node
    [node:123 collapsed] - insert collapsed node's body
  • You may use [view:viewname] tags to display listings of nodes.

More information about formatting options