how to map drives locally

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
 
J

Jerold Schulman

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top