Click here to Skip to main content
15,887,746 members
Please Sign up or sign in to vote.
1.00/5 (1 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 1: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

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.
 
Share this answer
 
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, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900