Re: Enumerate administrators group with the aid of registry

From: Joe Richards [MVP] (humorexpress_at_hotmail.com)
Date: 11/29/05


Date: Tue, 29 Nov 2005 10:10:42 -0500

It actually is stored in the registry, but it is a section normally locked off
from all users. It is in hklm\security\sam\builtin\aliases with the info spread
all over under that key in several other keys. It isn't like you are going to
look at one registry value and have the list.

You need to use one of the APIs to recover the info. If you don't want to write
code you can call out to net localgroup or if you want remote machine info look
at my lg tool on my website.

--
Joe Richards Microsoft MVP Windows Server Directory Services
www.joeware.net
Boris Skoblo wrote:
> Where on a local computer this information stored and how to retrieve it ?
> 
> "Paul Adare" <padare@newsguy.com> wrote in message 
> news:MPG.1df625b6db5d890989f46@msnews.microsoft.com...
>> In article <dmhlbv$vli$1@news.iucc.ac.il>, in the
>> microsoft.public.win2000.security news group, Boris Skoblo
>> <borsk@tx.technion.ac.il> says...
>>
>>> How I can enumerate Administrators group on  WinXP
>>> with the aid of registry ?
>>>
>> Since group membership isn't stored in the registry, you can't.
>>
>> -- 
>> Paul Adare
>> MVP - Windows - Virtual Machine
>> http://www.identit.ca/blogs/paul/
>> "The English language, complete with irony, satire, and sarcasm, has
>> survived for centuries without smileys. Only the new crop of modern
>> computer geeks finds it impossible to detect a joke that is not clearly
>> labeled as such."
>> Ray Shea 
> 
> 


Relevant Pages

  • Re: Media Player 10 "Play All" Problem.
    ... Save the file to your local computer - right click on the link and ... Go to regedit's Registry menu, ... I'm having a small, but annoying problem, with Media Player 10 ... I have to right-click the album selection and play them from there ...
    (microsoft.public.windowsmedia)
  • RE: Get error 1225 please help?
    ... The local computer may not have the necessary registry information or ... This DC is a new installation and this is the only one that have this error. ... "First Counter" is a variable found in the registry for performance ...
    (microsoft.public.win2000.general)
  • Re: Couldnt start sqlagent service
    ... We had similar problem when the registry of a machine was messed up with a ... > sqlagent$instance on local computer, ... SQL server doesn't exist or access ...
    (microsoft.public.sqlserver.server)
  • Re: Enumerate administrators group with the aid of registry
    ... Where on a local computer this information stored and how to retrieve it? ... > microsoft.public.win2000.security news group, Boris Skoblo ... >> How I can enumerate Administrators group on WinXP ... > Since group membership isn't stored in the registry, ...
    (microsoft.public.win2000.security)