We have a script that runs that creates new users, this script also creates their mailbox and does it from a csv file that is created by filling in a form.
It seems like when we create a user and give them a home drive/directory this shows within AD but does not map on logon, and when you run the set command it truncates it from \\server\userhome\%usernam
e% to \\server\userhome (the user only has permission at \\server\userhome\%usernam
e%, this works if we manually create the account but does not work if you script it.
the script that creates the user and does the ad bits (not exchange). (see attached)
our estate is both xp and windows 7 (mid upgrade) and it does not map on either, there is no deletion of old drives at current.