Monday, October 8, 2012

Using ICacls to grant permission.

ICacls is the updated form of older utility “Cacls” and is used to grant permissions upon files and folder to users from command line interface. I wanted to use it with one of my folders present in C:\ProgramData and I wanted to give Users group full access my folder. Searched on multiple sites and I’ve got a quick syntax:

iCacls %ProgramData%\MyFolder /grant Users:(OI)(CI)F


This is working on my Win 7 x64 and here is the forum post from where I grabbed this:
http://www.vistax64.com/vista-security/125552-how-use-icacls-exe-fully-enable-users-subfolders-files.html#post590382


 


Happy Cacling Smile

No comments: