Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > VB Script

Vista - Getting a list of users per workstation

Reply
 
Old 06-26-2009   #1 (permalink)
RBoyle


 
 

Getting a list of users per workstation

I want to be able to see what users are on each workstation. I also
want to see what groups they are in on the workstation (as we are
still trying to nail a few that are still administrators and power
users when we want all of our users to be in the User groups only).

If someone could give me a script that would give me a report of this
I would greatly appriciate it -- either a .bat file OR a .vbs file
would be great.

Thanks everyone in advance -- again much appriciated.

Ryan

My System SpecsSystem Spec
Old 07-18-2009   #2 (permalink)
Al Dunbar


 
 

Re: Getting a list of users per workstation


"RBoyle" <ryan.j.boyle.cpg@xxxxxx> wrote in message
news:368f2c06-6bfc-477b-84e2-ccf17aebb0cc@xxxxxx
Quote:

> I want to be able to see what users are on each workstation. I also
> want to see what groups they are in on the workstation (as we are
> still trying to nail a few that are still administrators and power
> users when we want all of our users to be in the User groups only).
>
> If someone could give me a script that would give me a report of this
> I would greatly appriciate it -- either a .bat file OR a .vbs file
> would be great.
Are these local user accounts, domain accounts, or a little of each?

In the general case, it can be quite complicated to track down all of the
members of the adminstrators and "power users" group because of the
possibility of nested groups.

I'd recommend you first create a domain group called "workstation admins"
and populate it with the domain accounts that should be workstation admins.
Then run a script using an account that is already a workstation admin that
removes all members from the "power users" group, adds the "workstation
admins" group to the administrators group, removing all other members.

/Al


My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
List sharepoint users ? PowerShell
Re: List all Group Users in AD PowerShell
List all Group Users in AD PowerShell
Standard users on my workstation can't see program. Vista account administration
creating users from a list PowerShell


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46