Hi
I got about 1500 home folders to create in a Active Directory that we are moving are users into (We are still using NT4) but Head Office (Denmark) are moving all the other countries into one AD...
All the users exist in the AD but no files server..Yet, I have built a windows 2008 server and added to the domain...so I need to start creating Home Directories setting permissions and then setting the home path in the properties..
I have a batch file that I used in our NT environment that I'm trying to modify..
I can create the folder from my laptop with a basic md Command...
%1=server name
%2=Username
md \\%1\d$\USERS\%2
next up I use the rmtshare utility to share the folder (works a treat)
rmtshare \\%1\%2=D:\USERS\%2 /unlimited /grant ourdomain\%2:change /grant administrators:full
now this is where is goes a little wrong..I used the setacl command to remove permission the folder, turn inherited rights off then set the rights how I wanted them....this just fails
so my question is how do you configure rights on folders remotely in an AD?
GJUK
I got about 1500 home folders to create in a Active Directory that we are moving are users into (We are still using NT4) but Head Office (Denmark) are moving all the other countries into one AD...
All the users exist in the AD but no files server..Yet, I have built a windows 2008 server and added to the domain...so I need to start creating Home Directories setting permissions and then setting the home path in the properties..
I have a batch file that I used in our NT environment that I'm trying to modify..
I can create the folder from my laptop with a basic md Command...
%1=server name
%2=Username
md \\%1\d$\USERS\%2
next up I use the rmtshare utility to share the folder (works a treat)
rmtshare \\%1\%2=D:\USERS\%2 /unlimited /grant ourdomain\%2:change /grant administrators:full
now this is where is goes a little wrong..I used the setacl command to remove permission the folder, turn inherited rights off then set the rights how I wanted them....this just fails
so my question is how do you configure rights on folders remotely in an AD?
GJUK