Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

Cannot Delete File: Access Is Denied


  • Please log in to reply
5 replies to this topic

#1 scratcher

scratcher

  • Members
  • 124 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:06:05 AM

Posted 07 November 2006 - 08:39 PM

Hi All:

How often have we seen Windows messages such as the following:

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 that the file is not currently in use.


It seems that everyone, from time to time, runs into a pesky file or folder that just refuses to be renamed, moved, deleted, or wiped out.

Here are a few programs that will empower you to do what you want to do:

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

This is the most useful for general purposes. Just right-click the folder or file and select Unlocker to rename, move, or delete.

It works almost every time, but for really tough cases you may need to fire up some sort of 'Move on Boot' program. These all seem to work the same way. You mark the file or folder for deletion and after a reboot - unless you are very unlucky - it will be gone.

Three such programs I know of are:

ADVANCED FILE REMOVER http://www.excessive-software.eu.tt/

DELETE DOCTOR http://www.theabsolute.net/sware/

GiPo MOVE ON BOOT http://www.gibinsoft.net/gipoutils/fileutil/index.htm

As for a program that will smash to bits and wipe out forever any file that you don't feel happy about having around, the best I've found is ERASER, a program that will overwrite any pesky file either 1, 3, 7 or 35 times and beyond all possibility of recovery: http://www.tolvanen.com/eraser/

Revenge is sweet, all of these programs are free, so have fun!

Cheers,

scratcher.

Edited by scratcher, 07 November 2006 - 08:52 PM.

* HP Pavilion dv7 *  2.20 gigahertz AMD Phenom II N850 Triple-Core *  4.0 GB RAM  *  Windows 7 Home Premium (x64) *   Firefox 3.6.17 * Thunderbird 3.1.11 *  Comodo Firewall  *  Malwarebytes' Anti-Malware 1.50.1 Pro *  avast! Free Anti-Virus 2014.9.0.2007  *  Erunt  *


BC AdBot (Login to Remove)

 


#2 dc3

dc3

    Bleeping Treehugger


  • Members
  • 30,358 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Sierra Foothills of Northern Ca.
  • Local time:02:05 PM

Posted 08 November 2006 - 10:29 AM

Unless it's a virus I've never had a problem deleting files of that nature in safe mode. Files that contain viruses or other nasties can usually be deleted using the proper software in safe mode.

Family and loved ones will always be a priority in my daily life.  You never know when one will leave you.

 

 

 

 


#3 scratcher

scratcher
  • Topic Starter

  • Members
  • 124 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:06:05 AM

Posted 08 November 2006 - 10:37 AM

Unless it's a virus I've never had a problem deleting files of that nature in safe mode. Files that contain viruses or other nasties can usually be deleted using the proper software in safe mode.


True, but I don't see the point of shutting down and starting up in safe mode simply to delete a file or an empty directory or change a directory or file name.

Maybe we are talking about different things. You will get that "cannot delete file" message if you have recently opened the file, presumably because it's still in memory.

* HP Pavilion dv7 *  2.20 gigahertz AMD Phenom II N850 Triple-Core *  4.0 GB RAM  *  Windows 7 Home Premium (x64) *   Firefox 3.6.17 * Thunderbird 3.1.11 *  Comodo Firewall  *  Malwarebytes' Anti-Malware 1.50.1 Pro *  avast! Free Anti-Virus 2014.9.0.2007  *  Erunt  *


#4 usasma

usasma

    Still visually handicapped (avatar is memory developed by my Dad


  • BSOD Kernel Dump Expert
  • 25,090 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Southeastern CT, USA
  • Local time:05:05 PM

Posted 08 November 2006 - 04:32 PM

I just go in, take ownership, give myself full control and then delete the sucker. Works for most files that I've encountered.

http://www.bleepingcomputer.com/forums/t/42756/how-to-fix-an-access-denied-errors/
My browser caused a flood of traffic, sio my IP address was banned. Hope to fix it soon. Will get back to posting as soon as Im able.

- John  (my website: http://www.carrona.org/ )**If you need a more detailed explanation, please ask for it. I have the Knack. **  If I haven't replied in 48 hours, please send me a message. My eye problems have recently increased and I'm having difficult reading posts. (23 Nov 2017)FYI - I am completely blind in the right eye and ~30% blind in the left eye.<p>If the eye problems get worse suddenly, I may not be able to respond.If that's the case and help is needed, please PM a staff member for assistance.

#5 scratcher

scratcher
  • Topic Starter

  • Members
  • 124 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:06:05 AM

Posted 01 December 2006 - 05:27 PM

That's what Unlocker does.

* HP Pavilion dv7 *  2.20 gigahertz AMD Phenom II N850 Triple-Core *  4.0 GB RAM  *  Windows 7 Home Premium (x64) *   Firefox 3.6.17 * Thunderbird 3.1.11 *  Comodo Firewall  *  Malwarebytes' Anti-Malware 1.50.1 Pro *  avast! Free Anti-Virus 2014.9.0.2007  *  Erunt  *


#6 silmaril8n

silmaril8n

  • Members
  • 61 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:WA
  • Local time:02:05 PM

Posted 01 December 2006 - 06:50 PM

If I can do something without an extra piece of software then I will generally stick with that first. Not being able to delete a file usually smells fishy to me, in which case I'd probably go straight to safe-mode to scan my system anyways.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users