Adding users to AD

  • Thread starter Thread starter C.S.Mager
  • Start date Start date
C

C.S.Mager

I have a problem with adding new users to AD and creating home directories.

I want the home areas to be \\<servername>\<username>$, but when I enter
this, the home directory can't be created.

If I change to something like \\<servername>\homes\<username>$ then the home
directory is mapped to \\<servername>\homes instead!

Does anybody know of anyway of doing this efficiently? At the moment, I can
have the first situation, but I have to create the home areas manually.

C.S.Mager
 
C.S.Mager said:
I have a problem with adding new users to AD and creating home directories.

I want the home areas to be \\<servername>\<username>$, but when I enter
this, the home directory can't be created.

If I change to something like \\<servername>\homes\<username>$ then the home
directory is mapped to \\<servername>\homes instead!

Does anybody know of anyway of doing this efficiently? At the moment, I can
have the first situation, but I have to create the home areas manually.

C.S.Mager

There's no way to do that by normal tools, since the share
(\\servername\username$) does not exists (I assume there is a share called
\\servername\homes). You could write a script though to create the user,
create the folder and set the path afterwards, unless you are using terinal
services paths in which case you'd need a COM object or something to set
that value.

What you could also do is set the folder to \\servername\homes\username
(with no $ sign). Then all users would access the home folder through the
\\servername\homes share, but mapped to the user's subfolder. You might then
also change the \\servername\homes share to a hidden share
(\\servername\homes$) and set the paths to \\servername\homes$\username


Arild
 
Back
Top