How to retrieve the local admin group name?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

The question sounds simple, but appearantly it is not...

How can I get the name of the local administrators group?

The problem is, that with different Windows languages the name differs.
In english the name is "Administrators", in german "Administratoren" in
spanish "Administratores" etc...

I also have the same problem with the "Distributed COM Users" group...

Any idea?

Thanks in advance!
 
Ultimus said:
The question sounds simple, but appearantly it is not...

How can I get the name of the local administrators group?

The problem is, that with different Windows languages the name
differs. In english the name is "Administrators", in german
"Administratoren" in spanish "Administratores" etc...

I also have the same problem with the "Distributed COM Users" group...

Any idea?

Could you use the SID S-1-5-32-544?
"Well-known security identifiers in Windows operating systems":
http://support.microsoft.com/default.aspx/kb/243330

Andrew
 
Back
Top