Enumerate administrators group with the aid of registry

  • Thread starter Thread starter Boris Skoblo
  • Start date Start date
B

Boris Skoblo

Hi All,

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

Best Regards

Boris
 
microsoft.public.win2000.security news group, Boris Skoblo
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
 
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.
 
Back
Top