| Author | Messages | |
trmattheml
Posts:0
 | | 09/12/2007 7:26 AM |
| Hi. One of our support guys has asked if we have
a tool which can be pointed at a host and returns all users with administrative
rights to that host. The way I see it it starts with a simple list of the
Administrator group and then a recursive lookup on each group contained within
(Ignoring delegated rights etc for the purpose of this email).
I don't have time at the moment to knock-up a
script for this so wondered if anybody knew of an existing one?
thanks,
Tim
ps Just wanted to say thanks to everybody on this
list for their work. I've been a long time lurker but have learnt so much from
you guys! | | | |
| dloder
Posts:44
 | | 09/12/2007 8:35 AM |
| Not a complete script, but you can use joe's LG
(http://www.joeware.net/freetools/tools/lg/index.htm)
to dump out the group memberships of any particular
host.
--- Tim Matthews - Mail List Acct
wrote:
> Hi. One of our support guys has asked if we have a
> tool which can be pointed at a host and returns all
> users with administrative rights to that host. The
> way I see it it starts with a simple list of the
> Administrator group and then a recursive lookup on
> each group contained within (Ignoring delegated
> rights etc for the purpose of this email).
> > I don't have time at the moment to knock-up a script
> for this so wondered if anybody knew of an existing
> one?
> > thanks,
> Tim
> > ps Just wanted to say thanks to everybody on this
> list for their work. I've been a long time lurker
> but have learnt so much from you guys!
____________________________________________________________________________________
Catch up on fall's hot new shows on Yahoo! TV. Watch previews, get listings, and more!
http://tv.yahoo.com/collections/3658
List info : http://www.activedir.org/List.aspx
List FAQ : http://www.activedir.org/ListFAQ.aspx
List archive: http://www.activedir.org/ma/default.aspx | | | |
| EZiots
Posts:32
 | | 09/12/2007 9:48 AM |
| Wouldn't psexec \\servwername net localgroup administrators work also?
Z
Edward Ziots
Network Engineer
Windows/Citrix Administrator
Lifespan Organization
MCSE,MCSA,MCP+I,M.E,CCA,Security +,Network +
Email: eziots@lifespan.org
Phone Office:401-444-6926
Cell: 401-639-3505
Pager: 401-350-5284
-----Original Message-----
From: ActiveDir-owner@mail.activedir.org
[mailto:ActiveDir-owner@mail.activedir.org] On Behalf Of David Loder
Sent: Wednesday, September 12, 2007 8:35 AM
To: ActiveDir@mail.activedir.org
Subject: Re: [ActiveDir] How to list users with admin permissions to a
server
Not a complete script, but you can use joe's LG
(http://www.joeware.net/freetools/tools/lg/index.htm)
to dump out the group memberships of any particular
host.
--- Tim Matthews - Mail List Acct
wrote:
> Hi. One of our support guys has asked if we have a
> tool which can be pointed at a host and returns all
> users with administrative rights to that host. The
> way I see it it starts with a simple list of the
> Administrator group and then a recursive lookup on
> each group contained within (Ignoring delegated
> rights etc for the purpose of this email).
> > I don't have time at the moment to knock-up a script
> for this so wondered if anybody knew of an existing
> one?
> > thanks,
> Tim
> > ps Just wanted to say thanks to everybody on this
> list for their work. I've been a long time lurker
> but have learnt so much from you guys!
________________________________________________________________________
____________
Catch up on fall's hot new shows on Yahoo! TV. Watch previews, get
listings, and more!
http://tv.yahoo.com/collections/3658
List info : http://www.activedir.org/List.aspx
List FAQ : http://www.activedir.org/ListFAQ.aspx
List archive: http://www.activedir.org/ma/default.aspx
List info : http://www.activedir.org/List.aspx
List FAQ : http://www.activedir.org/ListFAQ.aspx
List archive: http://www.activedir.org/ma/default.aspx | | | |
| EZiots
Posts:32
 | | 09/12/2007 11:41 AM |
| I think you mean gpresult /S servername But I don't see hwo that realty tells you whose in the local administrators group.
Z
Edward Ziots
Network Engineer
Windows/Citrix Administrator
Lifespan Organization
MCSE,MCSA,MCP+I,M.E,CCA,Security +,Network +
Email: eziots@lifespan.org
Phone Office:401-444-6926
Cell: 401-639-3505
Pager: 401-350-5284
-----Original Message-----
From: ActiveDir-owner@mail.activedir.org [mailto:ActiveDir-owner@mail.activedir.org] On Behalf Of Pettersson Henrik
Sent: Wednesday, September 12, 2007 11:08 AM
To: ActiveDir@mail.activedir.org
Subject: SV: [ActiveDir] How to list users with admin permissions to a server
Why dont just use gpresult \\servername and pipe it to an .txt-file??
Henrik Pettersson
-----Ursprungligt meddelande-----
Från: ActiveDir-owner@mail.activedir.org [mailto:ActiveDir-owner@mail.activedir.org] För Ziots, Edward
Skickat: den 12 september 2007 15:48
Till: ActiveDir@mail.activedir.org
Ämne: RE: [ActiveDir] How to list users with admin permissions to a server
Wouldn't psexec \\servwername net localgroup administrators work also?
Z
Edward Ziots
Network Engineer
Windows/Citrix Administrator
Lifespan Organization
MCSE,MCSA,MCP+I,M.E,CCA,Security +,Network +
Email: eziots@lifespan.org
Phone Office:401-444-6926
Cell: 401-639-3505
Pager: 401-350-5284
-----Original Message-----
From: ActiveDir-owner@mail.activedir.org
[mailto:ActiveDir-owner@mail.activedir.org] On Behalf Of David Loder
Sent: Wednesday, September 12, 2007 8:35 AM
To: ActiveDir@mail.activedir.org
Subject: Re: [ActiveDir] How to list users with admin permissions to a
server
Not a complete script, but you can use joe's LG
(http://www.joeware.net/freetools/tools/lg/index.htm)
to dump out the group memberships of any particular
host.
--- Tim Matthews - Mail List Acct
wrote:
> Hi. One of our support guys has asked if we have a
> tool which can be pointed at a host and returns all
> users with administrative rights to that host. The
> way I see it it starts with a simple list of the
> Administrator group and then a recursive lookup on
> each group contained within (Ignoring delegated
> rights etc for the purpose of this email).
> > I don't have time at the moment to knock-up a script
> for this so wondered if anybody knew of an existing
> one?
> > thanks,
> Tim
> > ps Just wanted to say thanks to everybody on this
> list for their work. I've been a long time lurker
> but have learnt so much from you guys!
________________________________________________________________________
____________
Catch up on fall's hot new shows on Yahoo! TV. Watch previews, get
listings, and more!
http://tv.yahoo.com/collections/3658
List info : http://www.activedir.org/List.aspx
List FAQ : http://www.activedir.org/ListFAQ.aspx
List archive: http://www.activedir.org/ma/default.aspx
List info : http://www.activedir.org/List.aspx
List FAQ : http://www.activedir.org/ListFAQ.aspx
List archive: http://www.activedir.org/ma/default.aspx
List info : http://www.activedir.org/List.aspx
List FAQ : http://www.activedir.org/ListFAQ.aspx
List archive: http://www.activedir.org/ma/default.aspx
List info : http://www.activedir.org/List.aspx
List FAQ : http://www.activedir.org/ListFAQ.aspx
List archive: http://www.activedir.org/ma/default.aspx | | | |
|
|