Hard Disk Serial Number RRS feed

  • Question

  • Hey , 

    I have a question which I really hope someone can help me.
    I have been dealing for a long time with finding a real unique ID for Hard Disks (slaves).
    From all the forums and articles the answer I got is "Serial Number".
    Is that true ? Is serial number is the only and best unique ID to recognize HD ? 
    The reason I'm asking that question is that I wrote a program in c++.One of the things it does is 
    getting with WMI command the HDs' serial numbers that connect to the station. 
    Through the time I noticed that sometimes I get for the same HD different serial numbers or 
    similar serial number but the characters changed their place.

    Are you familiar with this problem ? Is there better unique ID should I use ? Is there a better call than WMI ? 

    Thanks !   
    • Moved by Dave PatrickMVP Monday, July 22, 2019 12:21 PM not reporting forums profile issues
    Monday, July 22, 2019 7:54 AM