Modifying Permissions With ICACLS: Difference between revisions

From ITCwiki
Jump to navigation Jump to search
Line 4: Line 4:


*'''Syntax'''
*'''Syntax'''
icacls <FileName> [/grant[:r] <Sid>:<Perm>[...]] [/deny <Sid>:<Perm>[...]] [/remove[:g|:d]] <Sid>[...]] [/t] [/c] [/l] [/q] [/setintegritylevel <Level>:<Policy>[...]]
icacls <Directory> [/substitute <SidOld> <SidNew> [...]] [/restore <ACLfile> [/c] [/l] [/q]]
*'''Parameters'''


==My results==
==My results==

Revision as of 04:34, 9 July 2010

Modifying Permissions With ICACLs

  • Purpose

Displays or modifies discretionary access control lists (DACLs) on specified files, and applies stored DACLs to files in specified directories. This can be used with Windows Server 2008 Server Core where no GUI exists.

  • Syntax

icacls <FileName> [/grant[:r] <Sid>:<Perm>[...]] [/deny <Sid>:<Perm>[...]] [/remove[:g|:d]] <Sid>[...]] [/t] [/c] [/l] [/q] [/setintegritylevel <Level>:<Policy>[...]]

icacls <Directory> [/substitute <SidOld> <SidNew> [...]] [/restore <ACLfile> [/c] [/l] [/q]]

  • Parameters

My results