Subscribe to Windows IT Pro
October 25, 2007 12:00 AM

Using Icacls to Show Which Files Users or Groups Can Access

Windows IT Pro
InstantDoc ID #96920
Rating: (0)

Q: How can I get a report of all the files on a server that a given user or group has access to?

A: You can get such a report by using the Icacls tool in Windows Vista and Windows Server 2003 SP2. Icacls is the new enhanced version of Cacls, which is now deprecated. Run the command

Icacls c:\*.* /findsid acme\salesreps /T /C

which tells Icacls to search the ACL of each file starting at the root of the C drive and report any access control entries (ACEs) in which acme\salesreps is the subject. The /T switch tells Icacls to recurse from the root down so that the entire volume is analyzed. The /C switch tells Icacls to keep searching if it encounters any errors on files that you don't have Read access to. For more information about Icacls, see Toolbox, "Icacls," May 2007, http://www.securityprovip.com/articles/index.cfm?articleid=95657.

Related Content:

ARTICLE TOOLS

Comments
    There are no comments to display. Be the first one!
You must log on before posting a comment.

Are you a new visitor? Register Here

advertisement

advertisement

Windows is a trademark of the Microsoft group of companies. Windows IT Pro is used by Penton Media Inc. under license from owner.