It may try to reallocate the bad sectors to the end of the disk which may be marked as red so that Windows or Linux operating system recognise them as bad and are left unusable. r parameter attempts to detect and repair bad sectors, I am not sure it would repair the bad sectors or not. _ /f parameter checks for file systems issue. Select the hard Disk Partition for e.g.
I am using default Windows utility command for Hard Disk Diagnostics. DOWNLOAD installer with working serial HERE here is the software
Bad sectors are sections of your computers hard drive that have been damaged, and have lost the ability to save and store your data.