Get Hard disk serial Number. Ask Question Asked 10 years, 2 months ago. Active 9 months ago. Viewed 100k times 30. I want to get hard disk serial number. How I can I do that? I tried with two code but I am not getting. The command wmic diskdrive get Name,Model,SerialNumber,Size,Status returns names, model types, serial numbers, the overall size in bytes, and the status for all connected hard drives. Other properties that you may retrieve include InstallDate, InterfaceType, FirmwareRevision, DefaultBlockSize, CompressionMethod, Capabilities, Availability. This will show you the serial number against the familiar disk name. Improve this answer. Follow answered Nov 15 '15 at 18:38. Ed Neville Ed Neville. 1,250 9 9 silver badges 10 10 bronze badges. This is a clever approach but doesn't work on my virtual box.
This post explains how to find serial number for various hardware devices – RAM, Hard disk, Motherboard on a computer. We can use WMIC command to find this information. These commands can be executed from Windows command prompt.
This command lists serial number for each RAM module installed on the computer. Example below.
Example:
Replace ‘d:’ with the drive letter for the cdrom on your computer. You get error ‘No Instance(s) available’ if you don’t have CDROM drive on your computer.