Page 2 of 3
Posted: Wed Feb 04, 2009 8:13 am
by DaylightDreamer
Any idea exactly which hardware fingerprint is this ?
Posted: Wed Feb 04, 2009 9:23 am
by Kwai chang caine
Thanks GNOZAL with your code on W2000
Profil 1 -> {24a7b7c0-4c22-11d8-a3d5-806d6172696f}
{24a7b7c0-4c22-11d8-a3d5-806d6172696f}
But the two codes of CITYSTATE don't works
1/ One have error memory
2/ Two nothing return
Posted: Wed Feb 04, 2009 10:09 am
by Esteban1
DaylightDreamer wrote:Any idea exactly which hardware fingerprint is this ?
Well, this doesn't seem to be a real hardware fingerprint but the current hardware profile identifier. So, if you change your hardware profile (just by adding a new one via "Properties" of "My PC"), you'll be getting something different even if you are still having the same hardware.
(Sorry for my English).
Posted: Wed Feb 04, 2009 12:17 pm
by DaylightDreamer
But wil it change if i move my hard disk with windows to another PC ?
Posted: Wed Feb 04, 2009 5:45 pm
by SFSxOI
I tend to think that the code in this thread is not generating an actual hardware hash for some reason like it should. The MSDN at >
http://msdn.microsoft.com/en-us/library/ms724311.aspx says this:
"The system generates a GUID for each hardware profile and stores it as a string in the registry."
I tried it, the registry GUID entry should be the same as what this generates, but it isn't all the time. The GUID and hash (as its being called here) are one in the same thing, but the one in the registry doesn't match the one generated by this code for some reason sometimes.
Posted: Thu Feb 05, 2009 9:37 am
by DaylightDreamer
Is it posible to get motherboard`s serial number then ?
Posted: Thu Feb 05, 2009 11:03 am
by Thalius
over the mainboard vendors API dlls prolly yes.
Posted: Thu Feb 05, 2009 2:30 pm
by Psychophanta
Equivalent to Gnozal code for those who prefer not to use reference pointers and PeekS; and so then use string variables directly:
Code: Select all
;
; Get Hardware Fingerprint
;
#HW_PROFILE_GUIDLEN=$27
#MAX_PROFILE_LEN=$50
Structure HW_PROFILE_INFO
DockInfo.l
szHWProfileGUID${#HW_PROFILE_GUIDLEN}
szHwProfileName${#MAX_PROFILE_LEN}
EndStructure
Procedure$ HardwareFingerprint()
Protected hwp.HW_PROFILE_INFO
GetCurrentHwProfile_(@hwp)
Debug hwp\szHwProfileName$+" -> "+hwp\szHWProfileGUID$
ProcedureReturn hwp\szHWProfileGUID$
EndProcedure
Debug HardwareFingerprint()
Posted: Thu Feb 05, 2009 2:57 pm
by SFSxOI
DaylightDreamer wrote:
Is it posible to get motherboard`s serial number then ?
Yes, you can use WMI to get the motherboard serial. I use srod's COmate package to use WMI, you can then use it to get a ton of information about the computer.
Posted: Mon Sep 21, 2009 1:42 pm
by doctorized
None of the codes posted here return data to me.
For example, Psychophanta's code returns "Profile 1 ->" only.
Nothing in the form: {XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX} appears.
( I use PB 4.31)
Re:
Posted: Mon Sep 21, 2009 1:46 pm
by SFSxOI
doctorized wrote:None of the codes posted here return data to me.
For example, Psychophanta's code returns "Profile 1 ->" only.
Nothing in the form: {XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX} appears.
( I use PB 4.31)
are you running it with admin privilages? Your not running it on Windows 7 are you?
Re: Re:
Posted: Mon Sep 21, 2009 5:35 pm
by rsts
SFSxOI wrote:
are you running it with admin privilages? Your not running it on Windows 7 are you?
Seems to work fine on Win 7 here
cheers
Posted: Mon Sep 21, 2009 10:12 pm
by doctorized
SFSxOI wrote:are you running it with admin privilages? Your not running it on Windows 7 are you?
I use Windows XP x64 SP2 with admin privilages. Neither PB 4.31 x86, nor x64, return the code.
Re: Getting the System Hardware Fingerprint (XP/2003/Vista)
Posted: Tue Sep 22, 2009 4:18 pm
by Rook Zimbabwe
What I find interesting is that on all XP machines so far the end of the strings reported look like "806d6172696f" which MUST be the OS and the section right before that MIGHT be the CPU type (I am only guessing here!)

Re: Getting the System Hardware Fingerprint (XP/2003/Vista)
Posted: Tue Sep 22, 2009 5:52 pm
by SFSxOI
hmmm...nope. This is only a hardware profile GUID thats intended for use with saving user settings as it relates to the hardware profile power status of 'docked' or 'undocked'. All windows OS's have such a profile, its not actually a hardware hash or GUID after all in the sense that its unique to a particular computer and that computer only and none other would have (or is likely to have) the same hash. Although it may seem different between computers belonging to different people it can be duplicated. For example, I have seven computers set up on my home network and all of them are exactly the same for hardware-memory-OS (Vitsa Ultimate on 6 - Windows 7 on one) - drives - motherboard - processors - etc....(mass hardware buy, built them all at the same time), all of the Vista machines show the same output from running this, the produced hash is exactly the same for each of the computers. So its not unique to each individual computer and not actually a unique hardware fingerprint.