RE: Unique identifier for machine

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Hi Alex,

I got another idea, maybe you could use the 96-bit unique ID, which is the
middle part subauthority of the target Windows system's Administrator or
Guest account SID, it is generated during the Windows system installation
time.

Administrator: S-1-5-21-XXXX-XXXX-XXXX-500
Guest: S-1-5-21-XXXX-XXXX-XXXX-501

You can use the API LookupAccountName to retrive it.


Thanks!

Best regards,

Gary Chang
Microsoft Community Support
--------------------
Get Secure! ¡§C www.microsoft.com/security
Register to Access MSDN Managed Newsgroups!
http://support.microsoft.com/default.aspx?scid=/servicedesks/msdn/nospam.asp
&SD=msdn

This posting is provided "AS IS" with no warranties, and confers no rights.

.