cacls

Control ACLs Program

Control ACLs Program


cacls

  • C:\Windows\system32\cacls.exe /?

Output:


 NOTE: Cacls is now deprecated, please use Icacls.

 Displays or modifies access control lists (ACLs) of files

 CACLS filename [/T] [/M] [/L] [/S[:SDDL]] [/E] [/C] [/G user:perm]
        [/R user [...]] [/P user:perm [...]] [/D user [...]]
    filename      Displays ACLs.
    /T            Changes ACLs of specified files in
                  the current directory and all subdirectories.
    /L            Work on the Symbolic Link itself versus the target
    /M            Changes ACLs of volumes mounted to a directory
    /S            Displays the SDDL string for the DACL.
    /S:SDDL       Replaces the ACLs with those specified in the SDDL string
                  (not valid with /E, /G, /R, /P, or /D).
    /E            Edit ACL instead of replacing it.
    /C            Continue on access denied errors.
    /G user:perm  Grant specified user access rights.
                  Perm can be: R  Read
                               W  Write
                               C  Change (write)
                               F  Full control
    /R user       Revoke specified user's access rights (only valid with /E).
    /P user:perm  Replace specified user's access rights.
                  Perm can be: N  None
                               R  Read
                               W  Write
                               C  Change (write)
                               F  Full control
    /D user       Deny specified user access.
 Wildcards can be used to specify more than one file in a command.
 You can specify more than one user in a command.

 Abbreviations:
    CI - Container Inherit.
         The ACE will be inherited by directories.
    OI - Object Inherit.
         The ACE will be inherited by files.
    IO - Inherit Only.
         The ACE does not apply to the current file/directory.
    ID - Inherited.
         The ACE was inherited from the parent directory's ACL.

Return Code: 160


C:\Windows\system32\cacls.exe
c:\>ver
Microsoft Windows [Version 10.0.19045.2075]
FileInfo
File Size34304bytes
Creation Time2019/12/07 18:09:30
LastWrite Time2019/12/07 18:09:30
ProductVersion10.0.19041.1
FileVersion10.0.19041.1 (WinBuild.160101.0800)
HashValue
MD5a353590e06c976809f14906746109758
SHA13e38480e52434f1e193d9c84b8bdc133c4bd10c2
SHA224b37c7a476e7dca227925f87bbe5731f30c968b7e9ef3dbe1a56e78d3
SHA256d6e40b4ed7c0bc8ac18b15d265ed2edab9efc260332ef0a98623f943be3a43fa
SHA38475a1879bf22e076c12bc6edb4ebf40604b78ec6c8d347cd1de957b327187e61d9943bc18c2d9e36ca6d938d387da3a5c
SHA51254a884652032040acda5c3a78d258bbe50362f77f2a3a364a8819cf8263282fcb21e35d7293eb62202ea82e96b5994fd072356d310df3037bec6a61c221796a6
Built with Hugo
Theme Stack designed by Jimmy