1,105,375 Community Members

determine hard drive serial number

Member Avatar
Micko
Junior Poster
148 posts since Aug 2005
Reputation Points: 2 [?]
Q&As Helped to Solve: 10 [?]
Skill Endorsements: 0 [?]
 
-1
 

Hello guys,
I need to find out what is my drive's serial number under win XP.
I know that there are one serial number from manufacturer (real hard drive) and serial numbers generated by windows.
I know that if disk is partitioned into more partitions that each partition will have unique serial number called Volume serial number.
That number can be obtained by typing dir into cmd prompt.
Is there any other way to find out real serial number without need to open case.

Thanks

Member Avatar
knsljo
Junior Poster
167 posts since Jul 2006
Reputation Points: 0 [?]
Q&As Helped to Solve: 9 [?]
Skill Endorsements: 0 [?]
 
0
 

Its really not that difficult to open the case you know - all you need is two hands and a screwdriver!:-|

Member Avatar
Micko
Junior Poster
148 posts since Aug 2005
Reputation Points: 2 [?]
Q&As Helped to Solve: 10 [?]
Skill Endorsements: 0 [?]
 
0
 

Hehhe, not if that is sealed with special connection that will broke and warranty void...

Member Avatar
knsljo
Junior Poster
167 posts since Jul 2006
Reputation Points: 0 [?]
Q&As Helped to Solve: 9 [?]
Skill Endorsements: 0 [?]
 
0
 

Hehhe, not if that is sealed with special connection that will broke and warranty void...

Why do you need the serial number?

Member Avatar
digitalocksmith
Posting Whiz in Training
257 posts since Aug 2006
Reputation Points: 52 [?]
Q&As Helped to Solve: 27 [?]
Skill Endorsements: 0 [?]
 
0
 

For XP, navigate: start>control panel>system, select the 'hardware' tab>device manager, expand 'disk drives' then right click on the hdd in question. select properties then click the 'details' tab. from the drop down box select 'hardware ids' and bingo.....info should include brand name manufacturer,interface type,model no,serial etc, all you should need!!

Member Avatar
digitalocksmith
Posting Whiz in Training
257 posts since Aug 2006
Reputation Points: 52 [?]
Q&As Helped to Solve: 27 [?]
Skill Endorsements: 0 [?]
 
0
 

If you need certain numbers from the physical drive itself, i would advise that who ever is seeking this information should contact the manufacturer for details... as your hands are bound by the evil chains of warranty! lol

Member Avatar
vishnukumarit
Newbie Poster
1 post since Apr 2008
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
0
 

how can i determine hard drive serial number?

Member Avatar
hughv
Veteran Poster
1,132 posts since Oct 2007
Reputation Points: 104 [?]
Q&As Helped to Solve: 93 [?]
Skill Endorsements: 0 [?]
 
0
 

Your HD manufacturer will provide software for this, or you can simply open the case, as suggested.

Member Avatar
Jerry Leventer
Newbie Poster
1 post since Aug 2008
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
0
 

On Windows XP, the Device Manager does not show the Hard Drive Serial Number. It only shows the Model Number.

The reason someone would want to know the serial number is for example if you are about to transfer or clone data from one drive to another.

You then reboot your machine and wish to confirm the data. If there are differences, using a tool such as BeyondCompare, you need to know which drive is which. You may have drives E:\ and drive F:\ , but you don't know which actual devices these are.

Therefore, the serial number is the best way to establish which drive is which without having to shut down and open the case, and even then you may not know which one is E or F (especially with serial drives, SATA). For my system, I keep a sheet of paper with all my hard drive serial numbers on it, and the drives are numbered with yellow electricians tape.

Member Avatar
Mahesh Girolia
Newbie Poster
5 posts since Oct 2009
Reputation Points: -4 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
0
 

simply open properties of hard disk drive in device manager

Member Avatar
logixisbad
Newbie Poster
1 post since Dec 2009
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
0
 

for XP or Server 2003 (the two I tried)
Open a command prompt
type "label"
the hard drive volume label and serial number will be listed

Member Avatar
onecode
Newbie Poster
1 post since Jan 2010
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
0
 

VISIT http://www.rmgsoftech.com for download hard disk serial number source code

Member Avatar
viviensdcn
Newbie Poster
4 posts since Jan 2010
Reputation Points: 0 [?]
Q&As Helped to Solve: 1 [?]
Skill Endorsements: 0 [?]
 
0
 

If you need certain numbers from the physical drive itself, i would advise that who ever is seeking this information should contact the manufacturer for details... as your hands are bound by the evil chains of warranty! lol

not exactly in that case, some manufacuturer info can be got in the boot-up info, or with some sepcial hard drive repair tools and data reovery tools.

Member Avatar
hingman
Newbie Poster
2 posts since Feb 2010
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
0
 

GetDiskSerial.DLL is a standard Windows DLL that does not depend on the "support" libraries. You can use it to read the serial number of hard disk easily. As we all know, this serial number is unique in the world. So this DLL is of great use, for example, you can use this serial number to create an machine id or encrypt number.

The GetDiskSerial.DLL has already succeeded to get the Serial Number in Delphi, C++Builder, C#, Visual C++, Visual Basic, Visual Basic.NET, PowerBuilder, Visual Foxpro and Clarion.

http://www.devlib.net/getdiskserial.htm

Member Avatar
ali.budiyono
Newbie Poster
1 post since Jan 2011
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
0
 

It seems to me that you were looking for codes to protect your program so that it can only be run in a specific hard disk.

Try this:
First find the HD Serial Number in the HD casing, e.g.: 123456789
It is supposed to be the first HD in your computer/primary master.

Then write the program:

FUNCTION HDSerialNo
xWMI = getobject("winmgmts:")
xDisks = xWMI.InstancesOf("Win32_PhysicalMedia")
for each xDisk in xDisks
HDSerialNo=xDisk.SerialNumber && The first HD in your computer
exit
NEXT

HDSerialNo=ALLTRIM(HDSerialNo) && The first HD in your computer


IF HDSerialNo='123456789'
*** Program continues and return to the calling program.
RETURN
ENDI
QUIT && Quitting the program because the HD doesn't match.

RETURN

Just call the program from your main program. If the serial number match, it will return to your program, otherwise it will quit.

And if you want to know your HD Serial Number without opening the case, just add these codes in the program before the line: 'QUIT':
? HDSerialNo
wait

Member Avatar
feryardiant
Newbie Poster
3 posts since Jan 2012
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
0
 

this link should be helpful. Cheers!

Member Avatar
leblackazam090
Newbie Poster
1 post since Jul 2013
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
0
 

I'd like to be able to determine information like the manufacture date and firmware version of a Toshiba hard drive that I have. Why? I'd like to find a surrogate drive to install the platter from my dead Toshiba hard drive into.

You
This article has been dead for over three months: Start a new discussion instead
Post:
Start New Discussion
Tags Related to this Article