computer sid

I

ilona

Hi All,
can I, given IP address or MAC address, find SID of the computer without
going to AD scan results? Is it a registry key somewhere. I googled and saw
that computer SID is supposed to be in
HKEY_LOCAL_MACHINE\SECURITY\SAM\Domains\Account. However on my WindowsXP SP2
box, there is HKEY_LOCAL_MACHINE\SECURITY and HKEY_LOCAL_MACHINE\SAM
sections and Security is blank and SAM only has reg_sz property - nothing
for Domains\Account

My box is joint to a domain and AD query does return a SID for my computer.

Where can I find a matching computer SID in Registry????? Is there the same
place in Registry for SID on different versions of Windows or does it vary?

I am trying to tie together corresponding results of NMAP scan and AD scan
of the computers on the network - I am thinking that if I get IP and SID
from NMAP I could query the computer registry for its SID and tie the
results up by SID. Is there a better way?
 
J

John Wunderlich

Hi All,
can I, given IP address or MAC address, find SID of the computer
without going to AD scan results? Is it a registry key somewhere.
I googled and saw that computer SID is supposed to be in
HKEY_LOCAL_MACHINE\SECURITY\SAM\Domains\Account. However on my
WindowsXP SP2 box, there is HKEY_LOCAL_MACHINE\SECURITY and
HKEY_LOCAL_MACHINE\SAM sections and Security is blank and SAM only
has reg_sz property - nothing for Domains\Account

My box is joint to a domain and AD query does return a SID for my
computer.

Where can I find a matching computer SID in Registry????? Is there
the same place in Registry for SID on different versions of
Windows or does it vary?

I am trying to tie together corresponding results of NMAP scan and
AD scan of the computers on the network - I am thinking that if I
get IP and SID from NMAP I could query the computer registry for
its SID and tie the results up by SID. Is there a better way?

You can try the "psGetSid" program...
<http://www.microsoft.com/technet/sysinternals/utilities/psgetsid.mspx>

HTH,
John
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top