adding users in the W2K3 AD.

  • Thread starter Thread starter Milos Puchta
  • Start date Start date
M

Milos Puchta

Case: Parameters of DSADD function in W2K3 Active Directory
Hi,

if the profile path and home directory are specified in parameters,
should the function create these directories or should I do it in another
way. (In my case the dsadd function does not create directories
as expected.)

TIA

Regards,
M.Puchta
PS Sorry for crossposting, i do not know, which AD group
is for W2K3 AD.
 
Case: Parameters of DSADD function in W2K3 Active Directory
Hi,

if the profile path and home directory are specified in parameters,
should the function create these directories or should I do it in another
way. (In my case the dsadd function does not create directories
as expected.)

TIA

Regards,
M.Puchta
PS Sorry for crossposting, i do not know, which AD group
is for W2K3 AD.

You must create them:

If the profiles are at \\Server1\UserProfiles and the Home Directories are at
\\Server2\Users, them just after the DSADD:

pushd \\Server1\UserProfiles
MD usernanme
popd
pushd \\Server2\Users
md username
popd

You can also use CACLS to set permissions. See tip 5171 and 1556 in the 'Tips &
Tricks' at http://www.jsiinc.com. Don't inherit EveryOne permissions.



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