So you run Windows Disk Defragmenter and it gives you an error message saying there's corrupted file. It then refuses to proceed with the defragmentation process. If the file in question is related to Kaspersky, then you'll likely want to refer to this nice post that has the solution you'll need.
Apparently, it's caused by a virus infection. The message really comes from Kaspersky rather than Disk Defragmenter. There's three possible solutions you could opt for, and it's all in the post I mentioned. The fastest and simplest method is to add defrag.exe, dfrgntfs.exe, and dfrgfat.exe into Kaspersky's trusted zone.
How to remove malware from Windows