Delete undeletable files in XP

delete an undeletable file in XP

Sometimes when you try to delete a file in XP, you get an error message saying CAnnot delete Access denied. IN such case, follow the procedure:

* Locate the file you area about to delete

* 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

* Open the Task Manager window by pressing CTRL+ALT+DEL or by clicking 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.
Example: to change to the Windows\System32 directory you would enter the following command and Press Enter c:\cd \windows\system32

* Now use the DEL command to delete the offending file. Type DEL where is the file you wish to delete. Example: c:\del undeletableFile.exe

* Go back to Task Manager

* In Task Manager, click File, New Task and enter EXPLORER.EXE to restart the Windows shell.

* Close Task Manager

Or try this: (simple method)
* Open Notepad

* Click File then Save As…

* Locate the folder where your undeletable file is

* Choose ‘All files’ from the file type box

* Click once on the file you wanna delete so its name appears in the ‘filename’ box

* Put a  at the start and end of the filename (the filename should have the extension of the undeletable file so it will overwrite it) Example: save as : "UndeletableFile.exe"where UNdeletableFile.exe is the file which cannot be deleted.

* Click save

* It should ask you to overwrite the existing file, choose yes and you can delete it as normal

Thats all


Post a Comment