How to map a users home directory and remove unwanted drive mappings.
Posted on 2006-03-20
I'm having some problems mapping a user's Home Folder (via the profile tab under user properties), and also running a login script which deletes unwanted drive mappings and maps new drives. I need to run a login script to remove old drive mappings, but I'd like to be able to specify the users Home Folder under the profile tab.
Our login script contains (net use * /d /y) which we want to disconnect all current drives. Then the script begins reconnecting several mapped drives per user. The script appears to work well, however when we use it in conjunction with specifing a Home Folder (user profile), the home folder will not map.
Alternatively, if we choose to omit the login script, the Home Folder mapping works perfectly.
Is there a way to use the two together? We would like to know how or what sequence we need to use in order to map the Home Folder, and then delete current drives and remap new ones.