Solved

Cannot delete file: Cannot read from source file or disk

Posted on 2011-02-19
15
1,712 Views
Last Modified: 2012-05-11
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
0
Comment
Question by:johnhardy
  • 5
  • 5
  • 2
  • +3
15 Comments
 
LVL 70

Expert Comment

by:KCTS
ID: 34933633
The file is probably in use
0
 
LVL 1

Assisted Solution

by:Mahi1983
Mahi1983 earned 50 total points
ID: 34933649
file doesn't exist or may be permission issue.
0
 
LVL 4

Expert Comment

by:andreizz
ID: 34933652
Boot to safe mode and delete it from there.

To go into safe mode press F8 before your windows starts.
0
 
LVL 91

Expert Comment

by:John Hurst
ID: 34933653
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
0
 

Author Comment

by:johnhardy
ID: 34933689
Thanks
This seems to apply to very many files located in many places not just one file. Would that make a difference?
0
 
LVL 91

Expert Comment

by:John Hurst
ID: 34933706
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
0
 

Author Comment

by:johnhardy
ID: 34933726
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.
0
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 
LVL 4

Assisted Solution

by:andreizz
andreizz earned 75 total points
ID: 34933732
after a restart from safe-mode? it should work from safe mode.
0
 
LVL 2

Assisted Solution

by:pmckenna11
pmckenna11 earned 75 total points
ID: 34933746
There are several utilities available for getting rid of pesky files. You will find many references if you do a Google search. I have used "delete on reboot" and "file assasin" in the past. There is another one that I liked even better but am blanking on the name at the moment.

Typically these utilities allow you to mark a file for move/copy/delete. You then reboot the machine to complete the task. They are handy when dealling with infected files that are locked by a virus.
0
 
LVL 91

Expert Comment

by:John Hurst
ID: 34933761
>>> 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
0
 

Author Comment

by:johnhardy
ID: 34933872
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.
0
 

Author Comment

by:johnhardy
ID: 34933892
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?
0
 
LVL 91

Accepted Solution

by:
John Hurst earned 300 total points
ID: 34933917
If the folder is a funny (HEX) named folder in C:\ it was likely created by Windows Update and, yes, it is safe to delete.

Otherwise, .tmp files and folders are usually (for XP) in Docs and Settings\username\... Local\temp and then, yes, in there, it is safe to delete the files.

Then, as a general, but not conclusive, statement, it is generally safe to delete .tmp files and folders.

... Thinkpads_User
0
 

Author Closing Comment

by:johnhardy
ID: 34934295
Many thanks for all the great help
0
 
LVL 91

Expert Comment

by:John Hurst
ID: 34934309
You are most welcome. I was pleased to assist. ... Thinkpads_User
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
pdf convertor 7 64
how to  skip files that were already there? 3 38
Which browser works with XP 16 101
Filter IP range with PowerShell 1 16
NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

930 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now