Question: cannot delete file access is denied windows xp?
Answer: Locate the file stored on your hard drive.
Once the file is located, right-click on it and choose properties and remove(uncheck) all the attributes of the file or folder.
Make a note of the file location.
Open a Command Prompt Window. ... 
Leave the Command Prompt window open, but proceed to close all other open programs.