When I create an account using vbscript I also create the home dir for the
user and populate the homeDir properties of the account. There are no errors
creating the directory and there are no errors populating the homeDir
property of the account. Using Active Directory Users and Computer (ADUC) I
can see that the account was created and that the home dir was set properly.
Checking the drive for the dir reveals it is created and the rights are
assigned correctly.
The problem is at login. When you login with one of these accounts the user
does not get a mapping to their home dir. Yet if they use the run cmd they
can open the dir and utilize it.
We suspect it has something to do with what gets input to the homeDir
property but I'm unable to determine that there is anything wrong with it.
Interestingly if I modify the home dir property in ADUC (so the apply button
becomes active) and then switch it back to what was there then click apply,
when the user logs in their home dir appears correctly for them.
Any ideas?
Replies