NET USE prompting for password

G

Guest

Hello,

I have a problem with a recent login script which I've created for my domain
at work. One of the drives it maps is on a different domain where the users
have seperate usernames and passwords. For most of them, these match the
usernames and passwords used by our domain and so simply using
"/user:domain\%username%" with NET USE works fine.

The problem is with the minority who have different passwords. Now for these
I simply want the connection to fail and the rest of the login procedure to
continue as normal, however that's not happening. Using the group policy
setting to display the login scripts, I can see that it's coming up with

"The password or username is invalid for \\share.

Enter the password for domain/user to connect to share"

As a result, the login script hangs (as it's hidden) and stays that way
until the script times out. How can I force it simply to try and connect
using the current password and the specified username and to simply abort
should these credentials not be correct rather than prompting for another
password?

Many thanks,

Dave.
 
S

Steven L Umbach

You might want to look into creating a trust between the domains so that the
users can use their account in your domain to access resources in the
trusting domain.You can modify the time that scripts process to be shorter
than the default 10 minute time out under computer
configuration/administrative templates/system scripts. I don't know of
another work around and you might also want to post in the server networking
newsgroup to see if anyone there has any ideas. --- Steve
 

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