Click here to Skip to main content
14,385,812 members
Rate this:
Please Sign up or sign in to vote.
See more:
Need assistance in developing code in C++ for cloning PhysicalDrive0 to PhysicalDrive1 with bad blocks.

What I have tried:

Have tried detecting bad sector but it fails . Need a clear picture on bad sectors , how to detect them
Posted
Updated 2-Apr-19 2:07am
Comments
Richard MacCutchan 2-Apr-19 3:27am
   
What have you tried, and what does not work?
[no name] 10-Apr-19 11:48am
   
1

1 solution

Rate this:
Please Sign up or sign in to vote.

Solution 1

The drive has to support SMART. You can use WMI to detect if the drive supports SMART, and use WMI to pull the data your need. Keep in mind that not all drives support SMART, and even if they do, they may or may not implement all of the standard SMART features.

Google is your friend.
   
Comments
[no name] 10-Apr-19 11:48am
   
1
#realJSOP 10-Apr-19 14:12pm
   
What does "1" mean?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100