Moderators SmOke_N Posted January 23, 2006 Moderators Share Posted January 23, 2006 i not sure....but isn't the windows product id unique?HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\ProductIdWould that not be for only 9x and ME? ^^ Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
JSThePatriot Posted January 23, 2006 Share Posted January 23, 2006 Would that not be for only 9x and ME? ^^I just checked my XP installation, and I have the key there, but it is not with my actual product id. It is some sort of other ID, not sure if it is unique or not.JS AutoIt Links File-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out. ComputerGetInfo UDF's Updated! 11-23-2006 External Links Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more) Link to comment Share on other sites More sharing options...
herewasplato Posted January 23, 2006 Share Posted January 23, 2006 (edited) i not sure....but isn't the windows product id unique?They are not unique when the builds are from a corporate license.Edit: My bad, I confused this with product key and when I checked 2 systems built from a corp CD - only one digit was different on the ProductID and it was not on either end - I just missed the compare.ProductId seems to be the number Microsoft assigned to you when you registered Windows... Edited January 24, 2006 by herewasplato [size="1"][font="Arial"].[u].[/u][/font][/size] Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted January 23, 2006 Moderators Share Posted January 23, 2006 (edited) I double checked, I also have it there... in both Windows / WindowsNT ... I Checked both my corporate XP Pros SP2's and My wifes Home Edition. Edit: The 2 Corp's were from the same CD and they are in fact different on both PC's under the ProductID. Edited January 23, 2006 by SmOke_N Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
ChrisL Posted January 23, 2006 Share Posted January 23, 2006 They are not unique when the builds are from a corporate license.Or ghosted [u]Scripts[/u]Minimize gui to systray _ Fail safe source recoveryMsgbox UDF _ _procwatch() Stop your app from being closedLicensed/Trial software system _ Buffering Hotkeys_SQL.au3 ADODB.Connection _ Search 2d Arrays_SplashTextWithGraphicOn() _ Adjust Screen GammaTransparent Controls _ Eventlogs without the crap_GuiCtrlCreateFlash() _ Simple Interscript communication[u]Websites[/u]Curious Campers VW Hightops Lambert Plant Hire Link to comment Share on other sites More sharing options...
herewasplato Posted January 24, 2006 Share Posted January 24, 2006 (edited) ...The 2 Corp's were from the same CD and they are in fact different...I confused ProductID with Product Key and when I checked 2 systems built from a corp CD - only one digit was different on the ProductID and it was not on either end - I just missed the compare.According to a few sites, ProductId seems to be the number Microsoft assigned to you when you registered Windows... Edited January 24, 2006 by herewasplato [size="1"][font="Arial"].[u].[/u][/font][/size] Link to comment Share on other sites More sharing options...
ACalcutt Posted January 24, 2006 Share Posted January 24, 2006 it is the number in the "registed to" section of system properties i've never registered my windows, so i dont think thats it Andrew Calcutt Http://www.Vistumbler.net Http://www.TechIdiots.net Its not an error, its a undocumented feature Link to comment Share on other sites More sharing options...
JSThePatriot Posted January 24, 2006 Share Posted January 24, 2006 it is the number in the "registed to" section of system propertiesi've never registered my windows, so i dont think thats itMaybe by register he means "Activate".Just a thought,JS AutoIt Links File-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out. ComputerGetInfo UDF's Updated! 11-23-2006 External Links Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more) Link to comment Share on other sites More sharing options...
herewasplato Posted January 24, 2006 Share Posted January 24, 2006 Maybe by register he means "Activate".I had that debate in my head - but I used the term that I found on several sites when researching that registry key.Google This:"not to be confused with ProductId which is the number Microsoft assigned to you when you registered Windows"I know that it could be wrong and copied over and over - but I just used the term that I found.I was also told that the corp XP CD that I make my builds from does not require activation. That could be wrong or it could be that activation is done without user intervention or....but - back to the topic of this thread - is that number truely unique? [size="1"][font="Arial"].[u].[/u][/font][/size] Link to comment Share on other sites More sharing options...
JSThePatriot Posted January 24, 2006 Share Posted January 24, 2006 I had that debate in my head - but I used the term that I found on several sites when researching that registry key.Google This:"not to be confused with ProductId which is the number Microsoft assigned to you when you registered Windows"I know that it could be wrong and copied over and over - but I just used the term that I found.I was also told that the corp XP CD that I make my builds from does not require activation. That could be wrong or it could be that activation is done without user intervention or....but - back to the topic of this thread - is that number truely unique?To my knowledge... Corporate accounts do not require activation. I didnt think about that before I made my post. I understand your use of the terms.JS AutoIt Links File-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out. ComputerGetInfo UDF's Updated! 11-23-2006 External Links Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more) Link to comment Share on other sites More sharing options...
ACalcutt Posted January 24, 2006 Share Posted January 24, 2006 Well i think registered may be the correct term (since its in registration information in system properties) but i dont think you have to physically register to get the number, its their automatically. And no...you dont need to activate a XP corporate, but micorsoft still tracks you when you go to windows update, so their must be a uniqe key(at least in windows XP) unless they track your GUID :-/ Andrew Calcutt Http://www.Vistumbler.net Http://www.TechIdiots.net Its not an error, its a undocumented feature Link to comment Share on other sites More sharing options...
FiNAlzFiNAle Posted May 11, 2007 Share Posted May 11, 2007 Hi nfwu,I'd like to ask whether the function _UniqueWoodID2 generates a unique ID of fixed length, even when run on other computers?Also, what does the shortening value variable do? According to the the UDF you posted here, it is supposed to shorten the ID that is generated.If I use a small number, it generates a long string, and if I use a large number, it will generate a short string.Thanks Link to comment Share on other sites More sharing options...
cmtuggl Posted April 8, 2008 Share Posted April 8, 2008 (edited) Not sure what is being checked to validate your windows install for windows updates (I assume GUID, listed below that I didn't try)...but i can say this, the Product ID mentioned in this thread (HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\productid) is most definately NOT unique. OEM installs are the problem, not corporate licenses. I have done a live sampling of thousands machines to see if I could use this. To give an example, I just looked at a data set of approximately 4000 machines from a US consumer market. There were only about 400 unique product ids. Most all duplicates had "OEM" in the product id itself.Woods Unique ID (tried #2) also does not seem to be 100% unique (as he mentions), even in the 4000 unit sample. I saw approximately 99.1% success rate. Other ID's I looked in to:UUIDLANGUAGE USED: AUTO IT WMI QUERY**This one had 3288 unique out of 4000GUIDNOTES: http://www.microsoft.com/technet/scriptcen...05/hey0221.mspxLANGUAGE USED: VBS**Didn't try thisMS Cryptography GUIDhkey_local_machine\software\microsoft\cryptography\GUID**Not even close to unique. Not quite as bad as product id though.Basically the simplest answer is Mac Address for the internet connected NIC will give you a unique id. To do this you use WMI to call Win32_NetworkAdapterConfiguration WHERE IPEnabled=True. I only had 6 records of duplicate MAC addresses making it work for 99.8% of the cases so far. This is also explained if the unit has more than one NIC or the NIC gets replaced. Edited April 8, 2008 by cmtuggl Link to comment Share on other sites More sharing options...
rudi Posted April 8, 2008 Share Posted April 8, 2008 Buffo, your solution adopting timestamps is ingenious and I can see it being quite effective.For the customers I support this would be useless: All the PCs are somewhat clones, in some networks all of them, so these timestamps will be identical.And the timestamp taken from the user profile is not machine, but user related, isn't it?Regards, Rudi. Earth is flat, pigs can fly, and Nuclear Power is SAFE! Link to comment Share on other sites More sharing options...
everseeker Posted April 8, 2008 Share Posted April 8, 2008 (edited) For the customers I support this would be useless: All the PCs are somewhat clones, in some networks all of them, so these timestamps will be identical.And the timestamp taken from the user profile is not machine, but user related, isn't it?Regards, Rudi.You DO realize how old the post is that you replied to, don't you? (almost 2.5 YEARS ago) Edited April 8, 2008 by everseeker Everseeker Link to comment Share on other sites More sharing options...
rudi Posted April 8, 2008 Share Posted April 8, 2008 (edited) Hi. I only had 6 records of duplicate MAC addresses making it work for 99.8% of the cases so far. What vendor did these duplicate MACs come from? AFAIK the MAC address space definitely is *NOT* running short. Duplicate MAC addresses are not allowed by specification. Well, I didn't check large numbers of PCs, but MAC addesses somehow have a builtin checksum rule [1] and so far I've never seen duplicate mac addresses: They should cause switching problems when in the same LAN, as duplicate MAC addresses should mess up the switch' ARP table. (some kind of Hardware ARP spoofing...) Regards, Rudi. [1] in the early 1990 "heretic" was a nice IPX LAN game for multiplayer sessions. The player with the lowest MAC address value got the dark green dress -- that one worst to be recognized. Well, I *ALWAYS* was the green warrior , regardless of the PC I was sitting at, but the lowest MAC I could use these days was far above 00:00:00:00:00:01, the first possible values in the row were invalid MACs and so this MAC spoofing was refused by the NIC's driver. Edited April 8, 2008 by rudi Earth is flat, pigs can fly, and Nuclear Power is SAFE! Link to comment Share on other sites More sharing options...
cmtuggl Posted April 10, 2008 Share Posted April 10, 2008 What vendor did these duplicate MACs come from?I did not document the NIC vendor. : / Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted April 10, 2008 Moderators Share Posted April 10, 2008 I did not document the NIC vendor. : /Are you guys suggesting that a cloned virtual OS has a unique MAC address from the original virtual environment it was cloned from?News to me if so... I was under the impression that the UUID was the only unique option from virtual environment to virtual environment, and even that could be spoofed back to the original. Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
Wilenty Posted June 25, 2011 Share Posted June 25, 2011 If @OSArch='x86' Then $reg='HKEY_LOCAL_MACHINE' Else $reg='HKEY_LOCAL_MACHINE64' EndIf $UUID=RegRead($reg & '\SOFTWARE\Microsoft\Cryptography', 'MachineGuid') MsgBox(0,'Machine GUID','{' & $UUID & '}') Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now