Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

share|improve this question

5 Answers 5

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,

share|improve this answer
    
Thanks for answering but I am getting a blank screen –  SpringLearner Jan 28 at 12:53
    
nothing simply blank –  SpringLearner Jan 28 at 12:56
    
see this imgur.com/WzPM4Fy –  SpringLearner Jan 28 at 13:00

Press Windows Key + R

type

msinfo32.exe

It will show details of almost everything in the system. Locate to storage and find the details.

share|improve this answer
    
Also on Windows XP? –  Anders R. Bystrup Jan 28 at 14:06
    
Yea. Think so. I have used it on Windows 7. –  Unnikrishnan Jan 28 at 14:08
    
Thanks for answering,+1 I did the way you suggested but the I am not getting the manufacturer serial number. –  SpringLearner Jan 29 at 4:21

If you can't just pull the drive out then try:

Start > Control Panel > System > Device Manager

Expand the Disk Drive and right click the HDD you want. Select Properties > Details Tab. From the drop down select Hardware IDs. It should be listed in there.

EDIT: Since it was different in device manager you could try cmd command:

wmic diskdrive get serialnumber

See if this matches.

share|improve this answer
    
Thanks for answering I tried your way but the number I get from device manager and the number printed on the hard drive does not match –  SpringLearner Jan 28 at 13:04
    
Thanks for answering +1 –  SpringLearner Jan 28 at 13:08

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.

share|improve this answer
    
Thanks for your useful answer,+1 –  SpringLearner Jan 29 at 4:18

Use below powershell script to get the serial number of hard disk.

Get-WmiObject Win32_PhysicalMedia | Format-Table Tag, SerialNumber

share|improve this answer
    
Does this work on Windows XP also? –  Anders R. Bystrup Jan 28 at 14:07
    
I don't think it will work on Win XP. On XP you can use this command - wmic diskdrive get serialnumber –  user2301394 Jan 28 at 14:09
    
Thanks for answering +1 –  SpringLearner Jan 29 at 4:18

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.