From what I remember, you can't get rid of bad sectors. Take, for instance, scandisk. Scandisk basically looks at the disk and if it finds any bad sectors flags them so that the OS doesn't write to it.
There are always bad sectors, even on brand new drives, due to the manufacturing process. The...