How To Fix ‘Cannot Delete Folder/File’, ‘Access Is Denied’ or ‘File In Use’ errors in Windows Using Unlocker

Did u ever try to delete a file or a folder and got ‘Access Is Denied’ error? Or while copying a file it gives ‘The Source File May Be In Use’ error. These types of errors can occur due to many different reasons,  maybe the file is being used by the operating system or some other program, or maybe you do not have administrator privileges.

deletepic

If you get an “Access is Denied” error while accessing a folder then it means the administrator has not allowed you permission to access it. If you are not an Administrator then you will probably never be able to fix this error. But if you are an Administrator and receiving this problem then there is a software called Unlocker that is going to come in handy.

UPDATE: Lock Hunter seems to be working better in Windows 7(both 32-bit and 64-bit)

Unlocker is a small, free, and powerful software that lets you see which process is holding the lock on the file/folder and then helps you unlock it. After Installing this software you can simply right click the file/folder that is giving “Access is Denied” or “FIle May Be In Use” errors and then click on Unlocker.

deletepic1

A new window will now pop-up showing the processes as shown below. Now you can either unlock all of the processes or kill the process.

deletepic2

On the left of the ‘Kill Process’ button there is a dropdown menu where you can select Copy, Move, Rename, or Delete functions for a locked file.

This program is useful for the following types of errors,

  • 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.

Using Microsoft Support

There is also an alternative way using Microsoft support help for such errors, following MS steps will basically reset the file/folder settings.

http://support.microsoft.com/kb/810881

I frequently use the Unlocker software for quick solution, and I have personally never tried using the Microsoft support method. I hope you will also get rid if these errors using the above procedure, looking forward to hear feedbacks from you. :)

  • Share this article!

    • Digg this!
    • Bookmark on Reddit
    • Bookmark at Delicious
    • Stumble this!
    • Share this post at Facebook
    • Tweet this!
    • Share on Yahoo! Buzz
    • Add AddictiveTips to your Technorati favorites
    • Share on Friendfeed
This entry was posted in Windows and tagged , , , . Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

