Search This Blog

Thursday, April 22, 2010

List ACLs for folders and all sub-folders

CACLS or ICACLS provides you with the list of ACL for a targetted folder.
E.g.

C:\>icacls "c:\New folder"
c:\New folder NT AUTHORITY\Authenticated Users:(I)(OI)(CI)(M)
NT AUTHORITY\SYSTEM:(I)(OI)(CI)(F)
BUILTIN\Administrators:(I)(OI)(CI)(F)
MYORIGIN\a182456:(I)(OI)(CI)(F)
BUILTIN\Users:(I)(OI)(CI)(RX)

Successfully processed 1 files; Failed processing 0 files

When combined with VBS, we can recursively call for sub-folders to generate ACL for full list of folders.

Quick and easy ACL printout

No comments:

Post a Comment