Error: Cannot delete FILENAME: Access is Denied
when I delete file give me error. ( In windows XP sp2)
go to run > cmd >enter
after than Task manager > click on Proccess Tab> select explorer.exe> cleck on > End process
after than come on CMD promt (delete your file with Del command )
Example:
D:\>del undeletablefilename.mp4
then go to task manager> click on New task > type explorer.exe>enter
Check your file successfully deleted.
===============
http://www.kellys-korner-xp.com/xp_d.htm#del
Permission Denied - When Trying to Delete Folders/Files
Windows Explorer/Tools/Folder Options/View/Unmark "Use Simple File Sharing". Right click the folder/file in question/Properties/Security/Advanced/Owner/Set Permissions.
HOW TO: Set, View, Change, or Remove File and Folder Permissions
http://www.kellys-korner-xp.com/xp_abc.htm
http://support.microsoft.com/support/kb/articles/q308/4/18.asp
================
1. Change your system so you can view and edit your hidden and system files:
http://www.tech-recipes.com/rx/685/xp_2000_view_and_remove_hidden_files_and_folders
2. Close all programs. Sometimes a currently running program will have locked the file. Typically this won’t work, but you’ll feel silly missing it.
3. Boot to safe mode. Booting to safe mode will often disable spyware programs that might be holding access to the files in question. You might as well stay in safe mode for the rest of the process.
4. Force stop unknown programs and processes. CTRL-ALT-DEL will bring up the task manager that will allow you to kill unknown programs and processes. If you can’t use the taskmanager, you can try some of the freeware replacements such as:
http://www.sysinternals.com/ntw2k/freeware/procexp.shtml
5. Sometimes it is just easier to delete the file in a dos box. To open a command box:
- Click Start
- Click Run
- In the textbox type cmd.exe and click OK
6. I’m not going to try to teach DOS here, but the command to delete a file is the following:
del \folder\file.exe
7. If you still can’t delete it, you can clear the attributes of the file. If you need details on this, you can read more about it here. The dos command for this is the following:
attrib -r -s -h trojanfilename
After doing this you will still need to delete the file with one of the methods described above.
8. If none of the above work, you can use a specialized file deletion freeware program such as Move On Boot.
===============
1. Click on Start, Find, Files and Folders
2. Type the name of the undeletable file in the Named or Search For box
3. Make sure the Look In box shows the correct drive letter
4. Click on Find Now or Search Now and let the computer find the file
5. Once the file is located, right-click on it and choose properties, make a note of the file location. Usually this is something similar to
c:\windows\system32\undeleteablefilesname.exe
6. Close the search box
7. Locate a boot disk for your version of Windows, if you do not have a boot disk, follow the steps on the link below to create an emergency boot disk.
How to Create an Emergency Boot Disk for Windows
8. Shut down and restart your computer with the boot disk in your floppy drive.
9. The computer will boot to a DOS prompt that will look similar to
c:\
10. Type the following command and press Enter to delete the filer, substituting the phrase <path to file> with the actual path and file name you discovered in Step 5 above.
del <path to file>
Example:
del c:\windows\undeleteablefile.exe
Windows XP
# Click on Start, Search, All Files and Folders
# Type the name of the undeletable file in the box shown
# Make sure the Look In box shows the correct drive letter
# Click Search and let the computer find the file
# Once the file is located, right-click on it and choose properties, make a note of the file location. Usually this is something similar to
c:\windows\system32\undeleteablefilesname.exe
Close the search box
Click on Start, Run, and type CMD and Press Enter to open a Command Prompt window
Leave the Command Prompt window open, but proceed to close all other open programs
Click on Start, Run and type TASKMGR.EXE and press Enter to start Task Manager
Click on the Processes tab, click on the process named Explorer.exe and click on End Process.
Minimize Task Manager but leave it open
Go back to the Command Prompt window and change to the directory where the file is located. To do this, use the CD command. You can follow the example below.
Example: to change to the Windows\System32 directory you would enter the following command and Press Enter
cd \windows\system32
Now use the DEL command to delete the offending file. Type DEL <filename> where <filename> is the file you wish to delete.
Example: del undeletable.exe
Use ALT-TAB to go back to Task Manager
In Task Manager, click File, New Task and enter EXPLORER.EXE to restart the Windows shell.
Close Task Manager
11. Remove the boot disk in the floppy drive and restart your computer
12. The file should now be deleted.
when I delete file give me error. ( In windows XP sp2)
go to run > cmd >enter
after than Task manager > click on Proccess Tab> select explorer.exe> cleck on > End process
after than come on CMD promt (delete your file with Del command )
Example:
D:\>del undeletablefilename.mp4
then go to task manager> click on New task > type explorer.exe>enter
Check your file successfully deleted.
===============
http://www.kellys-korner-xp.com/xp_d.htm#del
Permission Denied - When Trying to Delete Folders/Files
Windows Explorer/Tools/Folder Options/View/Unmark "Use Simple File Sharing". Right click the folder/file in question/Properties/Security/Advanced/Owner/Set Permissions.
HOW TO: Set, View, Change, or Remove File and Folder Permissions
http://www.kellys-korner-xp.com/xp_abc.htm
http://support.microsoft.com/support/kb/articles/q308/4/18.asp
================
1. Change your system so you can view and edit your hidden and system files:
http://www.tech-recipes.com/rx/685/xp_2000_view_and_remove_hidden_files_and_folders
2. Close all programs. Sometimes a currently running program will have locked the file. Typically this won’t work, but you’ll feel silly missing it.
3. Boot to safe mode. Booting to safe mode will often disable spyware programs that might be holding access to the files in question. You might as well stay in safe mode for the rest of the process.
4. Force stop unknown programs and processes. CTRL-ALT-DEL will bring up the task manager that will allow you to kill unknown programs and processes. If you can’t use the taskmanager, you can try some of the freeware replacements such as:
http://www.sysinternals.com/ntw2k/freeware/procexp.shtml
5. Sometimes it is just easier to delete the file in a dos box. To open a command box:
- Click Start
- Click Run
- In the textbox type cmd.exe and click OK
6. I’m not going to try to teach DOS here, but the command to delete a file is the following:
del \folder\file.exe
7. If you still can’t delete it, you can clear the attributes of the file. If you need details on this, you can read more about it here. The dos command for this is the following:
attrib -r -s -h trojanfilename
After doing this you will still need to delete the file with one of the methods described above.
8. If none of the above work, you can use a specialized file deletion freeware program such as Move On Boot.
===============
1. Click on Start, Find, Files and Folders
2. Type the name of the undeletable file in the Named or Search For box
3. Make sure the Look In box shows the correct drive letter
4. Click on Find Now or Search Now and let the computer find the file
5. Once the file is located, right-click on it and choose properties, make a note of the file location. Usually this is something similar to
c:\windows\system32\undeleteablefilesname.exe
6. Close the search box
7. Locate a boot disk for your version of Windows, if you do not have a boot disk, follow the steps on the link below to create an emergency boot disk.
How to Create an Emergency Boot Disk for Windows
8. Shut down and restart your computer with the boot disk in your floppy drive.
9. The computer will boot to a DOS prompt that will look similar to
c:\
10. Type the following command and press Enter to delete the filer, substituting the phrase <path to file> with the actual path and file name you discovered in Step 5 above.
del <path to file>
Example:
del c:\windows\undeleteablefile.exe
Windows XP
# Click on Start, Search, All Files and Folders
# Type the name of the undeletable file in the box shown
# Make sure the Look In box shows the correct drive letter
# Click Search and let the computer find the file
# Once the file is located, right-click on it and choose properties, make a note of the file location. Usually this is something similar to
c:\windows\system32\undeleteablefilesname.exe
Close the search box
Click on Start, Run, and type CMD and Press Enter to open a Command Prompt window
Leave the Command Prompt window open, but proceed to close all other open programs
Click on Start, Run and type TASKMGR.EXE and press Enter to start Task Manager
Click on the Processes tab, click on the process named Explorer.exe and click on End Process.
Minimize Task Manager but leave it open
Go back to the Command Prompt window and change to the directory where the file is located. To do this, use the CD command. You can follow the example below.
Example: to change to the Windows\System32 directory you would enter the following command and Press Enter
cd \windows\system32
Now use the DEL command to delete the offending file. Type DEL <filename> where <filename> is the file you wish to delete.
Example: del undeletable.exe
Use ALT-TAB to go back to Task Manager
In Task Manager, click File, New Task and enter EXPLORER.EXE to restart the Windows shell.
Close Task Manager
11. Remove the boot disk in the floppy drive and restart your computer
12. The file should now be deleted.
0 Comments