I'm in need of a simple way of setting the following on a folder. The procedure I use in the GUI is as follows::
- Stop inheritance but copy all the rights
- Remove "Users" group
- Add "Z USERS" to the ACL with everything but full control
I know xcopy can copy permissions but that proved to break very easily as it copy some unwanted ACLs from the source as well and these can be removed as the entire ACL is marked as inherited.
I would much prefer to use something that comes with XP/w2k3 or the resources kits as I have a batch script that does everything but this part.