well its that time of the year we test our mass account creation scripts ready for the new darlings
our vbs script works fine except it doesnt create the homedrive any more
if i manually copy an account, and create 1 , it creates the homedrive fine or if i change the location then change it back it creates it fine, but not through the vbs script.
i had this problem 2 years ago, cant for the life of me remeber how i fixed it
the script hasnt changed, server is now 2003 but if i point script homedrive back to old location, same thing
this is the code which should work as before
but doesnt all of a suddenCode:objUser.Put "homeDirectory", "\\SERVERNAME\users$\"& userPrincipalName objUser.Put "homeDrive", "u" objUser.Put "mail", (userPrincipalName & "@EMAIL.ac.uk") objUser.Put "givenName", givenName objUser.Put "sn", sn objUser.Put "userPrincipalName", userPrincipalName objUser.Put "displayName", displayName objUser.SetInfo



LinkBack URL
About LinkBacks
Reply With Quote

