net use asking for user and password to map drives at login

G

Guest

Hi,
I have a batch located on a server which basically runs a script everytime a
user login and the only thing that it does is to map the networkdrives:

net use a: \\server\share
net use b: \\server\share

However, the point is that the script depending on the machine will ask me
for username and password...... in other owrds: when "123" user login to pc
"a" the script runs ok and the drives are mapped but when user "123" login to
pc "b" the script stops and says that the password is invalid so the user
have to enter user name and password for each one of the drives to map...
this is wierd because the computers are all in the the same domain..... so
the script should not ask for usr or password (manually you can do it just
fine).

I think it is related to the actual pc settings maybe a registry or
something like that but to be honest I am not 100% sure about it...... At the
moment the problem was fixed by creating as executable script including the
username and the password (linked to the user's profile in active directory)
......

Any tips would be appreciated!!
 

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