Try this test program generated with vb6 I believe that it is giving the embedded serial number not the volume number generated by windows.
You can download it here.
http://www.trimpos.net/test1.exeIf you would like to generate it yourself with vb6 here is the source just put a list box on a form and copy in the following code?
Private Sub Form_Load()
Dim colProcessList
Dim objprocess
Set colProcessList = GetObject("Winmgmts:").ExecQuery("Select * from Win32_DiskDrive ")
For Each objprocess In colProcessList
If Mid(objprocess.PnPDeviceID, 1, 7) = "USBSTOR" Then
List1.AddItem objprocess.PnPDeviceID
End If
Next
Set colProcessList = Nothing
Set objprocess = Nothing
End SubI found the above code on the web, if it is not returning the actual hardware id please let me know.