icacls
icacls is a Windows command-line utility used to display and modify the access control lists (ACLs) on files and directories on NTFS volumes. It was introduced with newer Windows releases and is designed to replace older tools such as cacls and xcacls. icacls provides granular control over permissions, including granting, denying, removing, or replacing access for individual users or groups, and it supports managing inheritance and propagation of permissions to child objects. It can also display and modify ownership and basic auditing settings where supported by the filesystem.
The utility operates on security descriptors that describe who can access a resource and how. Through icacls
Examples of typical usage include granting permissions, such as icacls "C:\Docs" /grant Users:(R) to grant read