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.
Microsoft DOSWindows BatchWindows Server 2003

Avatar of undefined
Last Comment
sirbounty
ASKER CERTIFIED SOLUTION
Avatar of sirbounty
sirbounty
Flag of United States of America image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of sirbounty
sirbounty
Flag of United States of America image

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.
Avatar of wigmeister
wigmeister

ASKER

Thanks again.  Last step to finish the project!
Avatar of sirbounty
sirbounty
Flag of United States of America image

Glad I could lend a hand to finishing a project! (since I'm stalled on mine... ;^)

Thanx for the grade.
Windows Server 2003
Windows Server 2003

Windows Server 2003 was based on Windows XP and was released in four editions: Web, Standard, Enterprise and Datacenter. It also had derivative versions for clusters, storage and Microsoft’s Small Business Server. Important upgrades included integrating Internet Information Services (IIS), improvements to Active Directory (AD) and Group Policy (GP), and the migration to Automated System Recovery (ASR).

129K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo