Article View: borland.public.cppbuilder.nativeapi
Article #3293Re: computer sid
From: Mike Collins
Date: Tue, 11 Jul 2006 19:03
Date: Tue, 11 Jul 2006 19:03
52 lines
2876 bytes
2876 bytes
Sorry Remy, i thought the was a SID defined for the computer when the windows installer is first run. I'm basing this on the article that i read previously on sysinternals (http://www.sysinternals.com/utilities/newsid.html) and on chapter 8 of Inside Windows 2000 3rd Edition (by D.Solomon and M.Russinovich). I run the tool, psgetsid.exe, from the sysinternals sight (http://www.sysinternals.com/utilities/psgetsid.html) and it returns a SID for my system. Am i confusing my terminology here? We have a basic registration system where i was intending to use a hash of (what i thought was the) computer SID to identify the installation on a specific windows version. From reading the article above i understand that this can (if it does indead exists) be altered but we are just trying to track the installation and prevent it being installed on the same window box twice. The reason for the is quite specific - there is method in the madness... Obviously there are many different was to try and identify the system i.e. MAC address but the design modal that we have relates to a specific window installation as opposed to a specific machine. Please advice me if I'm wrong here... Many thanks in advance, Mike C "Remy Lebeau (TeamB)" <no.spam@no.spam.com> wrote in message news:44b3d727$1@newsgroups.borland.com... > > "Mike Collins" <its@TheBottomOfThePost.com> wrote in message > news:44b3a626$1@newsgroups.borland.com... > >> I need to retrieve the computer SID for identification purposes, >> i can find any solid (or simple :-) code to do this. > > There is no SID for the computer itself. Only for individual users. > There > is no computer-wide ID available at all (expect for the CPU ID, but most > people disable that). > >> Does anyone have any code snippets or could point me in the >> right direction. > > What EXACTLY are you trying to accomplish? > > > Gambit > >
Technical Details
Message-ID:
<44b3f601$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news3.google.com!news2.volia.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<44b3a626$1@newsgroups.borland.com> <44b3d727$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,752843d06b3a660f X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Mike Collins" <its@TheBottomOfThePost.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <44b3a626$1@newsgroups.borland.com> <44b3d727$1@newsgroups.borland.com> Subject: Re: computer sid Date: Tue, 11 Jul 2006 20:03:30 +0100 Lines: 54 Organization: SDA Ltd X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.3790.2663 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.2663 NNTP-Posting-Host: 81.2.92.14 Message-ID: <44b3f601$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1152644609 81.2.92.14 (11 Jul 2006 12:03:29 -0700) Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news3.google.com!news2.volia.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail