How can you to tell where groups (or users) have permissio..

mar

Distinguished
Jun 27, 2004
15
0
18,510
Archived from groups: microsoft.public.win2000.file_system (More info?)

How can you find where a domain local group has been assigned to what
directories?

For example we have a domain local group name DLG_Admin, is there a utility
that can be run to show where that group has been assigned throughtout all
directories?

thanks,
Mar
 
G

Guest

Guest
Archived from groups: microsoft.public.win2000.file_system (More info?)

On Mon, 11 Apr 2005 12:29:01 -0700, Mar <Mar@discussions.microsoft.com> wrote:

>How can you find where a domain local group has been assigned to what
>directories?
>
>For example we have a domain local group name DLG_Admin, is there a utility
>that can be run to show where that group has been assigned throughtout all
>directories?
>
>thanks,
>Mar


In a batch:

@echo off
setlocal
for /f "Tokens=*" %%a in ('dir /b /s /a c:\') do (
for /f "Tokens=*" %%b in ('cacls "%%a"^|FIND /i "DLG_Admin"') do (
@echo "%%a","%%b"
)
)
endlocal

See tip 424 in the 'Tips & Tricks' at http://www.jsifaq.com



Jerold Schulman
Windows Server MVP
JSI, Inc.
http://www.jsiinc.com
 
G

Guest

Guest
Archived from groups: microsoft.public.win2000.file_system (More info?)

Oops. Tip 425.

On Mon, 11 Apr 2005 20:50:27 -0400, Jerold Schulman <Jerry@jsiinc.com> wrote:

>On Mon, 11 Apr 2005 12:29:01 -0700, Mar <Mar@discussions.microsoft.com> wrote:
>
>>How can you find where a domain local group has been assigned to what
>>directories?
>>
>>For example we have a domain local group name DLG_Admin, is there a utility
>>that can be run to show where that group has been assigned throughtout all
>>directories?
>>
>>thanks,
>>Mar
>
>
>In a batch:
>
>@echo off
>setlocal
>for /f "Tokens=*" %%a in ('dir /b /s /a c:\') do (
> for /f "Tokens=*" %%b in ('cacls "%%a"^|FIND /i "DLG_Admin"') do (
> @echo "%%a","%%b"
> )
>)
>endlocal
>
>See tip 424 in the 'Tips & Tricks' at http://www.jsifaq.com
>
>
>
>Jerold Schulman
>Windows Server MVP
>JSI, Inc.
>http://www.jsiinc.com


Jerold Schulman
Windows Server MVP
JSI, Inc.
http://www.jsiinc.com