Hi all, I'm trying to set permissions on the user homefolders with a script, but it just runs through w/o actually setting them. Can you help? I have a simple text file with all the user folders called users.txt located in D:\users. The script cd's to this folder and then runs for /f %%A in (users.txt) do cacls /T /G domain\%%A:F "domain\domain admins":F system:F /C Basically it sets Full Control permissions to the user himself, Domain Admins and System. For what it's worth the command runs fine when run manually: cacls /T /G domain\username:F "domain\domain admins":F system:F /C Any hints are greatly appreciated. -- BW, Sorin ----------------------------------------------------------- # Sorin Srbu [Sysadmin, Systems Engineer] # Dept of Medicinal Chemistry, Phone: +46 (0)18-4714482 >3 signals> GSM # Div of Org Pharm Chem, Mobile: +46 (0)701-718023 # Box 574, Uppsala University, Fax: +46 (0)18-4714482 # SE-751 23 Uppsala, Sweden Visit: BMC, Husargatan 3, D5:512b # Web: http://www.orgfarm.uu.se ----------------------------------------------------------- # () ASCII ribbon campaign - Against html E-mail # /\ # # MotD follows: # This is a GPLed tagline. You may use it however you like, but remember to notify the author of any changes you make to it.