Skip to main content
Fix formatting
Source Link
Worthwelle
  • 4.7k
  • 11
  • 22
  • 32

I had the same question and did some research: http://www.disktuna.com/finding-out-which-file-is-affected-by-a-bad-sector/.

I am assuming Windows OS and NTFS file system.

So, a bad sector can be part of:

  • Unallocated space. We can ignore this.

  • File system structures. Normally chkdsk should take care of this. It is possible that depending on where file system damage is that chkdsk won't run at all. In which case you'd run a surface scan on the hard disk itself.

  • System Files affected: You could use the Windows System File Checker (SFC.exe). At the command prompt, type the following command, and then press ENTER: sfc /scannow.

  • User data: The Microsoft support tool NFI.exe can be used to convert a LBA sector address to a file path. This way you can determine which files need to be restored from backup after sector reallocation.

    Example:

     C:\Users\admin\Downloads>nfi \Device\Harddisk0\DR0 28521816
     NTFS File Sector Information Utility.
     Copyright (C) Microsoft Corporation 1999. All rights reserved.
    
    
     ***Physical sector 28521816 (0x1b33558) is in file number 5766 on drive C.
     \IMAGES\win7HDD.vhd
    
  • The easiest way is probably HD Sentinel. After running a surface scan HD Sentinel will display a list of files affected by bad sectors.

Example:

C:\Users\admin\Downloads>nfi \Device\Harddisk0\DR0 28521816 NTFS File Sector Information Utility. Copyright (C) Microsoft Corporation 1999. All rights reserved.

***Physical sector 28521816 (0x1b33558) is in file number 5766 on drive C. \IMAGES\win7HDD.vhd

** Easiest way is probably HD Sentinel. After running a surface scan HD Sentinel will display a list of files affected by bad sectors.

I had the same question and did some research: http://www.disktuna.com/finding-out-which-file-is-affected-by-a-bad-sector/.

I am assuming Windows OS and NTFS file system.

So, a bad sector can be part of:

  • Unallocated space. We can ignore this.

  • File system structures. Normally chkdsk should take care of this. It is possible that depending on where file system damage is that chkdsk won't run at all. In which case you'd run a surface scan on the hard disk itself.

  • System Files affected: You could use the Windows System File Checker (SFC.exe). At the command prompt, type the following command, and then press ENTER: sfc /scannow.

  • User data: The Microsoft support tool NFI.exe can be used to convert a LBA sector address to a file path. This way you can determine which files need to be restored from backup after sector reallocation.

Example:

C:\Users\admin\Downloads>nfi \Device\Harddisk0\DR0 28521816 NTFS File Sector Information Utility. Copyright (C) Microsoft Corporation 1999. All rights reserved.

***Physical sector 28521816 (0x1b33558) is in file number 5766 on drive C. \IMAGES\win7HDD.vhd

** Easiest way is probably HD Sentinel. After running a surface scan HD Sentinel will display a list of files affected by bad sectors.

I had the same question and did some research: http://www.disktuna.com/finding-out-which-file-is-affected-by-a-bad-sector/.

I am assuming Windows OS and NTFS file system.

So, a bad sector can be part of:

  • Unallocated space. We can ignore this.

  • File system structures. Normally chkdsk should take care of this. It is possible that depending on where file system damage is that chkdsk won't run at all. In which case you'd run a surface scan on the hard disk itself.

  • System Files affected: You could use the Windows System File Checker (SFC.exe). At the command prompt, type the following command, and then press ENTER: sfc /scannow.

  • User data: The Microsoft support tool NFI.exe can be used to convert a LBA sector address to a file path. This way you can determine which files need to be restored from backup after sector reallocation.

    Example:

     C:\Users\admin\Downloads>nfi \Device\Harddisk0\DR0 28521816
     NTFS File Sector Information Utility.
     Copyright (C) Microsoft Corporation 1999. All rights reserved.
    
    
     ***Physical sector 28521816 (0x1b33558) is in file number 5766 on drive C.
     \IMAGES\win7HDD.vhd
    
  • The easiest way is probably HD Sentinel. After running a surface scan HD Sentinel will display a list of files affected by bad sectors.

added 1119 characters in body
Source Link
Joep van Steen
  • 6.9k
  • 2
  • 20
  • 43

I had the same question and did some research: http://www.disktuna.com/finding-out-which-file-is-affected-by-a-bad-sector/.

I am assuming Windows OS and NTFS file system.

So, a bad sector can be part of:

  • Unallocated space. We can ignore this.

  • File system structures. Normally chkdsk should take care of this. It is possible that depending on where file system damage is that chkdsk won't run at all. In which case you'd run a surface scan on the hard disk itself.

  • System Files affected: You could use the Windows System File Checker (SFC.exe). At the command prompt, type the following command, and then press ENTER: sfc /scannow.

  • User data: The Microsoft support tool NFI.exe can be used to convert a LBA sector address to a file path. This way you can determine which files need to be restored from backup after sector reallocation.

Example:

C:\Users\admin\Downloads>nfi \Device\Harddisk0\DR0 28521816 NTFS File Sector Information Utility. Copyright (C) Microsoft Corporation 1999. All rights reserved.

***Physical sector 28521816 (0x1b33558) is in file number 5766 on drive C. \IMAGES\win7HDD.vhd

** Easiest way is probably HD Sentinel. After running a surface scan HD Sentinel will display a list of files affected by bad sectors.

I had the same question and did some research: http://www.disktuna.com/finding-out-which-file-is-affected-by-a-bad-sector/.

Easiest way is probably HD Sentinel.

I had the same question and did some research: http://www.disktuna.com/finding-out-which-file-is-affected-by-a-bad-sector/.

I am assuming Windows OS and NTFS file system.

So, a bad sector can be part of:

  • Unallocated space. We can ignore this.

  • File system structures. Normally chkdsk should take care of this. It is possible that depending on where file system damage is that chkdsk won't run at all. In which case you'd run a surface scan on the hard disk itself.

  • System Files affected: You could use the Windows System File Checker (SFC.exe). At the command prompt, type the following command, and then press ENTER: sfc /scannow.

  • User data: The Microsoft support tool NFI.exe can be used to convert a LBA sector address to a file path. This way you can determine which files need to be restored from backup after sector reallocation.

Example:

C:\Users\admin\Downloads>nfi \Device\Harddisk0\DR0 28521816 NTFS File Sector Information Utility. Copyright (C) Microsoft Corporation 1999. All rights reserved.

***Physical sector 28521816 (0x1b33558) is in file number 5766 on drive C. \IMAGES\win7HDD.vhd

** Easiest way is probably HD Sentinel. After running a surface scan HD Sentinel will display a list of files affected by bad sectors.

Source Link
Joep van Steen
  • 6.9k
  • 2
  • 20
  • 43

I had the same question and did some research: http://www.disktuna.com/finding-out-which-file-is-affected-by-a-bad-sector/.

Easiest way is probably HD Sentinel.