35 Comments

  1. Posted September 22, 2008 at 2:04 am | Permalink

    STUMBLED!

    First time I have heard of this tool.

    Thanks.

  2. Bill Vincent
    Posted September 22, 2008 at 4:35 am | Permalink

    I’ve been using Unlocker for a couple years now, and I recommend it for anyone with the brains to use it. If you’re one of those folks that say “Oh, I don’t know much about computers” then you could cause some damage (or at least more troubles) with this, shutting down explorer.exe, for example. :)

    • RC
      Posted August 14, 2010 at 1:50 am | Permalink

      Will this tool remove a folder( not being used) that gives persistent “Acess Denied” error?

      Thanks,

      RC

  3. Posted September 22, 2008 at 4:38 am | Permalink

    @ Bill Vincent

    I totally agree with you. Thanks for adding this precaution so others can know. :)

    @Geoserv

    Thanks for stumbling, I appreciate your support. :)

  4. Cide
    Posted September 24, 2008 at 9:32 pm | Permalink

    sad.. sad.. If you’ve waited this long to find out how to unlock your processes (and haven’t Googled it before) you don’t deserve to use the program..

  5. Rambo
    Posted September 25, 2008 at 8:28 am | Permalink

    Unlocker is in fact, the only tool I’ve found that can successfully perform this task (every time).
    But as BV says, it can be dangerous if used incorrectly.

    Windows itself uses a lot of files, and interrupting a Windows process by deleting one can cause major problems.
    Unlocker should only be used when you have a file like a document, or a music file, etc… that you would “typically” be able to delete.

    For newbies – say you are watching a video file, don’t like it & try to delete it. The video player may have that file locked for its use, preventing its deletion. You can clear this most times by playing another file, therefore releasing the first one so you can delete it. Maybe, though, you have to close the player program, to release the file before deleting it.
    If you click on a video file, to open the video player you use, then that first file may be locked until you close the program, no matter how many other videos you play.
    If it still won’t delete, then some other background process may have it locked (say, a screen-capture utility you clicked to get an image of the video) – this is where Unlocker comes in handy.
    There really are ENDLESS possible reasons for the locked file.
    So be cautious – it’s locked for a reason…

    In the example given by the author, the screen image shows EXPLORER.EXE as the process, with a LOCKED file or folder in My Documents… it’s safe to assume he’s trying to delete a document or folder there – maybe Word still has the document open while trying to delete it… doesn’t work. But if you Unlock it, you can delete it, and Word will get confused. So again, be cautious.

  6. Posted September 25, 2008 at 1:03 pm | Permalink

    Used this app, it works good but sometimes if file is not getting deleted, it should be left as it is and you could delete it after next restart of your computer.

  7. Posted September 25, 2008 at 5:49 pm | Permalink

    @Rambo

    Thanks for giving a caution to the users, I should have posted this warning in my post.

  8. Nomadss1
    Posted September 29, 2008 at 4:25 am | Permalink

    Unlocker doesn’t delete file names longer than 255 characters on windows XP.This I know for fact the only way I have found to remove veryfrakkenlongFilenames is to copy everything I want to keep from file then delete the whole file.I know sometimes that sucks but I wish I had a better way.

  9. Posted October 3, 2008 at 6:58 am | Permalink

    Have been using unlocker for ages and no doubt, it’s one of my MUST have app for windows .. TFS!

  10. Posted October 19, 2008 at 8:11 am | Permalink

    Thank man!

    http://www.library-book.co.cc << Free Download IT Programmer Java Linux ASP Flash PHP and much more Books

  11. Posted October 28, 2008 at 5:10 pm | Permalink

    thanks… good one..

  12. harvey lerman
    Posted October 31, 2008 at 8:58 pm | Permalink

    Sounds good! So where can I get “Unlocker” for XP?

  13. shasha
    Posted January 30, 2009 at 1:58 pm | Permalink

    just used it ..i was so pissed untill i found this thanx :)

  14. Posted March 11, 2009 at 3:15 pm | Permalink

    Thank you about your tutorial, that tips was can fix network slow transfer.

    Thank you,

    Best regards,
    Indra
    indra@yahoo.com

  15. Fadra
    Posted March 25, 2009 at 10:22 pm | Permalink

    Thank you very much! I’ve wondered for years how to delete those stuff which cant be deleted. :D

  16. Dave
    Posted April 14, 2009 at 9:44 am | Permalink

    Have any of you tried restarting? Usually if you try to delete the file as soon as you can after a reboot it works just fine. I’ve never had any trouble after a reboot before.

  17. Harry
    Posted April 15, 2009 at 8:58 am | Permalink

    Unlocker isn’t portable, and it was flakey when I used it. Get killbox. If it can’t force-delete the file, it’ll delete it on reboot. Killbox also doesn’t need to be installed, as it’s just a standalone app.

  18. Matt
    Posted April 16, 2009 at 12:37 am | Permalink

    I tried many options suggested to remove this mongrel file without any success. Not a confident user as yet, was unsure about using the suggested software. So I restarted my machine, f8 into safe mode, located file and sent to recycle bin, emptied bin and could not believe it, its gone! Restart again and the error file has really gone. Hope this helps others. Maybe you techo’s can check this and see why it works. I felt I just fluked it. Anyway thanks everyone for communicating ideas to help each other. Cheers

  19. John
    Posted June 5, 2009 at 11:43 pm | Permalink

    I have a whole folder filled whit files that can not be deleted. i have tried many different programs to delete them. unlocker & FileAssasin too. they didnt work. i have even tried some extreme erasing programs they did not work. so unlocker is god but sometimes it do not work.

  20. sheetalkumar
    Posted June 6, 2009 at 5:30 pm | Permalink

    Please give answer to this querry

  21. RoTKiV
    Posted June 18, 2009 at 1:23 am | Permalink

    If you have long file names and can’t move or delete them, try to rename them to a shorter name as well as the $%# long folder name they are found in. Once you shorten the name past the Windows name character limit you can do what you want with the file. (I think the limit is 256 characters)

    Unlocker rocks!! love it.

  22. Posted September 7, 2009 at 4:20 am | Permalink

    Definitely a program that deserves mention. While I’ve always gotten around this program the “long way” (finding out what program is using it and then shutting down that program manually) this can certainly save time for a lot of inexperienced PC users.

  23. TH3 UK RIDDL3R
    Posted October 17, 2009 at 6:08 am | Permalink

    Why haven't i seen this program before. Folder issue resolved 1 min after reading this :-) Cheers

  24. Posted October 17, 2009 at 4:36 pm | Permalink

    This little application will resolve my long lasting problem.Thanks v much

  25. Posted October 17, 2009 at 8:36 pm | Permalink

    This little application will resolve my long lasting problem.Thanks v much

  26. Tommaaaay
    Posted December 20, 2009 at 11:21 am | Permalink

    googled how to delete files that can't be deleted, and DL'd this lil tool. Bam problem fixed in 2 minutes tops.

    Lol at my quick email name :D

  27. Tommaaaay
    Posted December 20, 2009 at 4:21 pm | Permalink

    googled how to delete files that can't be deleted, and DL'd this lil tool. Bam problem fixed in 2 minutes tops.

    Lol at my quick email name :D

  28. Larry Erbe
    Posted February 14, 2010 at 6:42 am | Permalink

    Fantastic little program, I would have bought it if it had cost money.

  29. Monicas80
    Posted April 26, 2010 at 3:41 pm | Permalink

    i have also used this tool which works perfectly
    http://www.unlocklertool.com

  30. snipermarines
    Posted May 27, 2010 at 3:35 pm | Permalink

    thank you very much! i have been searching answers and followed every procedure that i found in the net but this is the only thing that worked for me, thanks again and GOD BLESS!

  31. Posted June 8, 2010 at 10:31 pm | Permalink

    these comments are fake lol

  32. Machiventa
    Posted July 20, 2010 at 10:24 pm | Permalink

    Thanks for this article and introducing me to the unlocker tool…. worked like a charm on an annoying problem folder that would not delete.

  33. echo
    Posted August 10, 2010 at 7:03 am | Permalink

    i fin’ly got a solution for this… try using unlocking software. it automatically detect locking code and if it found nothing it gives you option just chose delete and it will disappear… thanks peps…

2 Trackbacks

  1. [...] year, we reviewed an app called Unlocker that can unlock any locked file instantly. To unlock a file, it kills the Windows process that is [...]

  2. By Unlocker « Program G33k Tech blog on July 22, 2009 at 4:46 pm

    [...] Additional Help: addictivetips.com [...]

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>


More in Windows (5 of 5 articles)