0

I'm looking to remove an individual NTFS permissions from a folder without removing or affecting the other permissions set on the folder. Is this possible?

3
Contributors
4
Replies
15
Views
3 Years
Discussion Span
Last Post by Reverend Jim
0

Go to a command prompt (running as administrator) and type

icacls /?

I think you want the

/remove[:[g|d]] Sid removes all occurrences of Sid in the ACL. With
    :g, it removes all occurrences of granted rights to that Sid. With
    :d, it removes all occurrences of denied rights to that Sid.    

parameter. If you don't want to use icacls then right click the folder, select Properties, then go to the Security tab. Select the username you want to edit and modify the access rights from there.

0

Is there a way to do this on a group of folders? I have about 300 folders that I need to remove the same permission from. Or would doing this in Visual Studio code be easier?

0

You can set the attributes in vb.net.

I don't think that allows you to play with the access lists, just the regular attributes (read, hidden, system, archive).

If you go the icacls route you could just create a cmd file with an icacls command on each line (one for each folder).

Edited by Reverend Jim

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.