Right click the drive letter you want to test. Click properties.
Step4
Click on the tools tab. Click Error-checking. Check now. Select the check boxes "Automatically fix file system errors" and "scan for and attempt recovery of bad sectors" Click start It might say the drive is in use and will need to run on the next startup. Click ok then reboot.
Tips & Warnings
You should always have a backup of your data before doing this.
If you continue to get bad sectors you should replace your hard drive.