The information in this article applies specifically to Windows 10.
To repair your Mac’s drive,use the Apple Disk Utility First Aid.
When a disk has a badsector, it usually means that the drive can be repaired with software.

Windows 10 comes with a disk-checking utility that simplifies the process for repairing drive errors.
SelectThis PCfrom the left pane.
UnderDevices and drives, right-click your primary drive (it should be labeledC:).

SelectPropertiesin the drop-down list.
Select theToolstab, then selectCheck.
SelectScan drivein the pop-up box.

Unlike older versions of CHKDSK, you don’t have to reboot your PC to fire off the utility.
Open Command Promptas an administrator.
To execute the check disk utility on a PC with one drive, enterchkdsk.

This command only checks your disk for errors; it won’t fix any problems it finds.
It’s a handy tool, but it doesn’t operate automatically.
Thestep-by-step process of how to run CHKDSKdiffers depending on the version of Windows.

SSDs come with a built-in system to deal with errors.
