Windows IT Pro is the leading independent community for IT professionals deploying Microsoft Windows server and client applications and technologies.
  
  
  Advanced Search 


Return to article

Using Icacls to Show Which Files Users or Groups Can Access
 

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.







Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro DevProConnections IT Job Hound
Left-Brain.com Technology Resource Directory asp.netPRO ITTV Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 © 2009 Penton Media, Inc. Terms of Use | Privacy Statement