Yes, most disk imaging software will be configured to omit any known bad sectors found on a hard disk and ensure they are not copied across to the disk image file (or, in the case of direct disk-to-disk cloning operations, the target hard disk or SSD drive). Should it be required that all sectors on a disk be copied or saved in a disk image file (sometimes referred to as “forensic imaging”), then this can usually be enabled by turning on “sector-by-sector” cloning in the disk imaging software’s settings pages.