In Windows Vista, I'm looking to remove a user group from having access to a set of folders. I'm trying to remove the group from the folders completely. I'm wondering how I would do this in a command prompt.

In the GUI you would do this by right clicking on a folder, selecting Properties and then navigating to the security tab and selecting "Remove" on a security group.

link|improve this question

1  
you can use icacls – Sathya Jun 27 '11 at 6:38
feedback

1 Answer

up vote 3 down vote accepted

The command you want is:

CACLS C:\directory /E /R /T /C "GroupName"

Do CACLS /? at a command prompt for the switch usage details, or Google "CACLS examples" (without the quotes).

link|improve this answer
Note: I used ICACLS since CACLS is depreciated in Vista. – contactmatt Jul 20 '11 at 16:54
feedback

Your Answer

 
or
required, but never shown

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