Link to home
Start Free TrialLog in
Avatar of johnhardy
johnhardyFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Cannot delete file: Cannot read from source file or disk

I am trying to delete .tmp files but after a few deletes I get the error

Cannot delete file: Cannot read from source file or disk
I am using XP pro SP3 and have administrator passwords
Any ideas please?
Many thanks

John
Avatar of Brian Pierce
Brian Pierce
Flag of United Kingdom of Great Britain and Northern Ireland image

The file is probably in use
SOLUTION
Avatar of Mahi1983
Mahi1983

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Boot to safe mode and delete it from there.

To go into safe mode press F8 before your windows starts.
After checking the above, if the file was created by Windows Updates (or you think it might have been), start as administrator, set the security on the tmp file or folder or parent folder to Everybody and then see if you can delete.

... Thinkpads_User
Avatar of johnhardy

ASKER

Thanks
This seems to apply to very many files located in many places not just one file. Would that make a difference?
One of the Windows Updates left a temporary folder in the root of C: . The way I descirbed was the way to delete the folder. So it was not all over the place - just in one folder. I did not mean to imply many places.

... Thinkpads_User
I have two disc C: and D:
I cant seem to delete many .tmp files from either
I can delete some files after a restart and then it fails.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
>>> when dealling with infected files that are locked by a virus.

Given the other things that have been tried, this seems a very likely cause.  .... Thinkpads_User
I will carry out a scan later, I do scan quite regularly with NAV
The changing of C; to everyone seems to have partially done the trick although I have some files  named eg ~DFE9D05 which will not delete.

Also some files with no tilde will not delete but the message box places a tilde in front of the file name eg " cannot delete ~ DFC123.
Just one more thing if I may ask

I can see folders that are named with a .tmp extension is it  OK to delete these please?
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Many thanks for all the great help
You are most welcome. I was pleased to assist. ... Thinkpads_User