There are a couple of ways:
1:  write a vbs script that talks to A/D to change the userhome value for
all users
2:  write a dos script that reads form a file and does a command.  look at
the dos command for

Try this (I'm a little rusty on this stuff, but it should work):

Create a text file with all of you user names in it and call it users.txt.

create a file called doit.cmd file that has the following line in it:
for /F %%i in (users.txt) do changehd.cmd %%i

create a file called changehd.cmd that has the following line in it
mkdir \\mtfile2\users\%1
net user %1 /homedir:\\mtfile2\users\<domain>\%1
calcs \\mtfile2\users\%1 /E /R everyone
calcs \\mtfile2\users\%1 /E /G <domain>\%1:F
calcs \\mtfile2\users\%1 /E /G <Domain>\Domain Admins:F

It's been a while since I have used calcs, but that should do it. 
However, since you are going to A/D I would highly recommend you learn
some vbs on how to do a lot of this, as well as the csvde and the ldifde
tools, as well as LDAP  Two good starting points for this stuff would be
the script repository.chm and the script56.vhm files, somewhere on
microsoft's technet site.

~~~~~~~~
Adam Berns
Sr. Systems Administrator
Remedy, a BMC Software Company
650-919-5966 Office

------
You are subscribed as [EMAIL PROTECTED]
Web Interface: 
http://intm-dl.sparklist.com/cgi-bin/lyris.pl?enter=nt2000&text_mode=&lang=english
To unsubscribe send a blank email to [EMAIL PROTECTED]

Reply via email to