I'm trying to get the serial number of the hard disks in my PC, i.e. the number printed on a label on the hard disk itself. I found that I can do that using wmic diskdrive get serialnumber
, but I see that the serial number returned has the string "202020202020202020202020" before another 16 characters. I've never seen this long "202020..." string before a hard disk's serial number before. Is this correct?
ETA: The full string is "2020202020202020202020205139334d47585052".
Answer
Skip that Windows utility and load smartctl
Then open an admin command line in the "c:\program files\smartmontools\bin" folder and type:
smartctl -i /dev/sda
*Or sdb sdc etc depending on the drive location
This will show the serial number in a clean easy to read format... and the drive health.
You will find the utility here:
No comments:
Post a Comment