Getting Error 1326 when using "Net Use" - while trying to MS-DOS Print from WinXP

M

M. B.

A few days ago I wrote that I was having problems trying to print from
within a old MSDOS program while running it from Windows XP.

The problem was solved as my "Server Service" was set to Manual. Once I set
it to Automatic, everything worked for until my next system reboot.

Now, when I try the following command:

net use lpt1 \\violin1\brother /persistent:yes

("violin1" is the name of my machine and "brother" is the printer name)

I get the following error:

"System Error 1326 has occured. Logon failure: unknown username or bad
password."

On my machine, I dont have any users except for the general "Administrator"
account.

For the record, when I use

net view \\violin1

I see my printer listed there.

What am I mising now?
 
G

Guest

Error 1326 - Unknown Username or Bad Password
Had similar problem a while ago, how I solved it. May or may not work for
you.
Under Administrative Tools:
LOCAL SECURITY SETTINGS
LOCAL POLICIES
SECURITY OPTIONS
Network Access: Sharing and security model for local
accounts.

Value was "Guest Only ... " That seemed screwy to me, so I changed the
value to "Classic - local users authenticate as themselves"

BINGO !!!
 
M

M. B.

Hi,

Thanks for the reply, but mine is already set to "Classic" and its still not
working.
 
B

Bruce Sanderson

The "/persistent" means automatically recreate the mapping to LPT one at
each logon, so the mapping probably already exists before you issue the "net
use..." command.

Use the command "net use" without any parameters. This will give you a list
of exsiting mappings.

To remove an existing mapping, use the /d option; e.g.:

net use lpt1 /d

The actual error you are getting seems a bit strange, I would have expected
something different, like "device already in use".
 

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