My problem is that I cannot defragment my C: drive because Windows keeps reporting an error message and stopping the process. The error message reads "The scan has been canceled because an error occurred in file C:\WINDOWS\setupapi.log.0.old". Scandisk shows no errors on the C: drive which has 26% free. Any suggestions?
Yes, I've tried deleting the file. Now, defragmenter stops with a different error message: "Drive (C:) may be corrupted. To check and fix the drive, run chkdsk /f." I've tried this a couple of times, but chkdsk doesn't find any problems with the disk. Other drives defragment normally.
Now, if I continue to attempt to defragment, I come up with another erroe message saying that "the scan has been canceled because of an error in file: C:\WINDOWS\$HF_MIG$. This is a folder which contains a number of files connected to the Windows Service Pack. Do I really want to try deleting this? Is it time to try and reinstall Windows?
Run a full disk check on your C: drive. Right-click your C: drive > Properties > Tools tab > 'Check Now' button under Error-checking > tick both boxes then agree to run the check at the next boot up. Restart your PC and it will run a full surface scan on the hard drive and attempt to repair any damage that it finds. This can take a long time depending on the size of your hard drive and the amount of damage (if any) and runs through 5 stages but it is very thorough and can fix a lot of problems.
Thanks for that. I've tried it, and the scan found no problems, but the error remains just the same. Now it's reporting "The scan has been canceled because an error occurred in file "C:\WINDOWS\ODBC.INI"