Map drive

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

How can I map a drive on the terminal server and have it mapped for each user on the server when they login on T.S.
Right now the drive is mapped on my server but when a user logs in on T.S for the first time the drive needs to be mapped within its session. Also to reconnect the mapped drive, when there is lost of connection, I need to login. Is there a script to connect to that drive using its username and password automatically when the server boots up?
 
I would suggest using a login script and making each
users profile use the login script. Create the login
script and then put something like "net use f:
\\servername\share" into the batch file.


-----Original Message-----
How can I map a drive on the terminal server and have it
mapped for each user on the server when they login on T.S.
Right now the drive is mapped on my server but when a
user logs in on T.S for the first time the drive needs to
be mapped within its session. Also to reconnect the
mapped drive, when there is lost of connection, I need to
login. Is there a script to connect to that drive using
its username and password automatically when the server
boots up?
 
One way to get around this is to create a profile
configured the way you want it (including the drive
mapping) and then log out of that profile. Then logged
in as an administrator, copy that profile to the "Default
User" profile (under documents & settings). Then all new
profiles will start with that drive mapping already in
place. To recover from a "lost connection" you could
consider placing a shortcut on the "All Users" desktop
(so everyone sees it. And put "read & execute" rights
only on it so they can't delete it). The shortcut would
be to a DOS batch file that utilizes a "Net User P:
\\ServerName\ShareName" command (P=drive letter
desired). Then whenever the connection is lost, double-
clicking on the shortcut would re-establish the
connection. As long as the user running the shortcut has
sufficient share & NTFS permissions to access the
connection the batch file would work. The Net Use
command utilizes the logged on users login ID & password
to determine access. Hope this helps.
-----Original Message-----
How can I map a drive on the terminal server and have it
mapped for each user on the server when they login on T.S.
Right now the drive is mapped on my server but when a
user logs in on T.S for the first time the drive needs to
be mapped within its session. Also to reconnect the
mapped drive, when there is lost of connection, I need to
login. Is there a script to connect to that drive using
its username and password automatically when the server
boots up?
 
Back
Top