icacls
icacls is a command-line utility that can be used to modify NTFS file system permissions in Windows Server 2003 SP2, Windows Server 2008, Windows Vista and Windows 7. It builds on the functionality of similar previous utilities, including cacls, Xcacls.exe, Cacls.exe, and Xcacls.vbs.
With icacls, administrators can view or modify access control lists for files and folders, to help understand and fix inherited permissions. Icacls inheritance options can be used to apply permissions to parent and child objects throughout the file structure.