Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm trying to set up my site on IIS, and it would seem I need to add the user group "USERS" to all files/folders within my site. This would require recursively adding a user to the root directory of my site. After some searching this is the closest command I can find: CACLS /T ... but this looks to be for setting permissions only. Does anyone know how to work it to add users? Or a more appropriate command?

share|improve this question

1 Answer 1

up vote 3 down vote accepted

for windows 7 you should be using icacls, Both cacls and icacls works with either users or groups

icacls "C:\My\ISS\Path" /grant "USERS":R /T
share|improve this answer
    
Awesome sauce my friend, this worked like a charm! –  valen May 14 '12 at 15:07

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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