Here are a few examples of the most common Icacls commands, that I use in Command Shell, to give further access.
1 2 3 4 |
icacls.exe "[folder]" /grant *S-1-5-32-545:(OI)(CI)F icacls.exe "[folder]" /grant *S-1-5-32-545:(OI)(CI)M icacls.exe "[path][file]" /grant *S-1-5-32-545:F icacls.exe "[path][file]" /grant *S-1-5-32-545:M |
For a complete list of ‘Well-known security identifiers’ (SIDs) please visit Microsoft.
Note: Icacls are build into Windows Vista, Windows 7 & Windows 8 and equivalent Windows Servers