TripleJHJO
Programmer
I cannot get a drive mapped to a shared folder on a server via a login script. The user is logging on through a domain, and the share is on a file server in that domain.
I have tried the following examples:
net use p: \\servername\sharename
net use p: \\servername\sharename /user:domain\username
I get the following message:
Logon failure: unknown user name or bad password.
If I map the share manually through windows explorer, it works fine. However I want to automate it via a batch file that is run at login.
I have tried the following examples:
net use p: \\servername\sharename
net use p: \\servername\sharename /user:domain\username
I get the following message:
Logon failure: unknown user name or bad password.
If I map the share manually through windows explorer, it works fine. However I want to automate it via a batch file that is run at login.