Difference between Windows install key and serial number?
While poking through the registry the other day, I found that there is a 20 character "productID" under the CurrentVersion key for HKLM\SOFTWARE\Microsoft\Windows. Obviously, this isn't the key used during the installation process, as that key is 25 characters long. I know that older Windows versions (95/98/NT) used to store the key used to install Windows in the registry, but I thought that the newer versions (XP/2000/2003) encrypted the key and stuffed it somewhere more secure (WMI, perhaps).
The "productID" in the registry on XP/2000/2003 is probably some kind of serial number, but can anyone here tell me if I can rely on this number to be as unique as the install key? Anyone know where this "productID" comes from? Is it tied to the install key? I'm working in the Compliance field now, and I have a user who would like to scan his systems for invalid copies of Windows. If I write a script that will scan for this "productID", will I accomplish the same thing as if I had known the actual install key? Will a system installed with the same installation key have 2 different "productID" numbers? Any assistance would be greatly appreciated!