I'm now about half way through migration of our accounts to our new samba server. I use this vbscript to reset the path to the homedirectories.
you should also check and see what adsiedit says about where the path is.
Code:set objParent = GetObject("LDAP://OU=year group,DC=example,DC=college,DC=internal") Set shell = CreateObject("WScript.Shell") objparent.Filter = Array("user") for each objUser in objParent objUser.put "homedrive", "H:" objuser.HomeDirectory = "\\servername\" & objUser.get("sAMAccountName") objuser.Setinfo next Wscript.Echo "Done"


LinkBack URL
About LinkBacks




