JAEN

Windows

icacls

CautionView/edit NTFS ACLs

icacls <path>

Shows and edits ACLs: /grant adds rights, /t recurses, /reset restores inheritance.

Examples

  • icacls D:\share /grant "DOMAIN\Sales":(OI)(CI)M /tGrant modify recursively
  • icacls C:\app /reset /tReset to inherited ACLs

Syntax

icacls <path> [/grant user:perm] [/reset] [/t]

Before you run it

A wrong /t scope rewrites many ACLs.

Related commands

The same reference, with no signal at all

Every command on this site, held on your device. The app adds 632 more: 1,510 commands and 120 fix flows, searchable with no connection. Free to install, no ads (some content is a one-time purchase).

Get it free on the App Store