I'm trying to give full access (read, write) to a specific folder to all users on Windows 7. The problem is that I don't know how to do that using icacls.

link|improve this question
feedback

1 Answer

up vote 4 down vote accepted
c:\windows\system32\icacls c:\folder /grant "domain\user":(OI)(CI)M
c:\windows\system32\icacls c:\folder /grant "everyone":(OI)(CI)M
c:\windows\system32\icacls c:\folder /grant "Authenticated Users":(OI)(CI)M

Open command window and type c:\windows\system32\icacls /?

link|improve this answer
+1. Depending on context, (OI)(CI)F (full access) might be preferable to (OI)(CI)M (read/write access). – Harry Johnston Nov 29 '11 at 2:15
Alas, cut and paste fom one of my scripts :-) M = Modify which is fine for most users, F will give them everything – BoBo Nov 29 '11 at 6:45
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.