cacls

cacls and icacls are Microsoft Windows native command line utilities capable of displaying and modifying the access control lists (ACLs) on folders and files. An access control list is a list of permissions for securable object, such as a file or folder, that controls who can access it.

Contents

CACLS

The cacls utility is a command line editor of permissions in Windows 2000 and later. Microsoft has produced the following newer utilities all of which offer improvements:

ICACLS

Windows Server 2003 Service Pack 2, Windows Vista and Windows Server 2008 include icacls, a command-line utility that can display, modify, backup and restore ACLs for files and folders, as well as to set mandatory labels of Windows Integrity Control for them. It is not a complete replacement for cacls, however. For example, it cannot be used to hand-code a Security Descriptor Definition Language (SDDL) string.

See also

References

  1. ^ "How to use Xcacls.exe to modify NTFS permissions (Revision: 4.5)". Microsoft Support. Microsoft Corporation. 2 March 2007. http://support.microsoft.com/kb/318754. Retrieved 24 December 2011. 
  2. ^ "Windows 2000 Resource Kit Tool: Xcacls.exe". Microsoft Download Center. Microsoft Corporation. 15 May 2002. http://www.microsoft.com/download/en/details.aspx?id=11096. Retrieved 24 December 2011. 
  3. ^ "Windows XP Service Pack 2 Support Tools". Microsoft Download Center. Microsoft Corporation. 10 August 2004. http://www.microsoft.com/download/en/details.aspx?id=18546. Retrieved 24 December 2011. 
  4. ^ "How to use Xcacls.vbs to modify NTFS permissions (Revision: 2.4)". Microsoft Support. Microsoft Corporation. 30 October 2006. http://support.microsoft.com/kb/825751. Retrieved 24 December 2011. 
  5. ^ "Extended Change Access Control List Tool (Xcacls)" (2 July 2004). Microsoft Download Center. Microsoft Corporation. http://www.microsoft.com/download/en/details.aspx?id=19419. Retrieved 24 December 2011. "Xcacls.vbs is an unsupported tool that provides additional capabilities not provided with the supported utility, Xcacls.exe." 
  6. ^ "The Icacls.exe utility is available for Windows Server 2003 with Service Pack 2 (Revision: 4.0)". Microsoft Support. Microsoft Corporation. 9 October 2011. http://support.microsoft.com/kb/919240. Retrieved 24 December 2011. 
  7. ^ "Icacls". Microsoft TechNet. Microsoft Corporation. 28 September 2007. http://technet.microsoft.com/en-us/library/cc753525%28WS.10%29.aspx. Retrieved 24 December 2011. 

Further reading