Main Topics
Browse All TopicsHi Experts
I'm not terribly well acquainted with either VB Scripting or WMI, but I participated recently in another question about creating backups on an external usb hard drive using "DOS" batch and xcopy, and the subject came around logically to performing some checks to ensure that the drive letter was assigned to the correct drive. The suggestions were to use the Volume Label for the check, but it got me thinking about the Manufacturer's Serial Number as an even more accurate check.
There is the Volume Serial number of drives, which is assigned by the operating system, but that wouldn't be applicable if the drive was connected to another PC, but the manufacturer's serial number for the hard drive would remain static if it can be retrieved.
I discovered a couple of VB scripts that use the "Win32_DiskDrive" class and retrieve the "Signature" value for drives. I am wondering what this value actually is.
Here's the details I have gathered in respect of my two internal IDE hard drives and my external USB hard drive using Windows commands, AIDA32 (now Everest), Belarc Advisor, and the VBS file in the code snippet.
Seagate (C:) One Partition - System Drive.
WMI Signature: 281022655 <-------------------------
Aida32 and Belarc Model ID: ST340016A
Aida32 and Belarc Serial No: 3HS96FM0
Volume Label: CCB6-7A61 (or CCB77A61 MSINFO32)
Maxtor (D: NTFS and E: FAT32)
WMI Signature: -1297841220 <-------------------------
Aida32 and Belarc Model ID: Maxtor 6L160P0
Aida32 and Belarc Serial No: L41C7NTH
Volume Serial D: 7C77-844F (or 7C77844F MSINFO32)
Volume Label D: XP_NTFS
Volume Serial E: 0B66-1ED8 (or 0B661ED8 MSINFO32)
Volume Label E: STORAGE
Freecom USB (I: J: K:) 3 Partitions all FAT32
WMI Signature: 50627703 <-------------------------
NirSoft USBDeview Serial No: DEF10B39A73D
NirSoft USBDeview Device Name: Classic SL Hard Drive
Model ID: Freecom HDS72808 0PLAT20
Volume Serial I: 9451-248B (or 9451248B MSINFO32)
Volume Label I: FREECOM1
Volume Serial J: D827-A03B (or D827A03B MSINFO32)
Volume Label J: FREECOM2
Can someone tell me what Signature is, and where it is retrieved from?
Thank you
Bill
VBS file below. I'm running this in Windows XP SP3.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
http://msdn.microsoft.com/
Signature
Data type: uint32
Access type: Read-only
Disk identification. This property can be used to identify a shared resource. This property has been added for Windows XP.
Thank you greenhacks.
I had been searching the MSDN libraries before I asked, but it's such a maze. I found that by turning it to low bandwidth view it makes things a bit easier to read, but it is still a rabbit warren. To be very honest, I really didn't trust or understand the explanations I had read in some other non-Microsoft pages, and I couldn't find this topic having been previously asked in Experts-Exchange before. In general, any pages returned in my searches just gave me the details you posted.
OK, so it's a 32-bit unsigned integer. That part I understand, as do I understand that the value is a Read-Only one. What I am not clear about is exactly what was being asked about in your first linked page. There doesn't seem to be a properly qualified answer there to the question of what happens if the OS is reinstalled, or if the drive is connected to another computer. The explanation is based on a "it is my understanding" basis.
In that first linked page Mohammadreza asks precisely what I am seeking to find out:
"What if the user reinstalls the OS? Does the OS generate the same signature?"
Unfortunately Mischa responds there with a vague and ambiguous answer:
"In my understanding the signature is never touched again if generated before."
So where is the number generated then?
I thought the value retrieved by WMI is Read-Only, but the answer tends to imply that the number is "generated, presumably TO the hard drive, but it's Read-Only and can't be.
Is this integer a value generated from a combination of other values, something along the lines of the "hash" number created for Windows Activation, except that it will always be the same if connected to any computer that supports reading and hashing the values into a signature?
Sorry for the questions, but the two links don't really explain what I needed to know.
Thanks
Bill
Well once generated and stored on hdd itself, it will be readonly for us and not for windows i think.
And here is on how it is created:
Signature:
http://msdn.microsoft.com/
Also read not in RED color which says:
[The Signature property is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions. Instead, use the DiskSignature property.]
DiskSignature:
http://msdn.microsoft.com/
Does that answer your question?
Business Accounts
Answer for Membership
by: BillDLPosted on 2009-10-04 at 11:53:32ID: 25490207
By the way, there is no great urgency to this question. It is really just so I know if this value is a constant that could be used for drive identification or not. The points value is high because I am sure that I will receive answers that go way over my head and I will have to ask to have them explained in simple language ;-)