Windows 7 How to find out which files are linked to bad sectors? Repair with chkdsk?

pstein

Extraordinary Member
Joined
Mar 20, 2010
Messages
454
A surface test of my hard disk with some partition tools showed one or more bad sectors.

How can I find out exactly which of my files allocated space these bad sectors in the past?
....and which are now corrupted?

I have heard that a "chkdsk" run could repair/exclude these bad sectors logically.

Peter
 

Solution
If you know which sector is being repaired you can find the file using that sector like so.

  • Open an elevated command prompt (Right click, 'run as administrator')
  • Check your physical sector size and cluster size (should be the same) fsutil ntfsinfo C:
  • If they are the same (usually both 4096) then you can query that cluster Ex: I'll query cluster 41000 fsutil querycluster C: 41000

Neemobeer

Windows Forum Team
Staff member
Joined
Jul 4, 2015
Messages
8,998
If you know which sector is being repaired you can find the file using that sector like so.

  • Open an elevated command prompt (Right click, 'run as administrator')
  • Check your physical sector size and cluster size (should be the same) fsutil ntfsinfo C:
  • If they are the same (usually both 4096) then you can query that cluster Ex: I'll query cluster 41000 fsutil querycluster C: 41000
 

Solution
Back
Top