Link to home
Start Free TrialLog in
Avatar of wigmeister
wigmeister

asked on

Net Use Error 1326 Windows Server 2003

I developed a DOS batch file on my Windows Vista laptop that connects to a server via VPN, and once connected does a 'net use' to map a drive for my batch file to use on the computer I'm connected to.

The batch file executes on my Vista laptop, but when I copied it over to the Windows 2003 Server, the net use command gives me a 'System Error 1326 Logon failure: unknown user name or bad password'.  Is this a permissions issue on the server or is there some settings that I need to take into consideration?  

Here is how my command looks:
net use z: \\10.0.x.x\thisdata /user:user1 pass1

I've tried several variations of the command, without password, without username and password, from the command line, all of which required me to enter the username and/or password, but they all fail with the same error message 1326.
Any assistance is very much appreciated.
ASKER CERTIFIED SOLUTION
Avatar of sirbounty
sirbounty
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
you might be able to also use:

net use z: \\10.0.x.x\thisdata /user:10.0.x.x\user1 pass1
if that's where the target account is...
Avatar of wigmeister
wigmeister

ASKER

So very simple, yet so right!  Thanks sirbounty.  All I had to do was add the domain the username.
Thanks again.  Last step to finish the project!
Glad I could lend a hand to finishing a project! (since I'm stalled on mine... ;^)

Thanx for the grade.