29Jun/084
How to fix access denied file delete error
Here is a trick that is used to delete files or folders that display this error when deleting:
Error Deleting File or Folder
Cannot delete [file]: Acess is denied.
Make sure the disk is not full or write-protected and that the file is not currently in use.
Annoying huh, here it is:
- Open a command window. You can do this by going to Start -> Run and typing cmd. If you are using Vista, go to Start, then in the search field type cmd or command.
- Now that you have the command window open, you'll have to set a schedule. To do this, type:
at [time] /interactive cmd
and press enter. It should say Added a new job with job ID = 1. Where it says [time], you type in the current time in your computer plus one minute, be sure to set it in military time! (For example: If its 1:26, you would type:
at 1:27 /interactive cmd);
-I hope you understand military timing. - Now, you have to wait one minute or a few seconds until a new command window appears. When the new command window appears, fire up task manager (Ctrl + Alt + Del), and end the process explorer.exe. (Go to the Processes tab. Select explorer.exe from the list then click on End Task) Now your explorer window should disappear, leaving opened the newly opened command window.
- Now, on the window, type in explorer.exe, and your explorer windows should reappear with SYSTEM privileges; wait a few seconds while the SYSTEM user account is set up. Now you should be able to delete that annoying file of yours.
To get back into your own username, just login again.
Still having trouble? Please comment.
March 1st, 2009 - 18:53
Followed these step by step. Was in as System, but still could not delete the file. Still got the same error message.
March 1st, 2009 - 18:55
Have you tried booting the computer up on Safe Mode?
That could mean that the computer is running or accessing the file you are trying to delete.
I hope this helps,
Andre
July 18th, 2009 - 19:00
nice! i’m gonna make my own journal
November 6th, 2010 - 17:21
Hello guys,
Do you encounter errors while deleting files in Windows? I’m here to provide a solution. I’ve been reading several threads on this topic on different forums where computer users were asking about this popular error “The filename you specified is not valid or too long”.
My research helped me to find a tool for you guys.
Its LONG PATH TOOL, a very easy to run but highly powerful software.
Follow the link to read more about this error.
http://www.longpathtool.com