home folder for multiple

  • Thread starter Thread starter Henri
  • Start date Start date
H

Henri

Does anyone know how to set home folder for multiple
users? Users are already created with no home folder, now
I want to assign them a home folder.
In NT4 you just select multiple users and go to their
properties and make the changes. I am not able to do the
same in 2000. Appreciate any help.

Thank you,

Henri
 
Does anyone know how to set home folder for multiple
users? Users are already created with no home folder, now
I want to assign them a home folder.
In NT4 you just select multiple users and go to their
properties and make the changes. I am not able to do the
same in 2000. Appreciate any help.

Thank you,

Henri

You can use DSMOD (tip 6820 in the 'Tips & Tricks' at http://www.jsiinc.com)
dsmod user <UserDN> -hmdir <HomeDir>
(See bottom og tip 7329)
or create a txt file that contains the users SAM name
and parse it with a FOR command

In a batch:

for /f "Tokens=*" %%u in (textfile.txt) do (
net user "%%u" /homedir:"\\Server\Usershare\%%u" /domain
)



Jerold Schulman
Windows: General MVP
JSI, Inc.
http://www.jsiinc.com
 
Back
Top