Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 287
  • Last Modified:

Read Hard Disk Serial Number

How can i read Hard Disk Serial Number (Not Partition Serial), I have tried the GetVolumeInformation function but this one returns the partition serial.
i need to know if there is any way to read the Hard Disk Serial number.
0
jordanmark
Asked:
jordanmark
1 Solution
 
gj62Commented:
If you mean the manufacturer's serial number, it is printed on the outside of the drive - I don't think there is programming way to access it.

Normally, when people refer to the hard disk serial number, they are talking about the partition serial number, which is assigned when the drive is formatted (if you reformat, the number will change...)
0
 
gj62Commented:
Mafalda -

They said they didn't want the one returned by GetVolumeInformation - which is what the answer you posted returns...
0
 
tinchosCommented:
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

Answered by: AlexFM

Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

Tinchos
EE Cleanup Volunteer
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now