Here's a neat little command file to automate creation of user directories, I think remtshare is in the resource kit. The names of the servers/domains have been changed to protect the innocent...echo Creating a new personal folder for %1 on fileserver %fs%
echo If you don't want to do this, press CTRL-C now!
echo Otherwise, press any other key.
pause
net use x: /delete
net use x: %fs%\SYS1\HOME
REM Create new directory
md x:\%1
REM Allow user access to their own directory (in addition to Domain Admins)
cacls x:\%1 /e /g "domainName\%1":f
rem cacls x:\%1 /g "domainName\'domain admins'":f
REM Deny "Everyone" access
cacls x:\%1 /e /r everyone
net use x: /del
REM Create a share for the new directory
rmtshare %fs%\%1$=D:\SYS1\Home\%1
rmtshare %fs%\%1$ /g everyone
rmtshare %fs%\%1$ /g "domainName\%1":f
rmtshare %fs%\%1$ /g "domainName\Domain Admins":f
rmtshare %fs%\%1$ /remark:"%1's Personal Files"