user logon script with map drive

B

Billy London

Hi-
I'm stuck on mapping a networked drive to a letter
I've got a Windows 2000 DC that hosts the logon script and Active
Directory
We also have another Windows 2000 server machine that has a shared
folder called "HPScans"

on the batch file there are two lines:

net use j: \\mainserver\docs
net use t: \\otherserver\HPScans

the first line runs fine, but the second line doesn't seem to work. if
i try to map to a share on another computer, for example on an XP
machine, that DOES work, so it could be an issue specific to this
machine

If, after i've logged on, I try to map the drive at the command
prompt, it works fine, so I don't understand why it shouldn't work in
the script.

the time is synchronised correctly between the two machines.

Does anyone have any ideas?

thanks!!

billy
 
J

Jerold Schulman

Hi-
I'm stuck on mapping a networked drive to a letter
I've got a Windows 2000 DC that hosts the logon script and Active
Directory
We also have another Windows 2000 server machine that has a shared
folder called "HPScans"

on the batch file there are two lines:

net use j: \\mainserver\docs
net use t: \\otherserver\HPScans

the first line runs fine, but the second line doesn't seem to work. if
i try to map to a share on another computer, for example on an XP
machine, that DOES work, so it could be an issue specific to this
machine

If, after i've logged on, I try to map the drive at the command
prompt, it works fine, so I don't understand why it shouldn't work in
the script.

the time is synchronised correctly between the two machines.

Does anyone have any ideas?

thanks!!

billy

To troubleshoot the script:

call :logit>>c:\script.log 2 >>&1
goto :EOF
:logit
net use j: \\mainserver\docs
net use t: \\otherserver\HPScans

Check the C;Script.log file on a client that fails and you should see an error message.


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