How to get the Hard Drive serial number

I wanted to get the serial number assigned by Hard disk manufacturer.

The serial number is usually printed in the hard disk. Normally to get the serial number, I have to take out the hard disk.

Is it possible to know the hard drive serial number from command prompt or in other way.

Before posting this question I have gone through this question but I am getting the error in the following screenshot:

enter image description here


CrystalDiskInfo will display this information as well as all other S.M.A.R.T. data if the computer supports it. It's free, check it out.

If this is unable to pull the serial number then I would double check your BIOS settings and make sure that you have S.M.A.R.T. enabled.

If this is not an option I'd Google the computer model specs to see if there is a BIOS update that supports it, if not then the computer is too old and you have to open the machine.


The Win32_PhysicalMedia class suggest that

wmic path win32_physicalmedia get SerialNumber

should do the trick.

However, the WMI struct holding the DiskDrive information

http://msdn.microsoft.com/en-us/library/aa394132%28v=vs.85%29.aspx

specifically mentions that

SerialNumber: Number allocated by the manufacturer to identify the physical media.

Windows Server 2003 and Windows XP: This property is not available.

I know of no other way to obtain it, sorry.

Cheers,