Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
you can use icacls – Sathya Jun 27 '11 at 6:38
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).

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

Your Answer


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.