Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

WMI Win32_LogicalDisk question

Status
Not open for further replies.

Tdrgabi

Programmer
Jun 24, 2004
43
RO
greetings, is it possible to find the serial number of a disk drive using Win32_LogicalDisk ? I mean the code that wont change even if i format my hdd. The serial number of the hardware.

i know there is a volumeSerial and DeviceId property in Logical_Disk but those wont do the trick. As soon as i format the partition, my serial number changes.

If this is not possible using Win32_LogicaDisk class, do you know of any other method?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top