Map network drive without username and password
Posted on 2008-10-28
I want to create a login script on Windows Server 2003 which maps a network drive to each user workstation as the user logs into the machine.
The path to the share I want to mount is \\<server-ip-address>\alfresco
and the contents on the mapped drive changes according to the username and password provided to the remote server for authentication. The usernames and passwords for the remote server are different to those for the workstation login against Active Directory.
How can I map the network share as a placeholder for each user? I want the drive to be mounted for each user by the login script and then for them to provide the appropriate username and password to it when they first access it (i.e. via a dialog box which comes up when they first double click the drive in My Computer).
Is this possible? Alternatively, can I use /persistent in the net use command on the login script to mount the drive and have the user name and password remembered for that user permanently once they have entered it once?
Many thanks for any help.