| |
zdarma
Posts: 6
Score: 0
Joined: 6/13/2007
Status: offline
|
Thanks a lot, it works like a charm. I just have one problem. I am trying to get the "Allow inheritable permissions ..... to this object" unchecked. I am able to uncheck the box, but if I do, it removes all the permiissions I have set or reset depending on the case. The only way I have been able to get the box unchecked and keep my permissions is to have the script do the modifications on two seperate script lines per folder. The first command, sets the permission and when that is done, it unchecks the box. This is a copy of my script, for what I have done to make it work : cscript C:\toto\XCACLS.vbs K:\Users\FOLDER /e /p DOMAIN\USER_ACCOUNT:1 cscript C:\toto\XCACLS.vbs K:\Users\FOLDER /i copy /e This is a copy of my script as I would like it to work. cscript C:\toto\XCACLS.vbs K:\Users\FOLDER /e /p DOMAIN\USER_ACCOUNT:1 /I COPY I have tried to put the "/I switch" in different places in my script, but the only way it seems to work is the way I described it above. Is this normal or am I missing something?
|
|