Windows chkdsk replaced bad cluster - are files now corrupted?

113

Solution 1

The answer is, it depends. the file was at least in part occupying a bad cluster, which in effect corrupted the file. chkdsk reallocated the sector (pointed that address to a not-bad location on the disk surface) and attempted to copy the contents of the bad cluster to it. there is no guarantee however that the data in the source cluster could be fully recovered to the destination. if it was, your file is intact, but if it wasn't possible to recover the data completely and accurately, there will have been some corruption.

unfourtunately, without a baseline, there is no way to tell.

Solution 2

Does this mean that these files are now corrupt? The files were corrupt and Windows was able to repair the file Unfortunately, I don't have hashes of them so I have nothing to check their integrity against after chkdsk finishes running. I'm mainly concerned about ISOs and executables.

You will have to find those checksums depending on the file that chkdisk repaired shouldn't be hard. In the end corruption of a cluster was detected. You should restore the file from your backup source.

If it's relevant, this is a mechanical hard drive, a 2TB Western Digital Green.

You should start to backup your data more often so you have something to compare checksums too.

If the file was a system file you should run sfc /scannow to verify the integrity of Windows.

Share:
113

Related videos on Youtube

raijin
Author by

raijin

Updated on September 18, 2022

Comments

  • raijin
    raijin almost 2 years

    i want to grab and show multi-lined string from a file (has more than 20,000 lines of text in it) between two desired string(pattern) using java

    ex: file.txt(has more than 20,000 lines of text) pattern1 string that i want to grab pattern2

    i want to grab and show text in between these two patterns(pattern1 and pattern2) which is in this case "string /n that i /n want /n to grab" how can i do that i tried Bufferreader ,file ,string and few more things but nothing worked

    sorry im a noob

  • raijin
    raijin about 4 years
    yes my file is on multiple line this worked like a charm thanks a lot