Location: List Archives

List Archives

This forum is an archive of all posts to our mailing list over the past few years.  The forum is set read only therefore to contribute you will need to join our list community.  See more info about this here.

 

When subscribed to the list you should use your standard email client to send your posts to ActiveDir@mail.activedir.org.

List Archives

Subject: [ActiveDir] How to list users with admin permissions to a server
Prev Next
You are not authorized to post a reply.

AuthorMessages
trmatthemlUser is Offline

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!
dloderUser is Offline

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
EZiotsUser is Offline

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
EZiotsUser is Offline

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
You are not authorized to post a reply.
Forums >ActiveDir Mail List Archive >List Archives > [ActiveDir] How to list users with admin permissions to a server



ActiveForums 3.7
AdventNet Banner
Friends

Friends

Namescape
Members

Members

MembershipMembership:
Latest New UserLatest:kosciesza69
New TodayNew Today:3
New YesterdayNew Yesterday:1
User CountOverall:4319

People OnlinePeople Online:
VisitorsVisitors:94
MembersMembers:0
TotalTotal:94

Online NowOnline Now:

Ads

Copyright 2008 ActiveDir.org
Terms Of Use