Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Doing a checkdisk on one of my partition in Windows XP, it reports that there is 4KB in bad sectors.

How can I know if this bad sector belongs to a file/folder or not, and if yes which file/folder it is so I can avoid accessing it?

share|improve this question
If you have a bad sector on disk, backup your data and move to another disk. Where there are few of them, soon more will be.. Try to boot to some linux distribution an run command badblocks -svn /dev/sda / /dev/sda in case you have just one disk, you can find your disks designation by running fdisk -l – week Nov 16 '12 at 18:50
up vote 2 down vote accepted

You can try using contain nfi.exe tool which is included in Win2K OEM support tools to identify the file that occupies a particular sector:

Nfi.exe also works on Win XP and 2003. More Info here. This is an example of output I've made on my W7 machine. Run this tool from CMD. If no switches are added - help will appear.

Use C:\nfi.exe C: >C:\output.txt to save results and search for specific sectors later. Good Luck!

enter image description here

share|improve this answer
Why do the zeroes look so weird? – kinokijuf Jan 27 '13 at 12:44

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .