subinacls worked great! First I change ownership, then I add the Domain Admins group with full control:
======= BEGIN CODE ========
SHELL "subinacl /subdirectories " + $frompath +" /setowner=" + CHR(34) + "GHG\DOMAIN ADMINS" + CHR(34)
SHELL "xcacls " +...
FWIW, I'm having the same problem. If I don't already have some kind of permissions to the folder, I can't seem to use xcacls to give permissions. Here's my command:
xcacls *.* /T /C /E /G "GHG\Domain Admins":FO;FO
Which should give every folder and every file in the current...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.