Jump to content
Sign in to follow this  
daslick

Hard drive serial number

Recommended Posts

daslick

Hard drives have a serial number that never changes even after formatting and they also have a volume serial number.

I am considering using the MAC addresses of all the network adapters and the serial numbers of the hard drives as returned by DriveGetSerial. Is anyone sure that this is NOT the volume serial number? At this point I am going to require that 2/3rds of the MAC Addresses and hd serial numbers. Any other suggestions?

Share this post


Link to post
Share on other sites
KaFu
daslick

Looks great! None of that data will change if the user formats?

Share this post


Link to post
Share on other sites
KaFu

Depending on version 1 or 2 there are several different criteria. You'll have to sort out, which don't change on format but e.g. on hardware change only:)...

Guess something like

$objItem.Architecture

$objItem.Family

$objItem.L2CacheSize

$objItem.L2CacheSpeed

$objItem.Manufacturer

$objItem.MaxClockSpeed

$objItem.PNPDeviceID

$objItem.ProcessorId

shouldn't change on format.

If you browse the thread you'll also see same alternate methods which may suite your purpose better.

Edited by KaFu

Share this post


Link to post
Share on other sites
daslick

Ok great. I'll probably test it on myself with a format... Thanks!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×