how to map drives locally

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

Guest

I have many users that work at different branch offices. They need to map
specific drives to the local branch servers to run programs locally.
Currenty when they login it maps them to their original office and forces the
program to work across the WAN. I use GP's and a .bat file to execute the
scripts. The context is net use z: \\servername\apps\program folder. I
tried using net use z:\\%servername% but all other drives ran except these.
I know this worked on NT 4.0 but I don't think windows 2003 supports it. I
have XP desktops. Is there another simple way to due this. TIA
 
I have many users that work at different branch offices. They need to map
specific drives to the local branch servers to run programs locally.
Currenty when they login it maps them to their original office and forces the
program to work across the WAN. I use GP's and a .bat file to execute the
scripts. The context is net use z: \\servername\apps\program folder. I
tried using net use z:\\%servername% but all other drives ran except these.
I know this worked on NT 4.0 but I don't think windows 2003 supports it. I
have XP desktops. Is there another simple way to due this. TIA

net use Z: /delete
net use Z: \\ServerName\apps\program

If you want to map to the DC that validated the logon:

net use Z: /delete
net use Z: %LOGONSERVER%\apps\program


Jerold Schulman
Windows Server MVP
JSI, Inc.
http://www.jsiinc.com
 
Back
Top