Networking Forums

Networking Forums > Computer Networking > Windows Networking > Software for Groups n User List

Reply
Thread Tools Display Modes

Software for Groups n User List

 
 
Harry
Guest
Posts: n/a

 
      10-02-2007, 09:42 AM
Hi!

I have a lot of users and groups in my Windows 2003 Domain. The groups list
keeps building up.

Is there any software which when run will generate data of No.of Groups and
the No.of Users in each Group??

Its quite tedious to double click each group and manually take note of
users.

Pl suggest.

Thanks a lot
Harry


 
Reply With Quote
 
 
 
 
Pegasus \(MVP\)
Guest
Posts: n/a

 
      10-02-2007, 09:58 AM

"Harry" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> Hi!
>
> I have a lot of users and groups in my Windows 2003 Domain. The groups
> list keeps building up.
>
> Is there any software which when run will generate data of No.of Groups
> and the No.of Users in each Group??
>
> Its quite tedious to double click each group and manually take note of
> users.
>
> Pl suggest.
>
> Thanks a lot
> Harry
>


This little batch file might give you the answers you're after.

#@echo off
#if exist c:\Groups.txt del c:\Groups.txt
#set parm=Localgroup
#for /F "tokens=*" %%* in ('net localgroup ^| find "*"') do call :Sub %%*
#set parm=Group
#for /F "tokens=*" %%* in ('net groups /domain ^| find "*"') do call :Sub
%%*
#notepad c:\Groups.txt
#goto :eof
#
#:Sub
#set name=%*
#echo Group name: %name%
#echo %parm% name: %name:~1% >> c:\Groups.txt
#net %parm% "%name:~1%" | find /i /v "completed successfully" | more +6 >>
c:\Groups.txt

Each new line starts with a #. You must remove it before you
can run the batch file.


 
Reply With Quote
 
Ven
Guest
Posts: n/a

 
      10-20-2007, 05:37 AM
Thanks a million!!!!!!!!!!
Appreciate it - will try it now

"Pegasus (MVP)" <(E-Mail Removed)> wrote in message
news:uCJ$(E-Mail Removed)...
>
> "Harry" <(E-Mail Removed)> wrote in message
> news:%(E-Mail Removed)...
>> Hi!
>>
>> I have a lot of users and groups in my Windows 2003 Domain. The groups
>> list keeps building up.
>>
>> Is there any software which when run will generate data of No.of Groups
>> and the No.of Users in each Group??
>>
>> Its quite tedious to double click each group and manually take note of
>> users.
>>
>> Pl suggest.
>>
>> Thanks a lot
>> Harry
>>

>
> This little batch file might give you the answers you're after.
>
> #@echo off
> #if exist c:\Groups.txt del c:\Groups.txt
> #set parm=Localgroup
> #for /F "tokens=*" %%* in ('net localgroup ^| find "*"') do call :Sub %%*
> #set parm=Group
> #for /F "tokens=*" %%* in ('net groups /domain ^| find "*"') do call :Sub
> %%*
> #notepad c:\Groups.txt
> #goto :eof
> #
> #:Sub
> #set name=%*
> #echo Group name: %name%
> #echo %parm% name: %name:~1% >> c:\Groups.txt
> #net %parm% "%name:~1%" | find /i /v "completed successfully" | more +6 >>
> c:\Groups.txt
>
> Each new line starts with a #. You must remove it before you
> can run the batch file.
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Thunderbird - How to list the spelled out groups full name? Neil Jones Linux Networking 2 01-08-2009 01:11 AM
Client For Microsoft Networking user list KC Windows Networking 8 11-26-2005 07:14 PM
User groups (LDAP & Co.) Sensei Linux Networking 0 10-12-2005 04:05 PM
No Domain Users listed on user list Flavia Windows Networking 1 08-23-2004 03:11 PM
User list not available davet Windows Networking 0 02-15-2004 02:04 AM



1 2 3 4 5 6 7 8 9 10 11