How can you to tell where groups (or users) have permissions set?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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
 
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
 
Back
Top