error: can't delete; access denied

G

Guest

I mourn the times when I could still delete what I wanted via the DOS command
prompt but since I can't, does anyone know how to delete files for which
windows says access is denied? It seems to be .dll files quite often but not
only. I ended up with all these remnants of application which I can't delete
and they are not in the list "add/remove software" either.
 
W

WTC

Oliver said:
I mourn the times when I could still delete what I wanted via the DOS
command
prompt but since I can't, does anyone know how to delete files for which
windows says access is denied? It seems to be .dll files quite often but
not
only. I ended up with all these remnants of application which I can't
delete
and they are not in the list "add/remove software" either.

Have you tried deleting the file in Safe Mode?

Starting your computer in Safe mode
http://service1.symantec.com/SUPPORT/tsgeninfo.nsf/docid/2001052409420406

-or-

How do I delete an "undeletable" file?
http://www.dougknox.com/xp/tips/xp_undeletable_file.htm

-or-

1. Write down the path and filename of the undeletable file.
2. Open a command prompt window. (Start > Run > cmd.exe)
3. Open the Task Manager. (Start > Run > taskmgr.exe)
4. In the Task Manager, find the process called "Explorer" and end the
process for explorer. (This will make the desktop and taskbar disappear)
5. Close the Task Manager.
6. In the command prompt window, type:

del /a /f "\\?\path\filename"

So if the file was called abc.jpg located in c:\pictures then the command
would look like:

del /a /f "\\?\c:\pictures\abc.jpg"

7. To regain your desktop and taskbar, type the following in the command
prompt window:

explorer.exe

-------

You may wish to read this KB article.

You cannot delete a file or a folder on an NTFS file system volume
http://support.microsoft.com/?kbid=320081

-------

How to set, view, change, or remove file and folder permissions in Windows
XP
http://support.microsoft.com/?kbid=308418

How to take ownership of a file or folder in Windows XP
http://support.microsoft.com/?kbid=308421
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top