Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ icacls directory [/substitute SidOld SidNew [...]] [/restore aclfile] [/C] [/L]
| /setintegritylevel `<perm><level>` | Explicitly adds an integrity ACE to all matching files. The level can be specified as:<br><br><li>**l** - Low</li><li>**m** - Medium</li><li>**h** - High</li></ul><br>Inheritance options for the integrity ACE may precede the level and are applied only to directories. |
| /substitute `<sidold>` `<sidnew>` | Replaces an existing SID (*sidold*) with a new SID (*sidnew*). Requires using with the `<directory>` parameter. |
| /restore `<ACLfile>` /c \| /l \| /q | Applies stored DACLs from `<ACLfile>` to files in the specified directory. Requires using with the `<directory>` parameter. |
| /inheritancelevel: e \| d \| r | Sets the inheritance level, which can be:<br><br><li>**e** - Enables inheritance</li><li>**d** - Disables inheritance and copies the ACEs</li><li>**r** - Disables inheritance and removes only inherited ACEs</li></ul> |
| /inheritance: e \| d \| r | Sets the inheritance level, which can be:<br><br><li>**e** - Enables inheritance</li><li>**d** - Disables inheritance and copies the ACEs</li><li>**r** - Disables inheritance and removes only inherited ACEs</li></ul> |

## Remarks

Expand Down