Hi All,

How I can enumerate Administrators group on WinXP
with the aid of registry ?

Best Regards

Boris

Re: Enumerate administrators group with the aid of registry by Paul

Paul
Tue Nov 29 07:46:15 CST 2005

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

Re: Enumerate administrators group with the aid of registry by Boris

Boris
Tue Nov 29 08:01:18 CST 2005

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



Re: Enumerate administrators group with the aid of registry by Joe

Joe
Tue Nov 29 09:10:42 CST 2005

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
>
>