>>If I understand you correctly, you want to get hard drive serial number, not volume serial number. But both methods that you are using, they return volume serial number. Probably you need to use Win32_PhysicalMedia objects instead of Win32_LogicalDisk.
>>
>>This may help:
>>
http://www.codeproject.com/KB/cs/hard_disk_serialno.aspx>
>The second method returns the drive serial number. It is just that I was storing it into cVolumeSerialNumber. I have adjusted the method since then. That one is for the drive serial number.
>
>Thanks for the reference
If by "second method " you mean where you use Scripting.FileSystemObject, then why do you think that is for hard disk serial number?
As far as I understand, FileSystemObject based on logical disk.