Pkafkas
asked on
map a drive to a Server not on our domian
I have a server that is in a Workgroup setting(not on a domain). It has a unique IP address and it is connected on our network; but, I need to put this server's shared files available through our logon script. I know 'net use' will work; but, every time these user's will logon, it will prompt them for the server's username and password.
Is there a way to embed the username and password for a Server that is not in our domain and have a drive mapped to this server?
Or is the best way to go about this is to map a drive manually, after the user has logged on, and choose re-connect at logon? There is a prompt to enter the username and password at this network drive setting.
The problem with the latter choice, is that we will have to manually map a drive for every user on every PC that has that software installed on it. That is why I was wondering if there is a way to edit a logon script and to map a drive to a server and have the logon script enter the username and password for this server, in a 'Workgroup'.
Is there a way to embed the username and password for a Server that is not in our domain and have a drive mapped to this server?
Or is the best way to go about this is to map a drive manually, after the user has logged on, and choose re-connect at logon? There is a prompt to enter the username and password at this network drive setting.
The problem with the latter choice, is that we will have to manually map a drive for every user on every PC that has that software installed on it. That is why I was wondering if there is a way to edit a logon script and to map a drive to a server and have the logon script enter the username and password for this server, in a 'Workgroup'.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I wonder if ComputerName is '\ComputerName\ShareName ' can be an IP address? I will try it out.
ASKER
Actually now that I have read jay_Jay70's response that answered my above question perfectly. I will try it out.
let me know how it goes :)
http://www.mp3car.com/vbulletin/archive/index.php/t-39164.html
The second article here has an exact example of how that should look.