Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
1  
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 sysresccd.org/Download 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
add comment

1 Answer

up vote 1 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:

http://download.microsoft.com/download/win2000srv/utility/3.0/nt45/en-us/oem3sr2.zip

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
1  
Why do the zeroes look so weird? –  kinokijuf Jan 27 '13 at 12:44
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.